I downloaded the .lib Spice library for the MAX4172 and imported it into OrCad, available from: https://www.maximintegrated.com/en/products/analog/amplifiers/MAX4172.html/tb_tab2
The library file looks right and I compiled it into a .olb file for Cadence. However, when I come to simulate it, I see this error:
**** EXPANSION OF SUBCIRCUIT X_U2 ****
X_U2.R+ +24V X_U2.ib+ 1g
X_U2.R- N371295 X_U2.ib- 1g
X_U2.Vi+ X_U2.ib+ 0 0
X_U2.Vi- X_U2.ib- 0 0
X_U2.Fi+ +24V 0 VALUE
----------------$
ERROR(ORPSIM-16037): The syntax used for F or H devices is incorrect.
The specified syntax is only for E and G devices. Correct the syntax
and save the file before simulating the design again.
+ {-I(Vi+)+27u}
X_U2.Fi- N371295 0 VALUE
-------------------$
ERROR(ORPSIM-16037): The syntax used for F or H devices is incorrect.
The specified syntax is only for E and G devices. Correct the syntax
and save the file before simulating the design again.
I've never seen the error 'Syntax used for F or H devices is incorrect' before, and I can't find any reference to it online. I tried making the change suggested, but that doesn't solve anything. I can only assume there must be an error in how the .lib file has been configured.
Is there a way of modifying the Spice model to solve this error?
I'm using OrCAD Capture ver 17.2-2016, if that helps.
Thanks in advance.