Hi, I am doing post layout simulations of a simple...
# ieee-sscs-dc-22
m
Hi, I am doing post layout simulations of a simple inverter but the post layout output results is just a 1.8 v straight line. steps i have followed are: 1. created spice file from layout 2. inserted the path of layout spice file as ".include /home/mudassir/Desktop/magic_inv3_test/inverter.spice" in code_shown block 3. changed the type in symbol from subcircuit to primative. The screenshots of post and pre layout results are attached along with both the spice files. Am I doing any mistake??
a
the spice pin order does not match primitive pin order
(im guessing)
s
No supply
a
post the tb netlist and schematic
m
netlist and screenshot of TB
a
inverter layout has no instance of inverter and neither the testbench netlist
only .subckt declaration
m
The inverter instance is declared here
What could be the reason that the inverter instance is not in the tb.spice??
a
do you see a single line in a picture that is not in .subckt/ends? I dont. Therefore there are declaration of subckt but no instances
m
I think @Arman Avetisyan is right. Your
Inverter_tb.spice
has
Copy code
x1 net1 vin vout GND inverter
but the screenshot of the included file has
Copy code
.subckt inverter OUT VDD VSS IN
So
OUT=net1 VDD=vin VSS=vout IN=GND
which is probably not what you want.
a
oh nvm, i missed the first line
m
Right, thank you got it