08-29-2012 12:09 AM
I cannot get Multisim to simulated the OPA140 model (attached).
I have tried to pay careful attention to pin mapping etc. but Multisim complains:
SPICE Netlist Error in schematic RefDes 'u1', element 'e1': Unexpected ')' found in function ''
SPICE Netlist Error in schematic RefDes 'u1', element 'vcvs_limit_1': Due to errors, the component 'e1' has been omitted from the simulation
I looked over the code and could not find an unmatched ")".
Any help will be greatly appreciated!
08-29-2012 02:03 PM - edited 08-29-2012 02:04 PM
Hello,
Could you please attached your component to this forum, so I am able to take a better look into what may be causing the error.
Regards,
Sharanya Rajaratnam
Market Development Engineer
NI, Toronto
08-31-2012 02:42 PM
maoz,
There is a missing '(' in the definition of the subcircuit: The third element in the table should be (25,0.4)
Lynn
*VOLTAGE CONTROLLED SOURCE WITH LIMITS .SUBCKT VCVS_LIMIT_1 VC+ VC- VOUT+ VOUT- * *$ E1 VOUT+ VOUT- TABLE {ABS(V(VC+,VC-))} = (0,0.2) (10,0.25) 25,0.4) (35.9,0.6) .ENDS VCVS_LIMIT_1 *$
08-31-2012 03:50 PM
Nice catch - maybe someone should let Analog Devices know? 🙂