2021年4月19日 星期一

HBLbits_Verilog Basic_Module_name

 HBLbits_Verilog Basic_Module_name



Port in mod_aPort in top_module
output out1out1
output out2out2
input in1a
input in2b
input in3c
input in4d

You are given the following module:

module mod_a ( output out1, output out2, input in1, input in2, input in3, input in4);


module top_module ( 
    input a, 
    input b, 
    input c,
    input d,
    output out1,
    output out2
);
 mod_a inst1( 
        .in1(a),  
        .in2(b),
        .in3(c),
        .in4(d),
        .out1(out1),
        .out2(out2)
);
endmodule  

沒有留言:

張貼留言

2026 作業2 RFID+Node-Red+Python+SQLite 練習 (修正版 利用wokwi 內部元件)

2026 作業2  RFID+Node-Red+Python+SQLite 練習 (修正版  利用wokwi 內部元件) 使用 wokwi 上 的 元件    (原先尚未有) 硬體線路   不需要 自行建立元件   rfid-rc522.chip.json   rfid-rc52...