summaryrefslogtreecommitdiff
path: root/tests/asicworld/code_hdl_models_t_gate_switch.v
blob: 5a7e0eaffdd1a88a4c6d1d3dfa97e2e92c7f3b52 (plain)
1
2
3
4
5
6
7
8
9
10
11
module t_gate_switch (L,R,nC,C);
 inout L;
 inout R;
 input nC;
 input C;

 //Syntax: keyword unique_name (drain. source, gate);
 pmos p1 (L,R,nC);
 nmos p2 (L,R,C);

endmodule