mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-28 11:25:53 +00:00
initial import
This commit is contained in:
commit
7764d0ba1d
481 changed files with 54634 additions and 0 deletions
14
tests/asicworld/code_hdl_models_nand_switch.v
Normal file
14
tests/asicworld/code_hdl_models_nand_switch.v
Normal file
|
@ -0,0 +1,14 @@
|
|||
module nand_switch(a,b,out);
|
||||
input a,b;
|
||||
output out;
|
||||
|
||||
supply0 vss;
|
||||
supply1 vdd;
|
||||
wire net1;
|
||||
|
||||
pmos p1 (vdd,out,a);
|
||||
pmos p2 (vdd,out,b);
|
||||
nmos n1 (vss,net1,a);
|
||||
nmos n2 (net1,out,b);
|
||||
|
||||
endmodule
|
Loading…
Add table
Add a link
Reference in a new issue