Monday, 27 May 2013

Sequential logic counters

Sequential logic counters

I have an assignment to create a counter that counts in the following way depending on input y
if y = 0 -> 0, 6, 3, 2, 1, 0...
if y = 1 -> 0, 5, 4, 7, 2, 1, 0...
Also it has another input x if x = 0 it counts up (for example 0,6,3,2,1,0) and if x = 1 it counts down (0,1,2,3,6,0).
I know that i can solve this by creating a big table with following columns
x|y|Q1|Q2|Q3 | Q1+|Q2+|Q3+
But is there any simpler (and more elegant ) solution?
I can only use JK flip-flops. This is sequential logic so i don't have to worry about voltage or things like that... Also if it means something we use HADES for this

No comments:

Post a Comment