Spice model parameters
Bug #1766931 reported by
JKB
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
KiCad |
Fix Released
|
Unknown
|
Bug Description
I use sometimes model parameters. For example, I have created a library with potentiometers :
.SUBCKT POT 1 2 3 wiper=0.5 Rtot=1k
.param w=limit(wiper, 0, 1)
R0 1 2 {Rtot*(1-w)}
R1 2 3 {Rtot*(w)}
.ENDS
With kicad 4.0.7, it was possible to indicate parameters in value fied (for example POT wiper=0.1 Rtot=50k). WIth 5.0rc2, only POT is written in spice netlist.
Regards,
JKB
tags: | added: eeschema spice |
tags: |
added: ngspice removed: spice |
Changed in kicad: | |
importance: | Wishlist → Unknown |
status: | Expired → New |
Changed in kicad: | |
status: | New → Fix Released |
To post a comment you must log in.
The value field is used directly only for passive components which do not have an explicit Spice model assigned. Once there are Spice_* fields defined they are used for simulation, so it means you can add the desired parameters to Spice_Model field.