|
-
January 2nd, 2006, 07:30 PM
#1
Computer Logic and Electronics
Hi. I have a few questions i dont know how they really works and it would be appreciated if some one answeres.
1. Describe the function and interation of a control unit, arithmetic unit and memroy registers in a simple central processing unit?
2. illustrate how buses move data and instructions between memory and CPU?
3. Describe the role of flip-flops in the flow of data. Explain how flip-flops can be built using the siple logic circuits? How are flip-flops used as information storage.
Thank You
-
January 3rd, 2006, 12:24 AM
#2
Re: Computer Logic and Electronics
Why don't you try your text book?
-
January 3rd, 2006, 09:18 AM
#3
Re: Computer Logic and Electronics
-
January 3rd, 2006, 07:57 PM
#4
Re: Computer Logic and Electronics
Articles VB6 : Break the 2G limit - Animation 1, 2 VB.NET : 2005/8 : Moving Images , Animation 1 , 2 , 3 , User Controls
WPF Articles : 3D Animation 1 , 2 , 3
Code snips: VB6 Hex Edit, IP Chat, Copy Prot., Crop, Zoom : .NET IP Chat (V4), Adv. ContextMenus, click Hotspot, Scroll Controls
Find me in ASP.NET., VB6., VB.NET , Writing Articles, My Genealogy, Forum
All VS.NET: posts refer to VS.NET 2008 (Pro) unless otherwise stated.
-
January 3rd, 2006, 08:07 PM
#5
Re: Computer Logic and Electronics
 Originally Posted by gstercken
I'd rep you but we're in chit-chat
Microsoft LVP - Least Valuable Professional
Please rate this post... Pleeeeeeaaassee!!! 
-
January 3rd, 2006, 08:26 PM
#6
Re: Computer Logic and Electronics
Couldn't believe we have an FAQ on that 
I'll bookmark it too
-
January 3rd, 2006, 09:26 PM
#7
Re: Computer Logic and Electronics
1. Describe the function and interation of a control unit, arithmetic unit and memroy registers in a simple central processing unit?
the main registers are :
- Data Register(DR) : at fetch-time it has op-code and in execution time it has the addressof operand
- Address Register(AR) : at fetch-time it keeps the address of op-code and in execution time it has the address of operand
- Instruction register(IR) : it has just the op-code
- Program Counter (PC) : the address of next instruction
- Accumulator(AC) : a place for saving the results or other necessary computations
the order of execution of an instuction (ADD instruction)
- CPU activaeted? yes :goto 2
- AR <-- PC
- DR <-- M(AR)
- IR <-- (op-code)DR , PC <-- PC+1 , DECODE instruction
- switch ADD Goto 6 , switch LOAD Goto ... , switch ... Goto ...
- AR <-- DR(Address)
- DR <-- M(AR)
- AC <-- AC+DR
1 -- 4 : fetch Cycle which is common for different instructions
5 -- 8 : execution Cycle
every proccessors have a number of function which Control Unit should execute them in the above order
for example
Code:
C3 ------- IR <-- (op-code)DR
C6 ------ PC <-- PC+1
in fourth clock cycle,control unit would open the gates related to C3 and C6
2. illustrate how buses move data and instructions between memory and CPU?
there are buffers there,Memory Buffer Register(MBR) & Memory Address Register(MAR),you give decoders MAR as input addresses and get the content of memory in MBRs
3. Describe the role of flip-flops in the flow of data. Explain how flip-flops can be built using the siple logic circuits? How are flip-flops used as information storage.
Latch are made form two NAND or NOR gates

by adding clock to latch you have flipflop,which are several kinds(SR,TR,JK,D-FF,...)
for avoiding Race problem you can use two FFs for synchronizing them with clock cycles (master-slave FFs)
Last edited by mehdi62b; January 3rd, 2006 at 09:54 PM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|