<@U03SDTNCQEB>: I have a testbench written for ngs...
# xyce
s
@Joshua Smith: I have a testbench written for ngspice. How do I run that using Xyce? Also I don't find the modelfile for xyce like it is shipped for ngspice via pdk installer. But I do find separate files for ngspice and xyce in gf180mcu pdk versions (design.ngspice and design.xyce etc). I think the model files for ngspice and xyce are not exactly same cuz I find a few variable name changes etc. Any idea from where I could pick that up to include it in my test bench.
Maybe the later question would be more relevant to open_pdks installer. @Tim Edwards Not sure if you can answer the model file question.
@mehdi FYI
@Eric Keiter can you help with this problem please?
j
Hmm... yeah I'd have to defer to Eric on this one. Sorry.
👍 1
s
@Tim Edwards: When I try to run Xyce, I get such messages when I am trying to use the library ../../sky130A/libs.tech/ngspice/sky130.lib.spice in my testbench. Not sure whether this is the right library that needs to be included inside an Xyce testbench cuz I don't see anything specfic to Xyce like I see something for gf180mcu. Is there something you can help here?
Copy code
***** Reading and parsing netlist...
Netlist error in file
 /../../share/pdk/sky130A/libs.tech/ngspice/corners/../../../libs.ref/sky130_fd_pr/spice/sky130_fd_pr__cap_var_lvt.model.spice
 at or near line 49
 Illegal parameter name: DEV/GAUSS
t
That should work. Your open_pdks installation isn't right. There shouldn't be any lines with
dev/gauss
in the installed PDK. Those lines exist in the original file from google, but they are replaced by hspice/ngspice/Xyce compatible syntax with the
agauss()
function. They also should start at line 51 vs. 49; maybe that difference is a key to why the installation went wrong?
s
Good catch! I updated my pdk. This error no longer persists. Thank you
e
Finally checking in here. It looks like this got resolved? If not let me know.
s
Yep. looks like this got resolved.
👍 1