Nike
Newbie level 4
I have a register made of 5 D flip-flops and 4 full Adders on top of it. What this register does is it has to start from zero and send the value stored in the flip flops up to the adder and once the value is added to another value coming from another circuit the result is being fed back to the register as well as being sent to be displayed. (It works like a counter that counts from zero to 31 with optional incerements of 4,2,1 and does not count if no option is selected). I'm using xilinx micro-controller and I need to draw the circuit using logic gates and flip-flops only (I can't use pre-designed tools or code)
First of all is that design correct for that purpose?
Second of all how do I reset the flip-flops at the begining when I start counting (so that the register will have the value 0 0 0 0 0 at the start of the count) ?
First of all is that design correct for that purpose?
Second of all how do I reset the flip-flops at the begining when I start counting (so that the register will have the value 0 0 0 0 0 at the start of the count) ?