1
0
mirror of https://github.com/aolofsson/oh.git synced 2025-01-30 02:32:53 +08:00
oh/stdcells/hdl/oh_nand2.v
2021-05-24 19:05:20 -04:00

17 lines
577 B
Verilog

//#############################################################################
//# Function: 2 Input Nand Gate #
//# Copyright: OH Project Authors. ALl rights Reserved. #
//# License: MIT (see LICENSE file in OH repository) #
//#############################################################################
module oh_nand2 #(parameter DW = 1 ) // array width
(
input [DW-1:0] a,
input [DW-1:0] b,
output [DW-1:0] z
);
assign z = ~(a & b);
endmodule