Q2:One-hot FSM equations

题目网站

module top_module (
    input [5:0] y,
    input w,
    output Y1,
    output Y3
);

    assign Y1 = y[0] & w;
    assign Y3 = (y[1] | y[2] | y[4] | y[5]) & ~w;
    
endmodule
posted @ 2024-04-16 03:15  江左子固  阅读(11)  评论(0编辑  收藏  举报