Digital Logic Help: Understanding Q1+ and Q0+ from a Truth Table

In summary, the conversation discusses the use of a truth table to determine the next state of a system based on its current state and inputs. It also mentions the use of D-Type latches and a Read Only Memory (ROM) to implement the truth table. The possibility of using logic gates instead of a ROM is also mentioned, along with the need for a reset pin in the circuit.
  • #1
Jon Rigby
1
0
I cannot figure out where the values from Q1+ and Q0+ are coming from. What truth table are these coming from?? I would greatly appreciate any help. Thank you.
 

Attachments

  • 20160504_092327.jpg
    20160504_092327.jpg
    25.7 KB · Views: 547
Engineering news on Phys.org
  • #2
With reference to the truth table you posted...

The left hand side of the truth table lists the "current state" and any inputs (eg X).
The right hand side of the truth table lists the "next state" and any outputs (eg Z).

The "+" sign basically means "after the next clock". So the column headed Q1+ is telling you what Q1 will become after the next clock.

So for example if we look at the second line of the truth table it is telling us that..

If the current state is Q1=0, Q0=0 and X=1 then the next state after the clock will be Q1=0, Q0=1 and Z=0

State.jpg
 
  • #3
PS Here is one way to build the state machine in your problem..
State Machine.png


Two D-Type latches are used to hold the state bits. A very small Read Only Memory (ROM) is used to implement the truth table. Q0, Q1 and X are used as address bits to the ROM. The ROM data outputs D0, D1, D2 are used to generate the "next state" Q0+ and Q1+ and the output Z.

State 1.jpg


You don't have to use a ROM to implement this. You could work out how to generate (for example) Q0+ from Q1,Q0 an X using logic gates instead.

One thing missing from my circuit is a reset pin. Typically this would reset both latches to 00 (or some other known state) when power is first applied.
 

Related to Digital Logic Help: Understanding Q1+ and Q0+ from a Truth Table

1. What is digital logic?

Digital logic is a branch of computer science and engineering that deals with the representation and manipulation of digital signals. This involves the design and analysis of digital circuits, which are made up of logic gates and other components to perform specific functions.

2. Why is digital logic important?

Digital logic is essential in the design and development of modern computer systems. It allows for the efficient processing and storage of digital information, which is the basis of all modern technology. Without digital logic, computers and other digital devices would not be able to function.

3. What are the basic components of digital logic?

The basic components of digital logic are logic gates, which include AND, OR, NOT, and XOR gates. These gates are combined to form more complex logic circuits, such as adders, multiplexers, and flip-flops. Other components include decoders, encoders, and registers.

4. How can I learn more about digital logic?

There are many resources available for learning digital logic, including textbooks, online courses, and tutorials. You can also practice by designing and simulating digital circuits using software tools such as Verilog or VHDL.

5. What are some common applications of digital logic?

Digital logic is used in a wide range of applications, including computers, smartphones, communication systems, and control systems. It is also essential in fields such as robotics, artificial intelligence, and data processing.

Similar threads

Replies
1
Views
789
Replies
80
Views
3K
Replies
15
Views
2K
  • Special and General Relativity
Replies
2
Views
1K
  • Quantum Physics
Replies
6
Views
2K
  • Materials and Chemical Engineering
Replies
23
Views
2K
Replies
2
Views
989
Replies
2
Views
2K
  • Electrical Engineering
Replies
1
Views
2K
  • Calculus and Beyond Homework Help
Replies
1
Views
461
Back
Top