Does anyone know where can I find the ngspice chan...
# analog-design
j
Does anyone know where can I find the ngspice channel? I meet some problems when using ngspice.
r
there is none. you can ask in this channel or maybe #xschem
t
Also #analog-design is a good place to ask about ngspice.
j
OK, thank you! When I run the post-simulation for my circuit in ngspice, it will need too long time, So do you have any ways to speed it up? I have been waiting 2 hours for the simulation.
s
@Jianwei Jia what kind of post layout extraction are you using? if RC extraction is used (every net replaced by a RC equivalent network) simulatin can get very slow. Usually you have to set a threshold such that parasitic-capacitance-only extraction is done on smaller nets. What is the size of your circuit?
e
@Jianwei Jia it's important to follow these instructions for decent performance http://ngspice.sourceforge.net/applic.html#sky
j
The size is 1.7mm * 1.3mm, Actually, I have only just extracted the C as parasitic.
OK, let me see the instruction, thank you, Stefan and Eric!
@Eric Smith @mehdi, Hi Eric, Is this meaning I need to create a .spiceinit in my HOME PATH, then install it again, or just create it in my home directory? Do I need to write them into my spice file? Because I have tried to write a .spiceinit file in my home path and run the ngspice, but it seems not to work. I set the num_threads =60, but according to the CPU monitor, there isn't an increased workload in the CPU running. So how can I set it rightly?
a
isnt it supposed to be in a directory from which you are running the ngspice?
j
Let me try it
e
@Jianwei Jia You have a couple of options to load an init file. see: http://ngspice.sourceforge.net/docs/ngspice-html-manual/manual.xhtml#magicparlabel-22760
🙌 1
j
Thank you Eric, let me try!