aquiles viza
04/16/2024, 1:42 AMrst
signal is always on.
We tried to run an xspice version with spi2xspice.py
script but that doesn't work either.Mitch Bailey
04/16/2024, 2:08 AMaquiles viza
04/16/2024, 2:10 AMTim Edwards
04/16/2024, 2:50 AMMitch Bailey
04/16/2024, 2:51 AM.lib env(PDK_ROOT)/env(PDK)/libs.tech/combined/sky130.lib.spice tt
.include env(PDK_ROOT)/env(PDK)/libs.ref/sky130_fd_sc_hd/spice/sky130_fd_sc_hd.spice
*.lib env(PDK_ROOT)/env(PDK)/libs.tech/combined/sky130.lib.spice ff
.lib env(PDK_ROOT)/env(PDK)/libs.tech/ngspice/sky130.lib.spice.ff.red ff
.include env(PDK_ROOT)/env(PDK)/libs.ref/sky130_fd_sc_hd/spice/sky130_fd_sc_hd.spice
*.lib env(PDK_ROOT)/env(PDK)/libs.tech/combined/sky130.lib.spice ss
.lib env(PDK_ROOT)/env(PDK)/libs.tech/ngspice/sky130.lib.spice.ss.red ss
.include env(PDK_ROOT)/env(PDK)/libs.ref/sky130_fd_sc_hd/spice/sky130_fd_sc_hd.spice
*.include ./ONES_COUNTER_xspice.spice
.include ./ONES_COUNTER_clean.spice
The standard cells are included 3 times before the extracted spice is read. I doubt that the pin order of the standard cells in the extracted spice is the same as the pin order in the standard cell library. I don’t know which one has preference - the first one read or the last.
First suggestion is to try removing the PDK libs.ref spice libraries.
If that doesn’t work, you might try readspice $env(PDK_ROOT)/$env(PDK)/libs.ref/sky130_fd_sc_hd/spice/sky130_fd_sc_hd.spice
in magic before extracting so that the pin orders are extracted the same.Tim Edwards
04/16/2024, 2:57 AMTim Edwards
04/16/2024, 2:58 AMaquiles viza
04/16/2024, 3:25 AM.include
of the hd devices, simulations fails for a missing device. I assume that's the problem Tim says.
If the spice is extracted indicating the HD spice, Should it work with the combined models?
I'm using the latest open_pdk commit (42cd15c....
), this bug is supposed to be fixed?aquiles viza
04/16/2024, 3:29 AMspice_ignore=1
and should not be exported to the netlistaquiles viza
04/16/2024, 3:40 AM*_clean.spice
with the readspice <sky130_fd_sc_hd.spice>
makes simulations with combined models work.
Is there a problem if I always read that file? That function can be applied multiple times?Tim Edwards
04/16/2024, 1:23 PM