kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #26230
Re: Spice simulator: need info about net names versus net number option
Hi Jean-Pierre,
We have decided to use net numbers, as it was convenient for us. They
were already available, and Spice to eeschema maps are map<wxString,
int> instead of map<wxString, wxString>.
I doubt it would really influence the performance, as anyway the
majority of the simulation time is spent in the ngspice routines, not
exporting the netlist.
The only thing I would check is if the net names need any extra
escaping, and if commands like 'print v(1)' work well with net names.
I do not have any objections to change the code to use net names.
Regards,
Orson
On 09/14/2016 10:24 AM, jp charras wrote:
> Hi Orson, Tomasz:
>
> Recently, I tried to remove a fully outdated spice option netlist: use net numbers or net names.
> I am thinking it is not needed by spice simulators since 20 years.
>
> But I saw it is still used in our spice simulator.
> This is very easy to change, but my question is:
> Is it a reason (calculation time or something else) to use net numbers instead of net names in
> Kicad/ngspice simulator and which prevent me to use only net names (and remove useless old code)?
>
> Thanks.
Attachment:
signature.asc
Description: OpenPGP digital signature
References