Ask your own question, for FREE!
Computer Science 16 Online
OpenStudy (christos):

Problem: http://screencast.com/t/ukTWbOdD6x Solution: http://screencast.com/t/ORTe02rC3A1 My Question: Why Q1 and Q2 doesn't move at all?

OpenStudy (christos):

@ganeshie8

ganeshie8 (ganeshie8):

which clock cycle you talking about

ganeshie8 (ganeshie8):

here reset is active LOW - if reset is active when the clock active edge ticks, the flop output becomes 0.

OpenStudy (christos):

Can you tell me where is the reset?

OpenStudy (anonymous):

well , it's a counter and it starts with 1000 Q3 Q2 Q1 Q0 1 0 0 0 next , it will be 1 0 0 1 then , clear signal was applied 0 0 0 0 next, we count over again 0 0 0 1

OpenStudy (christos):

But why this: http://screencast.com/t/jbajrrmG

OpenStudy (christos):

No change at all

OpenStudy (anonymous):

look at my work above, did Q1 and Q2 change at all?

OpenStudy (christos):

Is that really the only logic behind this?

OpenStudy (anonymous):

?

OpenStudy (christos):

I cant believe it was so simple, I guess that's the logic

ganeshie8 (ganeshie8):

there ?

ganeshie8 (ganeshie8):

// Can you tell me where is the reset? CLR' is the active low reset

OpenStudy (christos):

I really cant spot it gane :(

ganeshie8 (ganeshie8):

|dw:1366777436982:dw|

OpenStudy (christos):

Thats the clock, what does it have to do with reset?

ganeshie8 (ganeshie8):

CLK is the clock. CLR' is the clear/reset signal. you need to sleep a bit i guess u working too much last few days

OpenStudy (christos):

Yes CLK is the clock, but what does the clock have to do with the reset? I really couldn't sleep today bro, thanks for your care !

ganeshie8 (ganeshie8):

whats your question exactly

OpenStudy (christos):

My main question is this http://screencast.com/t/0i1Li8rB why does it stay untouched?

ganeshie8 (ganeshie8):

you took that snap from the middle section of state table. look at the solution snap to see the fuller context. try to follow my explanation. il walk u step by step

OpenStudy (christos):

ok your explanation was because it is reset, that's why I asked you about the reset because I can't understand it I thing

ganeshie8 (ganeshie8):

im going to explain it step by step. have patience :)

OpenStudy (christos):

ooh ok ;p

ganeshie8 (ganeshie8):

attached solution snap, do you understand how Q0, Q1, Q2, Q3 changed in first clock cycle ?

OpenStudy (christos):

its because the problem says so

ganeshie8 (ganeshie8):

problem says what ? problem only gives us the initial state of 1000, CLR and CLK signals. it doesnt tell us about how Q0, Q1, Q2, Q3 change in each cycle. we need to figure that out ok

OpenStudy (christos):

oooh sorry I misunderstood! For this I only understand Q0 the rest go ubnormally to my mind

ganeshie8 (ganeshie8):

it happens to me a lot lol... so this is the thing we are trying to work out :- to figure out the values of Q0, Q1, Q2, Q3 in each cycle.

ganeshie8 (ganeshie8):

First cycle :- 1. CLR is not active, so counter functions normally, increments its previous value 1000 to 1001

ganeshie8 (ganeshie8):

Second cycle :- 2. CLR is not active, so counter functions normally, increments its previous value 1001 to 0000 (remember its a BCD counter)

ganeshie8 (ganeshie8):

Third cycle :- 3. CLR is active, so counter resets to 0000

ganeshie8 (ganeshie8):

Fourth cycle :- 4. CLR is active, so counter resets to 0000

ganeshie8 (ganeshie8):

Fifth cycle :- 5. CLR is still active, so counter resets to 0000

ganeshie8 (ganeshie8):

Sixth cycle :- 6. CLR is not active, so counter increments its previous value 0000 to 0001

ganeshie8 (ganeshie8):

does it make sense

ganeshie8 (ganeshie8):

in short :- each cycle, the counter checks for CLR signal. if CLR is active, counter resets to 0000. if CLR is not active, counter increments its previous value.

OpenStudy (christos):

Did you do this vertically or horizontial with only one Q/line?

ganeshie8 (ganeshie8):

any sequential stuff we do vertical always, becoz time is in horizontal. we want to work out all output values at a particular instance of time.

OpenStudy (christos):

I see

ganeshie8 (ganeshie8):

you can think of each cycle of clock here, as each hour of a day..

ganeshie8 (ganeshie8):

each hour, we are trying to see what the output values are.

ganeshie8 (ganeshie8):

the counter increments its value each hour, if the CLR signal is not active. simple rule huh ?

OpenStudy (christos):

Yes I got it

ganeshie8 (ganeshie8):

good... take ur time.. takes time to settle in head... ping if u get uncertain again

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!