State Machine Create a 2-input sequence detector as a verilog module. Design the
ID: 2248916 • Letter: S
Question
State Machine
Create a 2-input sequence detector as a verilog module. Design the machine to use a push button 2 to work as the clock, push button 3 to work as a reset and the dip switches 1 and 0 to work as inputs which are captured at each push of button 2 Detect a (1,0) (1,0) (1,1) sequence or a (1,1) (1,1) (1,1) sequence. Bear in mind that the button used as the clock is really a synchronizing event and not an actual clock as used with a posedge in Verilog. Create a one cycle pulse from each rising edge and use this as a data enable to advance the state machine