How do I convert a PSpice model for use in B2 Spice?
A specific PSPICE specific conversion to look for is how PSPICE denotes resistors, capacitors, and inductors in the .model line. PSPICE uses RES, CAP, and IND where Berkeley SPICE uses R, C, and L respectively. For instance, a resistor model in PSPICE will be something like .model rmod RES … whereas Berkeley SPICE will look like .model rmod R … Also, PSPICE’s dependent sources can use a VALUE= syntax and then an equation for the voltage or current. SPICE doesn’t have this syntax but the conversion for this is to replace the device with a non-linear source, depending on the original PSPICE device type. For instance: PSPICE: EFB 12 OUT VALUE={8.822-.4024*V(13,5)+5.250E-3*V(13,5)*V(13,5) -.6667*V(13,5)*V(6,5)} SPICE: BEFB 12 OUT V = 8.822-.4024*V(13,5)+5.250E-3*V(13,5)*V(13,5) -.6667*V(13,5)*V(6,5) The “VALUE =” with a “V=” to denote a voltage source because the original device was an “E” voltage controlled voltage source and the “V =” means “voltage equals”. If the original device we