I am trying to do my post layout simulation of my ...
# analog-design
p
I am trying to do my post layout simulation of my opamp, i have included the magic spice file path in code_shown.sym, and changed the opamp symbol from subcircuit to primative, when i try to simulate it is throwing up the following error.
m
@Pathan Rehman Ahmed khan-student You’re trying to simulate from the
opamp_tb.sch
correct? It includes an
opamp
symbol. The spice file you include is
opamp_flatten.spice
. It does not have an
opamp
circuit. It contains the
opamp_flatten
circuit. This is why you get the error. The
opamp
circuit is not defined.
p
got it sir, thankyou.. I figured out and i got the results.. but, i have another question.. I want to simulate the standard skywater 130 cells in xschem ngspice, but when i try to simulate it.. says unknown subckt.. is there any way to simulate sky's standard cells?
m
.include <path-to-pdk>/libs.ref/sky130_fd_sc_hd/spice/sky130_fs_sc_hd.spice