You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to use a TI Current Sense Amp in a qucs circuit. I have
followed the steps to convert the spice files to the qucs circuit file type
however it errors out.
I then attempted to run the command from the command line with:
line 224: syntax error, unexpected Identifier, expecting ENDS_Action
This happens for all TI Spice files I have attempted to import. I have
verified the Spice files can work with ngspice, they are loaded and
simulated without issue in ngspice. I have also tried a simple single
subckt spice file as a sanity check. This can be converted with qucsconv.
I would appreciate the help. I am using the latest master branch as of
05/30/20 690d2ad
Best,
Andrew Smith M.S. Computer Engineering Passat Research Group atsmith3@... <atsmith3@...>
It seems that the .PARAM name = value is not known to qucsconv (syntax def. in parse_spice.ypp, parse_spice.lpp) . Also constants like {PWR(0.1u,0.5)/1E11}. I suppose the syntax of spice in qucsconv is outdated.
Workaround:
Comment out the .PARAM line and substitute all occurances of name with the value.
Replace constants like {PWR(0.1u,0.5)/1E11} with the actual value
Its imaginable to do a script doing it automatically
The text was updated successfully, but these errors were encountered:
origin: see
Hello,
I am trying to use a TI Current Sense Amp in a qucs circuit. I have
followed the steps to convert the spice files to the qucs circuit file type
however it errors out.
I then attempted to run the command from the command line with:
qucsconv -i INA191_TINA_AIO/INA191A5.lib -o INA191A5.out -if spice -of qucs
And I am met with the error:
line 224: syntax error, unexpected Identifier, expecting ENDS_Action
This happens for all TI Spice files I have attempted to import. I have
verified the Spice files can work with ngspice, they are loaded and
simulated without issue in ngspice. I have also tried a simple single
subckt spice file as a sanity check. This can be converted with qucsconv.
I would appreciate the help. I am using the latest master branch as of
05/30/20
690d2ad
The TI INA191 spice files can be downloaded here:
https://www.ti.com/lit/zip/slym110
I appreciate any and all help.
Best,
Andrew Smith
M.S. Computer Engineering
Passat Research Group
atsmith3@... <atsmith3@...>
It seems that the .PARAM name = value is not known to qucsconv (syntax def. in parse_spice.ypp, parse_spice.lpp) . Also constants like {PWR(0.1u,0.5)/1E11}. I suppose the syntax of spice in qucsconv is outdated.
Workaround:
Its imaginable to do a script doing it automatically
The text was updated successfully, but these errors were encountered: