mirror of
https://github.com/aolofsson/oh.git
synced 2025-01-30 02:32:53 +08:00
289024fd89
- Creating an arbitrary 'src' directory really doesn't help much... - Goal is to make each folder self contained - Make meta repos and individual repos have the same directory structure
29 lines
440 B
Systemverilog
29 lines
440 B
Systemverilog
|
|
module oh_pmos #(parameter MODEL = "pmos",
|
|
parameter W = "0",
|
|
parameter L = "0",
|
|
parameter M = "0",
|
|
parameter NF = "0"
|
|
)
|
|
(
|
|
input bulk,
|
|
input g,
|
|
input s,
|
|
inout d
|
|
);
|
|
|
|
//out,in,ctrlr
|
|
pmos p (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
|
|
|