Designing 3-Stage Async Counter & Logic Circuit in PSpice

In summary, the conversation discusses designing a counter and a logic circuit using type D flip-flops to count randomly occurring input pulses and produce desired output states. The counter has 8 distinct states and the logic circuit will use 3 inputs to produce 4 outputs. The design process involves simulating the circuit in PSpice and constructing boolean equations to simplify the logic.
  • #1
Jerremy_S
8
0

Homework Statement


The block diagram of FIGURE 3 shows a three-stage asynchrononous counter that is used to count a series of randomly occurring input pulses. The ‘Q’ outputs of the counter are used to drive a logic circuit that gives the output shown in TABLE 1.

(a) Design the counter using type D flip-flops and simulate your design in PSpice, producing waveforms to confirm the circuit’s operation.

(b) Design the logic circuit to realize the desired ABCD outputs and simulate your design in PSpice, again producing waveform to demonstrate the circuit’s operation.

upload_2017-5-15_22-26-14.png


Homework Equations



The Attempt at a Solution



Hi, could you please help.

I managed to run simulation regarding a), but looking closer at Table 1 looks like the counter could be reset at Input Pulse 8 as the state of outputs start repeating itself. Would this be correct?

Thanks
 
Physics news on Phys.org
  • #2
You are correct in your observation. But the counter is not "resetting itself". It is simply going to the next state following state 7 (state 0).
 
  • #3
Does it mean that using 10 different output states (0 to 9) as an input to the logic circuit would be a good approach?
 
  • #4
With 3 D-flops, represented by their outputs Q1, Q2, and Q3 you can have only 8 distinct states.
 
  • #5
Thanks! Just realized that! 2^3=8 states (0 to 7). Not sure how to decode 3 inputs into 4 outputs designing a logic circuit. Any hints?
 
  • #6
Start by drawing a truth table for your Logic box. From there, you will construct 4 boolean equations, one for output D, one for C, and so on. Those equations can be simplified (if you want to minimize the number of logic gates needed to build) using boolean math or Karnaugh maps. I hope you have already been introduced to this. If not, you might have some self-study to do.
 

1. What is a 3-stage asynchronous counter?

A 3-stage asynchronous counter is a digital circuit that can count from 0 to 7 using three flip-flops connected in a specific way. It is called asynchronous because the flip-flops do not have a common clock signal and can change their state independently of each other.

2. How do I design a 3-stage asynchronous counter in PSpice?

To design a 3-stage asynchronous counter in PSpice, you will need to use basic logic gates such as AND, OR, and NOT gates, as well as flip-flops. You will also need to set up a proper clock signal for the flip-flops to count. A detailed step-by-step tutorial can be found in the PSpice user manual.

3. What is the purpose of a logic circuit in a 3-stage asynchronous counter?

The logic circuit in a 3-stage asynchronous counter is responsible for controlling the sequence of states in the flip-flops. It determines which flip-flop changes its state and when, allowing the counter to count in a specific pattern.

4. How can I test and simulate my 3-stage asynchronous counter in PSpice?

To test and simulate your 3-stage asynchronous counter in PSpice, you can use the built-in simulation tools. These tools allow you to input different clock signals and observe the output of the counter. You can also use logic analyzer tools to analyze the timing and behavior of the counter.

5. Are there any common mistakes to avoid when designing a 3-stage asynchronous counter in PSpice?

One common mistake to avoid when designing a 3-stage asynchronous counter in PSpice is not properly setting up the clock signal. This can lead to unpredictable behavior or incorrect counting. It is also important to double-check the wiring and connections of the flip-flops and logic gates to ensure they are correct. Additionally, using the wrong type of flip-flops or incorrect logic gates can also cause errors in the counter's functionality.

Similar threads

  • Engineering and Comp Sci Homework Help
Replies
29
Views
4K
  • Engineering and Comp Sci Homework Help
Replies
6
Views
971
  • Engineering and Comp Sci Homework Help
Replies
1
Views
2K
  • Engineering and Comp Sci Homework Help
Replies
1
Views
4K
  • Engineering and Comp Sci Homework Help
Replies
5
Views
1K
  • Engineering and Comp Sci Homework Help
Replies
10
Views
1K
  • Engineering and Comp Sci Homework Help
Replies
7
Views
6K
  • Engineering and Comp Sci Homework Help
Replies
5
Views
3K
  • Engineering and Comp Sci Homework Help
Replies
30
Views
6K
  • Engineering and Comp Sci Homework Help
Replies
1
Views
1K
Back
Top