1
0
mirror of https://github.com/aolofsson/oh.git synced 2025-02-07 06:44:09 +08:00
oh/stdcells/hdl/oh_nmos.sv

29 lines
445 B
Systemverilog

module oh_nmos #(parameter MODEL = "nmos",
parameter W = "0",
parameter L = "0",
parameter M = "0",
parameter NF = "0"
)
(
input bulk,
input g,
input s,
inout d
);
// Primitive Device
nmos n (d, s, g);
// Debug information
`ifdef OH_DEBUG
initial
begin
$display("inst=%m model=%s w=%0d l=%0d m=%0d nf=%0d",
MODEL,W,L,M,NF);
end
`endif
endmodule