Ask your own question, for FREE!
Computer Science 12 Online
OpenStudy (anonymous):

Three computer organization problems have me stumped. Pics inside.

OpenStudy (anonymous):

OpenStudy (anonymous):

I'm honestly lost on these three. I feel like number 1 should be easy, but for some reason I can't get it. The other two, I'm like a deer in the headlights.

OpenStudy (anonymous):

@ganeshie8 , could you help me? I saw you helped on a previous issue of mine. I hate to be beggy/pokey to call you out like this, but I really could use the help.

ganeshie8 (ganeshie8):

for p1, are you allowed to use "exclusive or" \(\oplus \) ?

OpenStudy (anonymous):

Yes.

OpenStudy (anonymous):

Would it be x1 XOR (x2 XOR x3)?

OpenStudy (anonymous):

Wait. What about (x XOR y) XOR z?

ganeshie8 (ganeshie8):

\[\overline{x_1}~\overline{x_2}~\overline{x_3} + x_1x_2\overline{x_3}+\overline{x_1}x_2x_3+x_1\overline{x_2}x_3\]

ganeshie8 (ganeshie8):

apply distributive law for first two terms and last two terms

ganeshie8 (ganeshie8):

\[\overline{x_3}(\overline{x_1}~\overline{x_2}+x_1x_2)+x_3(\overline{x_1}x_2+x_1\overline{x_2})\]

ganeshie8 (ganeshie8):

\[\overline{x_3}(\overline{x_1\oplus x_2})+x_3(x_1\oplus x_2)\]

ganeshie8 (ganeshie8):

\[\overline{x_3\oplus(x_1\oplus x_2)}\]

ganeshie8 (ganeshie8):

see if that looks okay ^

OpenStudy (anonymous):

That looks great. I had the first part, but forgot to do distributive to the second part. Derp.

OpenStudy (anonymous):

Kinda changes the whole answer then. XD

ganeshie8 (ganeshie8):

no wait, isnt exclusive or commutative ?

ganeshie8 (ganeshie8):

i mean associative

OpenStudy (anonymous):

Wait, yeah it is. I just quickly went through it, and I think I got (x1 XOR x2) XOR x3

ganeshie8 (ganeshie8):

\[\overline{x_3\oplus(x_1\oplus x_2)} = \overline{x_1\oplus(x_2\oplus x_3)} \]

ganeshie8 (ganeshie8):

you should get xnor

ganeshie8 (ganeshie8):

right ?

OpenStudy (anonymous):

Oh, yeah, I just put the nor thing out front, like a - thing. Forgot that.

ganeshie8 (ganeshie8):

you can also change the parenthesis : \[\overline{x_3\oplus(x_1\oplus x_2)} = \overline{x_1\oplus(x_2\oplus x_3)} = \overline{(x_1\oplus x_2)\oplus x_3} \]

ganeshie8 (ganeshie8):

all above expressions will produce same truth tables

ganeshie8 (ganeshie8):

because xor is both associative and commutative

OpenStudy (anonymous):

Yeah, that looks right. Ok, so that one was just me making a dumb mistake. The Flip flops and number 7 on the other hand had me completely stumped. Flip flops have always been an issue to me. Just couldn't wrap my head around them for some reason.

ganeshie8 (ganeshie8):

do you have transition table for JK flipflop ?

ganeshie8 (ganeshie8):

looks they want you draw the output waveforms for 3 different implementations of JK ff

ganeshie8 (ganeshie8):

1) using D latch 2) using +ve edge D FF 3) using -ve edge D FF

OpenStudy (anonymous):

I do not have a transition table. What I have in the picture is all we were given.

OpenStudy (anonymous):

Let me look again.

ganeshie8 (ganeshie8):

im not talking about question, im asking if u have it in ur textbook

ganeshie8 (ganeshie8):

otherwise ill google it

OpenStudy (anonymous):

I have this: http://i.imgur.com/J17QvaR.png And this: http://i.imgur.com/DPHbk9E.png

OpenStudy (anonymous):

Sorry if it says I'm not looking at the question, I really am, but OpenStudy is being buggy for me right now.

ganeshie8 (ganeshie8):

thats using positive edge triggered ff

ganeshie8 (ganeshie8):

lets draw its waveform

ganeshie8 (ganeshie8):

we look at the values of J and K when the positive edge of CLOCK ticks

OpenStudy (anonymous):

Which is 1 at the start.

ganeshie8 (ganeshie8):

Keepin mind, the JK ff sucks in the inputs only at positive edge of CLOCK

OpenStudy (anonymous):

So what do they do on the falling edge? Just ignore it?

ganeshie8 (ganeshie8):

yes ignore it on all other times

ganeshie8 (ganeshie8):

only the positive edge that matters

ganeshie8 (ganeshie8):

lets draw it

ganeshie8 (ganeshie8):

|dw:1415014061201:dw|

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!