Hello Everyone/<@U016ULGAUNM>, <@U016EM8L91B>, how...
# openlane
d
Hello Everyone/@Tim 'mithro' Ansell, @Tim Edwards, how can we simulate spice files obtained after going through openlane flow for the digital design. i was trying to make a digital decoder through openlane . For simulating the spice file obtained, I added all the lib files(sky130_fd_sc_hd) but it is taking much time(~30 min.) to simulate. The spice file also contains filler cells, is that creating any issues? Is there any other way to simulate spice genereated from digital design??
t
Digital circuits are a worst-case scenario for SPICE simulation, which is why so many tools have been written to simulate digital circuits. What is the reason for simulating your digital circuit in SPICE? The answer to that question determines what is the proper simulation tool to use.
d
I need to integrate my digital design with some analog block.
I am simulating my designs on ngspice(analog+digital
t
For mixed-signal systems, you can assume that the digital part works as intended and doesn't need to be simulated on the device level. So what you want to do is get my script
spi2xspice.py
from the
qflow
application (https://github.com/RTimothyEdwards/qflow). You can use that script to convert any digital subcircuit into its xspice equivalent, which will simulate many orders of magnitude faster than the same circuit simulated on the transistor level.
d
Okay, Thanks @Tim Edwards So I have to convert my spice file using spi2xspice.py to xspice equivalent. Can xspice netlist be simulated using ngspice or i need to install xspice ?