Page 1 of 1

Part 3:FSM (programing by shift registers) (2 point) For this part you have to implement the sequence-detector FSM by us

Posted: Mon May 09, 2022 1:43 pm
by answerhappygod
Part 3 Fsm Programing By Shift Registers 2 Point For This Part You Have To Implement The Sequence Detector Fsm By Us 1
Part 3 Fsm Programing By Shift Registers 2 Point For This Part You Have To Implement The Sequence Detector Fsm By Us 1 (176.13 KiB) Viewed 21 times
please write verilog code
Part 3:FSM (programing by shift registers) (2 point) For this part you have to implement the sequence-detector FSM by using shift registers, instead of using the more formal approach described above. Create Verilog code that instantiates two 4-bit shift registers; one is for recognizing a sequence of four Os, and the other for four 1s. Include the appropriate logic expressions in your design to produce the output (z). Make a Quartus II project for your design and implement the circuit on the development board. Use the switches and LEDs on the board in a similar way as you did for Parts I and II and observe the behavior of your shift registers and the output (z). Answer the following question: could you use just one 4-bit shift register, rather than two? Explain your answer. The list of the required inputs and outputs are showed in Table 6. EL Table 6. The list of the required inputs and outputs of the part 3. Output Input LEDRO Output (z) SW Active-low reset LEDR7-0 Flip-flop state (two shift register buffer) SW Input (w) KEY Clock