spice simulator: power symbol a floating point separator
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
KiCad |
Fix Released
|
Unknown
|
Bug Description
If I use a power symbol with comma separator (like +3,3V) the simulator log shows:
Node Last Voltage Previous Iter
---- ------------ -------------
net-_c2-pad1_ 0 0
+3 0 0
3v 0 0
vc1#branch 0 0
Spice think about two nodes +3 and 3v.
Application: eeschema
Version: 201609180819+
Libraries: wxWidgets 3.0.2
Platform: Linux 4.4.0-36-generic x86_64, 64 bit, Little endian, wxGTK
- Build Info -
wxWidgets: 3.0.2 (wchar_t,wx containers,
Boost: 1.58.0
Curl: 7.47.0
KiCad - Compiler: GCC 5.4.0 with C++ ABI 1009
Settings: USE_WX_
tags: |
added: spice removed: simulator |
tags: |
added: ngspice removed: spice |
Changed in kicad: | |
importance: | Wishlist → Unknown |
status: | Expired → New |
Changed in kicad: | |
status: | New → Fix Released |
In net names, when they are used in spice simulator, there are a few constraints:
- some chars are not accepted, because they are separators in directives, for instance ,{}()
- AKAIK, but I can be wrong, only ASCII7 char set is allowed
Currently, only '(' and ')' are replaced by _, because unfortunately I used these char in default net names, and the spice netlist generator replaced these not allowed chars by _ since a long time.
I am not sure replacing not allowed chars in net names is a good idea.
It can create other issues.
An user who want to use spice simulator should know the spice constraints, and must comply and live with them.