diff options
Diffstat (limited to 'tests/asicworld/code_hdl_models_t_gate_switch.v')
-rw-r--r-- | tests/asicworld/code_hdl_models_t_gate_switch.v | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/asicworld/code_hdl_models_t_gate_switch.v b/tests/asicworld/code_hdl_models_t_gate_switch.v new file mode 100644 index 00000000..1bff66af --- /dev/null +++ b/tests/asicworld/code_hdl_models_t_gate_switch.v @@ -0,0 +1,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
|