How does the Increment function works?

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

How does the Increment function works?

HowDoICraftAgain?
This post was updated on .
[Edited by admin]

I made the register but, how does the increment work? I can't understand it. Please help, thanks
Reply | Threaded
Open this post in threaded view
|

Re: How does the Increment function works?

cadet1620
Administrator
HowDoICraftAgain? wrote
I made the register but, how does the increment work? I can't understand it. Please help, thanks
What part are you working on? What do you have for it so far?

--Mark
Reply | Threaded
Open this post in threaded view
|

Re: How does the Increment function works?

HowDoICraftAgain?
I built the ALU, and the registers but I can't understand the program counter
Reply | Threaded
Open this post in threaded view
|

Re: How does the Increment function works?

HowDoICraftAgain?
In reply to this post by cadet1620
oh brah, I did it :D
There is a cool device called incrementer, i'm done :D
Reply | Threaded
Open this post in threaded view
|

Re: How does the Increment function works?

cadet1620
Administrator
In reply to this post by HowDoICraftAgain?
The PC is like the Bit in structure, but instead of a DFF, it uses a Register for its storage element.

The difference is that instead of just a multiplexor selecting the next input value for the DFF, you need a more complex circuit that selects the next input value. The description tells you what the next input value needs to be based on the inc, load, and reset control signals.

Hint: "if" in the description is making a choice, which is what multiplexors do.

You might think that you need to do something special with the Register's load control signal, but think about this: what happens when you permanently connect a Register's load to true? The output follows the input delayed by one clock – it's working just like a DFF16 would work.

--Mark