In this tutorial we consider the SPICE netlists using a SUBCKT subcircuit statement . The syntax of all the primitives, resistors, capacitors, inductors, is the same for TINA and PSpice.
For more complex models, it is possible that some PSpice netlists may contain formats not compatible with TINA. This article expalins a procedure that shows how to import a PSpice netlist, verify its syntax and make a TINA macromodel.
Below the schematic of a speech band amplifier from TINA Designsoft collection circuits. It’s implemented with two opa345 operational amplifiers
We want to replace the SPICE model of the opa345 with the following opa347 PSpice netlist, with SUBCKT statement
rename the .txt file as opa347.cir, then from the menu File, choose Import, PSpice Netlist (.CIR)
Select opa347.cir file, the Netlist Editor window opens
Click on “Compile” icon to verify the compatibility of SPICE statements with TINA, if there are no compatibility issues a “Succesfully completed” message appears
Close the Netlist Editor window and select “New Macro Wizard..” from Tools menu
The New Macro Wizard window appears, enter opa347 as name, uncheck “Current circuit”. Now it’ s possible select the file opa347.cir with a directory window. Uncheck “Auto-generated”
Now click the “Shape” ellipsis and choose a graphic symbol from the list. If there are no symbols that fit our model, we can leave the check in the “Auto-generated” box
Save the macro (.TSM file) for example in the Macrolib directory