Closed tomhajjar closed 4 days ago
I am aware about this limitation. SpiceFile device doesn't support parameters. The .PARAM
will have no effect in this case. Wait until the SpiceLibComp extensions #944 will be implemented. There is no workaround.
AFAIK under the "Qucs way" of making sub-circuits, for sub-circuits "calling" external Spice models, User definable parameters MUST be on BOTH the schematic sub-circuit and symbol sections. On the schematic, param=param and on symbol param=value.
For sub-circuits not "calling" external Spice models, only the Symbol section must have the parameter info.
Will this be the "new" method as well?
I'm trying to make a Library but I'm having issues adding User selectable parameters to a "Spice netlist" device. I searched but can't find any example of doing this. Adding User selectable parameters to a "Spice library" device works BUT they can't be made into a Qucs Library.
First device is a PBRS 7 generator. Long term goal is to add "Systems Analysis" capabilities to Qucs-S. This will also add value to Ideal.lib and Xanalogue.lib which I doubt many use.
PBRS7_subcircuit.zip