2021年4月22日 星期四

HBLbits_Verilog Basic_7420

HBLbits_Verilog Basic_7420 

Create a module with the same functionality as the 7420 chip. It has 8 inputs and 2 outputs.

7420.png



module top_module ( 
    input p1a, p1b, p1c, p1d,
    output p1y,
    input p2a, p2b, p2c, p2d,
    output p2y );

    assign p1y= ~(p1a & p1b & p1c & p1d);
    assign p2y= ~(p2a & p2b & p2c & p2d);   
endmodule

沒有留言:

張貼留言

WOKWI LED + MQTT Node-Red SQLite

WOKWI LED + MQTT Node-Red SQLite const char *mqtt_broker = "broker.mqtt-dashboard.com" ; const char *topic1 = "alex9ufo/e...