a. Design using the VHDL system to model a MOORE finite state machine that acts as a "1011" sequence detector. Your desi
Posted: Tue Jun 07, 2022 10:34 am
a. Design using the VHDL system to model a MOORE finite state machine that acts as a "1011" sequence detector. Your design should detect overlapping sequences. Assume the input is named A, the output is named Z and that an active low reset signal (reset_n) asynchronously resets the machine. Implement positive edge triggered flip-flops. i. Draw the MOORE model state diagram for the FSM (5 Marks) ii. Write the complete VHDL construct to implement the FSM (10 Marks) b. Write a VHDL description for a 4-bit shift register. The shift register is to be negative edge triggered. Sin is a serial input to the most significant bit of the shift register. Sout is a serial output from the least significant bit of the shift register. En_n is an active low enable. sreg is the 4-bit register. Write only the VHDL ENTITY and ARCHITECTURE construct. (10 Marks)