Duplicate directives in Spice netlist
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
KiCad |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Hello,
I have seen that netlist generator copies twice spice directives between .control and .endc
For example, I have written in eeschema :
measure tran Vhp RMS v(/Vout) from=100m to=300m
.measure tran Ptriode AVG v(p2a3) from=100m to=300m
.measure tran Vpol AVG v(ac) from=100m to=300m
.measure tran Ipol AVG @r18[i] from=100m to=300m
.control
run
write results.raw
fourier 1k v("/v1out")
fourier 1k v("/a1")
fourier 1k v("/a2")
fourier 1k v("/va")
fourier 1k v("/vout")
quit
.endc
and netlist contains :
.measure tran Vhp RMS v(/Vout) from=100m to=300m
.measure tran Ptriode AVG v(p2a3) from=100m to=300m
.measure tran Vpol AVG v(ac) from=100m to=300m
.measure tran Ipol AVG @r18[i] from=100m to=300m
.control
run
run
write results.raw
write results.raw
fourier 1k v("/v1out")
fourier 1k v("/v1out")
fourier 1k v("/a1")
fourier 1k v("/a1")
fourier 1k v("/a2")
fourier 1k v("/a2")
fourier 1k v("/va")
fourier 1k v("/va")
fourier 1k v("/vout")
fourier 1k v("/vout")
quit
quit
.endc
.end
Best regards,
JB
Application: kicad
Version: (5.0.2-
Libraries:
wxWidgets 3.0.4
libcurl/7.62.0 GnuTLS/3.6.5 zlib/1.2.11 libidn2/2.0.5 libpsl/0.20.2 (+libidn2/2.0.5) libssh2/1.8.0 nghttp2/1.35.1 librtmp/2.3
Platform: Linux 4.18.0-1-amd64 x86_64, 64 bit, Little endian, wxGTK
Build Info:
wxWidgets: 3.0.2 (wchar_t,wx containers,
Boost: 1.67.0
OpenCASCADE Community Edition: 6.9.1
Curl: 7.62.0
Compiler: GCC 7.3.0 with C++ ABI 1011
Build settings:
USE_
USE_
KICAD_
KICAD_
KICAD_
KICAD_
BUILD_
KICAD_
KICAD_
KICAD_SPICE=ON
Changed in kicad: | |
status: | In Progress → Fix Committed |
Changed in kicad: | |
status: | Fix Committed → Fix Released |
Patch done. Please apply.
Best regards,
JKB