Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- module ac_detector (
- output wire o_w_out, // iesirea este activata (1) cand secventa "AC" este gasita
- input wire i_w_in, // 0 - 'a', 1 - 'c'
- input wire i_w_clk,
- input wire i_w_reset
- );
- localparam STATE_INITIAL = 2'b00;
- localparam STATE_A = 2'b01;
- localparam STATE_AC = 2'b10;
- // Implementati logica automatului
- endmodule
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement