Hi everyone, I am facing an error using simulating...
# xschem
d
Hi everyone, I am facing an error using simulating in xschem where ngspice is saying: uknown subckt. I think it may not be recognizing the fd_sc_hd cells. Does anyone know what the problem may be?
s
@Daniel Herrera you need add this line in your testbench:
.include /usr/local/share/pdk/sky130A/libs.ref/sky130_fd_sc_hd/spice/sky130_fd_sc_hd.spice
d
Thank you! That solved the issue.
r
To make this a bit more portable I typically use a code block with the following commands as value:
Copy code
"tcleval(
* Standard cell simulation files
.include $::SKYWATER_STDCELLS/sky130_fd_sc_hd.spice
)"
This will automatically figure out the location of your PDK files assuming you've loaded the standard xschemrc for sky130