2021年5月10日 星期一

HBLbits_Verilog Basic_Sim/circuit8

 HBLbits_Verilog Basic_Sim/circuit8

This is a sequential circuit. Read the simulation waveforms to determine what the circuit does, then implement it.

module top_module (
    input a,
    output p,
    output q );
  always@(*)begin
        if(clock)begin
        p = a;
        end
    end
    
    always@(negedge clock)begin
        q <= p;
    end
endmodule

    input clock,


沒有留言:

張貼留言

2026 作業3 RFID+ Telegram 練習

 2026 作業3  RFID+ Telegram  練習 (Wokwi 與 Telegram 二者溝通訊息反映比較慢 ) 歡迎 Alex 使用 RFID 控制系統 /on : 開啟 LED /off : 關閉 LED /flash : 閃爍模式 /timer : 開啟 5 秒 ...