Can't start a multi-line SPICE directive with a commented-out line
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
KiCad |
Fix Released
|
Medium
|
Maciej Suminski |
Bug Description
If I have 3 different analysis types included in a multi-line comment, the first two work but KiCad doesn't see any simulation properties provided if I try to use the 3rd analysis type. I would not expect there to be any limitation here.
For clarity, here is the multi-line comment:
.tran 1u 10m
*.op
*.ac dec 10 1 1Meg
*.tran 1u 20m
This simulates fine. But if I add as asterisk in front of the first line and remove the asterisk in front of the second ".tran" statement, the simulation doesn't run. It is unclear why this doesn't work.
See the project I posted at https:/
Application: kicad
Version: (5.0.0), release build
Libraries:
wxWidgets 3.0.3
libcurl/7.54.1 OpenSSL/1.0.2l zlib/1.2.11 libssh2/1.8.0 nghttp2/1.23.1 librtmp/2.3
Platform: Windows 7 (build 7601, Service Pack 1), 64-bit edition, 64 bit, Little endian, wxMSW
Build Info:
wxWidgets: 3.0.3 (wchar_t,wx containers,
Boost: 1.60.0
OpenCASCADE Community Edition: 6.8.0
Curl: 7.54.1
Compiler: GCC 7.1.0 with C++ ABI 1011
Build settings:
USE_
USE_
KICAD_
KICAD_
KICAD_
KICAD_
BUILD_
KICAD_
KICAD_
KICAD_SPICE=ON
summary: |
- Only two analysis types are read? + Can't start a multi-line SPICE directive with a commented-out line |
tags: | added: ngspice |
Changed in kicad: | |
status: | New → In Progress |
importance: | Undecided → Medium |
assignee: | nobody → Maciej Suminski (orsonmmz) |
milestone: | none → 5.0.1 |
Changed in kicad: | |
status: | Fix Committed → Fix Released |
I think this is because the new rule of spice directive is the first letter on your text have to be a "." (dot). This should not be a problem with the old directive style with "+spice", "-spice", "+/-Anything"