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  

沒有留言:

張貼留言

WOKWI ESP32-IDF DHT22 + MQTT 

 WOKWI ESP32-IDF DHT22 + MQTT WOKWI ESP32-IDF 程式 #include < stdio.h > #include < string.h > #include " freertos/FreeRTOS...