Beruflich Dokumente
Kultur Dokumente
CMOS inverter
b) Save your design as cmosnot.asc
b) A pop-up window will appear showing the netlist of the circuit. You can then close this
window. [You need to perform this step so that the software can auto-generate the netlist file
cmosnot.net]
c) Using LTspice, open the netlist file cmosnot.net
subcircuit name
.ends cmosnot
the order of the nodes will be used for the pin netlist order on the
symbol
You may need to change the directory based on the PC you are currently running the LTSpice.
2
c) Place the pins. Select Edit > Add Pin/Port. A Pin/Port Property Dialog will appear. Follow
the same order as in the netlist. Node 1 for input (you can label as A), node 2 for output (you
can label as Y), node 3 for vdd and node 4 for gnd.
d) Open the Symbol Attribute Editor to enter some information by selecting Edit > Attributes >
Edit Attributes. Then,
- Select Cell in the Symbol Type drop-down box,
- Select Prefix, type X (X implies the cell is a subcircuit),
- In the Value field, type the name of the subcircuit, that is cmosnot,
c) Add voltage supplies to power up the circuit and to supply signals to the circuit. Set your
supplies properly (based on the type of analysis that you want to carry out.)
d) Label all appropriate nodes.
e) Add cmosnot library to the testbench circuit by selecting Edit > Spice Directive. An Edit Text
window will appear. Type .lib L:\LTSPICE IV\cmosnot.lib. The path points to the library
(netlist) file that you have created in Step 2.
You may need to change the directory based on the
PC you are currently running the LTSpice.