Bugs nand3

From HDLBits


This three-input NAND gate doesn't work. Fix the bug(s).

You must use the provided 5-input AND gate:

module andgate ( output out, input a, input b, input c, input d, input e );

Module Declaration

module top_module (input a, input b, input c, output out);

    andgate inst1 ( a, b, c, out );

Write your solution here

Upload a source file...