d2jsp
Log InRegister
d2jsp Forums > Off-Topic > General Chat > Science, Technology & Nature > How To Build A Counter Using The Following? > Gates, Clock
Add Reply New Topic New Poll
Member
Posts: 3,512
Joined: Aug 3 2008
Gold: 0.00
Sep 27 2012 04:02pm
Hey!

I want to build a counter with 3outputs using these gates + wires
AND, NOT, OR, XOR, FLIP-FLOP & Timers ive also got taps (tap = 1input 2 outputs)

Basicly what i want to do is have it count down (binary so 1, 2, 4, 8, 16)
Ive been having trubbles with this for ages, not even gotten near a solution.

So i want to give it a value of 8 then it ticks the first output 8times (when it reaches 0 it should stop.

Further explantion can be given but im so tired so i can hardly think atm :(
Member
Posts: 16,144
Joined: Mar 27 2008
Gold: 14,618.00
Sep 28 2012 12:33pm
1) you'll need 3 flip flops to save 8 states
2) I would use the same clock for all flip-flops. if you build your counter with stuff like "using the output of a flip-flop for the clock at another flip-flop", it gets complicated and you can also run into timing problems ;)
3) thus build a truth table... should be easy for your counter
4) build the KV-diagram to reduce the amount of gates: http://en.wikipedia.org/wiki/Karnaugh_map (if you want to reduce the amount...)
5) if you want you can also avoid the "and", "not", "or" gates... its possible to build the complete logic with just "xor"-gates (you need flipflops and the timer and the taps ofc... however you can also build those with the "xor" gates ;) )
Member
Posts: 3,512
Joined: Aug 3 2008
Gold: 0.00
Oct 3 2012 09:11am
Quote (Richter @ 28 Sep 2012 20:33)
1) you'll need 3 flip flops to save 8 states
2) I would use the same clock for all flip-flops. if you build your counter with stuff like "using the output of a flip-flop for the clock at another flip-flop", it gets complicated and you can also run into timing problems ;)
3) thus build a truth table... should be easy for your counter
4) build the KV-diagram to reduce the amount of gates: http://en.wikipedia.org/wiki/Karnaugh_map (if you want to reduce the amount...)
5) if you want you can also avoid the "and", "not", "or" gates... its possible to build the complete logic with just "xor"-gates (you need flipflops and the timer and the taps ofc... however you can also build those with the "xor" gates ;) )


Thanks!
Will try it l8 =)
I might post results if i remember to do so ^^

But thanks!
Go Back To Science, Technology & Nature Topic List
Add Reply New Topic New Poll