Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

MUST HAVE THREE ALWAYS BLOCKS, thank you! 2-1. Design a sequence detector implementing a Moore state machine using three always blocks. The Moore state machine

MUST HAVE THREE ALWAYS BLOCKS, thank you!

image text in transcribed

2-1. Design a sequence detector implementing a Moore state machine using three always blocks. The Moore state machine has two inputs (ain[1:0]) and one output (yout). The output yout begins as 0 and remains a constant value unless one of the following input sequences occurs: (i) The input sequence ain[1:0] = 01, 00 causes the output to become 0 (ii) The input sequence ain[1:0] = 11,00 causes the output to become 1 (iii) The input sequence ain[1:0] = 10,00 causes the output to toggle. Develop a testbench (similar to the waveform shown below) and verify the model through a behavioral simulation. Use SW15 as the clock input, SW1- SWO as the ain[1:0] input, the BTNU button as reset input to the circuit, and LEDO as the yout output. Go through the design flow, generate the bitstream, and download it into the Basys3 or the Nexys4 DDR board. Verify the functionality. 50 ns 100 ns Value ons 150 ns 200 ns Name 1 yout clk 1 reset x(1:0) 1 0 00 11 10 00 10 00 11 0001 00 10 11 00 10

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions