I'm constructing a transition table for a synchronous sequential network. It is 2 JK flip flops. I've developed the transition expressions okay, but am not sure of the format to use for the Transition Table. The network reflects a Mealy machine. It has 2 states and 2 inputs.
I only have 1 example of a Mealy and 1 example of a Moore machine, so I don't have much reference to figure out the methodology or format. Sorry for all the dashes, it was the only way I could get the table to line up.
This is my current Transition Table, I'm not sure if this correct.
Present State---------- Next State-------- Output
(Q1Q2) -------------------(Q+1Q+2) -------------z
-------------------------------Inputs (xy) ---------Input(x)
---------------------------------------------------------------------------
00 -------------------------01 00 00 00 ----------0 1
01 -------------------------00 01 00 01 ----------0 1
10 -------------------------01 10 10 10 ----------1 0
11 -------------------------00 10 10 10 ----------0 0
One area I'm confused on is the output, there are 2 inputs, x&y. It is my understanding there should be one output column for every combination of input variables (4 in this case). The z output expression doesn't have a y in it, z = Q1Q'2 + x'Q'1. I assumed I don't need to include y in the output.
Second question, when I evaluate a Next State expression do I treat it as an OR?
As an example for x=1 y=0, Q1Q2 = 10
Q+1 = yQ1 + xQ1Q'2 + xy'Q1 + y'Q1Q'2 + xQ1Q2
Evaluates to: 01 + 111 + 111 +111 + 110
Is this like a Or statement, if any one of the terms evaluates to 1, Q+1 = 1?
Thanks
I only have 1 example of a Mealy and 1 example of a Moore machine, so I don't have much reference to figure out the methodology or format. Sorry for all the dashes, it was the only way I could get the table to line up.
This is my current Transition Table, I'm not sure if this correct.
Present State---------- Next State-------- Output
(Q1Q2) -------------------(Q+1Q+2) -------------z
-------------------------------Inputs (xy) ---------Input(x)
00 01 10 11 ----------0 1
00 -------------------------01 00 00 00 ----------0 1
01 -------------------------00 01 00 01 ----------0 1
10 -------------------------01 10 10 10 ----------1 0
11 -------------------------00 10 10 10 ----------0 0
One area I'm confused on is the output, there are 2 inputs, x&y. It is my understanding there should be one output column for every combination of input variables (4 in this case). The z output expression doesn't have a y in it, z = Q1Q'2 + x'Q'1. I assumed I don't need to include y in the output.
Second question, when I evaluate a Next State expression do I treat it as an OR?
As an example for x=1 y=0, Q1Q2 = 10
Q+1 = yQ1 + xQ1Q'2 + xy'Q1 + y'Q1Q'2 + xQ1Q2
Evaluates to: 01 + 111 + 111 +111 + 110
Is this like a Or statement, if any one of the terms evaluates to 1, Q+1 = 1?
Thanks