Question

7. Use a FSM to implement a counter with RESET function. The counter should meet the...

7. Use a FSM to implement a counter with RESET function. The counter should meet the following requirements:

(1) The counter counts 0, 2, 1, 3, 0;

(2) The RESET is asynchronous, not synchronized with the CLOCK signal. If RESET signal is low, the counter resets to 0.

Please provide the state bubble diagram, state table, K-Maps, schematic for the counter.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Provided the d flip flopp IC 74LS74 as active low reset which is asynchronous in nature which meets our requirement of rest ( active low pin ) in the design

When Reset is low the d flip flop output will be set to "0" making both flip flops output Q1 = 0 , Q0 = "0" ;

Which makes current state S0 and output C1 , C0 = 00

Thus our requirement is achieved with the help of Reset present at the flip flop inputs in the FSM implementation

Digital circuit of counter

Add a comment
Know the answer?
Add Answer to:
7. Use a FSM to implement a counter with RESET function. The counter should meet the...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • It has four output patterns: 000, 001, 0111 Tho Te two control signals e counter counts...

    It has four output patterns: 000, 001, 0111 Tho Te two control signals e counter counts when it is 1 and the counter pauses when it is 0 e counter "increases" (circulating through 000, 0011, 01, 111 and .....pping around) when it is 1 and go is 1. The counter "decreases" (circulating in a reversed pattern, ie., 1 1 11, 01 11, 0011, 0001, and wrapping around) when it is 0 and g0 is l The circuit can be constructed...

  • Finite state machine (FSM) counter design: Gray codes have a useful property in that consecutive numbers differ in only a single bit position. Table 1 lists a 3-bit modulo 8 Gray code representing the...

    Finite state machine (FSM) counter design: Gray codes have a useful property in that consecutive numbers differ in only a single bit position. Table 1 lists a 3-bit modulo 8 Gray code representing the numbers 0 to 7. Design a 3-bit modulo 8 Gray code counter FSM. a) First design and sketch a 3-bit modulo 8 Gray code counter FSM with no inputs and three outputs, the 3-bit signal Q2:0. (A modulo N counter counts from 0 to N −...

  • (15 pts) Write VERIL60 eode to implement the FSM chat in the Figure below. The code...

    (15 pts) Write VERIL60 eode to implement the FSM chat in the Figure below. The code begins as follows: Its module FSM1 (w, z, Reset, Clock) input w, Reset, Clock; output z; reg [1:0] State, NextState; 2'b10; // С ul PW" encd 2'b00, B-2,b01, C k parameter [1:0] A Resct nost state

  • Use the Quartus Prime Text Editor to implement a behavioral model of the D flip-flop described ab...

    Use the Quartus Prime Text Editor to implement a behavioral model of the D flip-flop described above in a file named d_flops.sv. Specify the D flip-flop’s module according to the interface specification given in the table below. Port Mode Data Type Size Description RST in logic 1-bit Active high asynchronous reset CLK in logic 1-bit Synchronizing clock signal EN in logic 1-bit Synchronous clock enable D in logic 1-bit Synchronous data input Q out logic 1-bit Current/present state Qbar out...

  • please answer question 4 (all parts of question4 please) will rate! 3. (30 pts) Design a 2-bit Gray code generator that ropetitively delivers the sequence 00301911-10-00when the input signal UP-...

    please answer question 4 (all parts of question4 please) will rate! 3. (30 pts) Design a 2-bit Gray code generator that ropetitively delivers the sequence 00301911-10-00when the input signal UP- 1,or in reverse order 009 10기け01 →00→ when UP-0. Your design should include an asynchronous low. active reset operation: the FSM goes to 00 state when a reset signal is applied In addition to the state output z[1). 2[0]. there is a carry/borrow output bit e which is I when...

  • Use a behavioral Verilog model to design a 3-bit fault tolerant up-down counter. For each flip-fl...

    Use a behavioral Verilog model to design a 3-bit fault tolerant up-down counter. For each flip-flop (FF) include asynchronous reset and preset signals. Refer to Example 4.3 on page 160 for an example of a single FF with both reset and preset signals as well as with an enable signal. For this project, you don't need to use FFs with enables. You don't also need not-q (nq) in this assignment. Use active-high signals for reset and present signals. The example...

  • oint each total Implement decade counter in VHDL (counter that counts from 0 to 9). The...

    oint each total Implement decade counter in VHDL (counter that counts from 0 to 9). The counter needs to have the following signals: out, enable, reset. a) max pulse reached which has value 1 only when the out is 9. b) Show its block diagram c) Implement VHDcode that connects two 0-9 counters in order to count from 0 to 99. Make sure that you use two counters developed in a). d) Show the block diagram of the implementation in...

  • P5 (20 points): The following Moore FSM state table is incomplete. The clock for this FSM...

    P5 (20 points): The following Moore FSM state table is incomplete. The clock for this FSM (FSM 1) has a period of 100 microseconds such that the button for the input X, controlled by the user, cannot be pressed for only one clock cycle. In addition, button X, when pressed, will output X=0. Current Next State Output State X=0 X=1 w A reset) o IB A B 0 D G I: Draw a state diagram for this state table. II:...

  • Design in VHDL a 4-bit up-down counter as presented below: The operation of the up-down counter...

    Design in VHDL a 4-bit up-down counter as presented below: The operation of the up-down counter is described by the following truth table: S1 S0 Action 0 0 Hold 0 1 Count up 1 0 Count down 1 1 Parallel Load Provide VHDL code and testbench XЗ Q3 X3X2X1X0 Parallel Load X2 S1SO Function Select Input Q2 RST-Asynchronous Reset Input X1 CLK- Clock Input Q1 хо Q3Q2Q1Q0 - Parallel Output Q0 CLK S1 S0 RST XЗ Q3 X3X2X1X0 Parallel Load...

  • please give the verilog code and explain in the form of comments. Part I Consider the...

    please give the verilog code and explain in the form of comments. Part I Consider the circuit in Figure 1. It is a 4-bit synchronous counter (text Section 5.9.2) that uses four T-type flip- flops (text Section 5.5). The counter increments its value on each positive edge of the clock if the Enable signal is asserted. The counter is reset to 0 by setting the Clear b signal low - it is an active-low asynchronous clear. You are to implement...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT