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 ESP32 LED Control , Node-Red MQTT SQLITE  

WOKWI ESP32 LED Control ,  Node-Red  MQTT SQLITE   const char broker[] = "test.mosquitto.org" ; //const char broker[] = "br...