nand2/01_Boolean_Logic/Nand.v
Michael Schröder 971b323822 added v2.0
2023-01-11 23:04:57 +01:00

19 lines
266 B
Verilog

/**
* Nand gate:
* out = 0 if (a == 1 and b == 1)
* 1 otherwise
*/
`default_nettype none
module Nand(
input a,
input b,
output out
);
// No need to implement this chip
// This chip is implemented using verilog primitives
nand(out,a,b);
endmodule