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

沒有留言:

張貼留言

ESP32 (ESP-IDF in VS Code) MFRC522 + MQTT + PYTHON TKinter +SQLite

 ESP32 (ESP-IDF in VS Code) MFRC522 + MQTT + PYTHON TKinter +SQLite  ESP32 VS Code 程式 ; PlatformIO Project Configuration File ; ;   Build op...