Exams/ece241 2013 q4

From HDLBits

fsm3sPrevious

Ece241 2013 q4.png

Also include an active-high synchronous reset that resets the state machine to a state equivalent to if the water level had been low for a long time (no sensors asserted, and all four outputs asserted).

Module Declaration

module top_module (
    input clk,
    input reset,
    input [3:1] s,
    output fr3,
    output fr2,
    output fr1,
    output dfr
); 

Write your solution here

Upload a source file...