Creating a cir file

I have this text published by Walt Jung to create a Laplace cir model. How do I create it?

RIAA34LP: 34 dB gain RIAA preamp with AD845
*
.OPT ACCT LIST NODE OPTS NOPAGE LIBRARY
.AC DEC 10 10 100KHZ
.LIB D:\PS\ADLIB\AD_RELL.LIB
.PRINT AC VDB(5) VDB(56)
.PROBE
VIN 1 0 AC 1E-3
VCC 52 0 +15V
VEE 53 0 -15V
* ---------- V(5) = idealized RIAA frequency response -----------------
*
  • Uses Laplace feature of PSpice Analog Behavioral option
  • for frequency response reference.
  • ENORM = ideal U1 DC gain = 1+(R1/R3) Use ideal values for R1, R3
  • T1 - T3 are time constants desired (in μs).
  • Input = node 1, Laplace Output = node 5
.PARAM ENORM = {490.7}
.PARAM T1 = {3180} ; Reference RIAA constants, do not alter!
.PARAM T2 = {318} ; Reference RIAA constants, do not alter!
.PARAM T3 = {75} ; Reference RIAA constants, do not alter!
*
ERIAA 5 0 LAPLACE {ENORM*V(1)}={(1+(T2*1E-6)S)/((1+(T1*1E-6)*S)(1+(T3*1E-6)*S))}
RDUMMY5 5 0 1E9
*
* ---------------------------------------------------------------------
*
* (+) (-) V+ V- OUT
XU3 1 21 52 53 55 AD845
* Active values Theoretical values
R1 55 21 97.6K ; 97.9k
R2 21 8 7.87K ; 7.8931563k
C1 55 8 30NF ; 30nF
C2 21 8 10.3NF ; 10.2881nF
R3 21 0 200 ; 199.9148
C3 55 100 10E-6
R6 100 0 100K
R5 100 56 499
C4 56 0 3.0000E-9
.END
Figur
 
Without analyzing this netlist in detail, it looks like it is intended to be an inverse RIAA source for testing phono preamps. If you are using LTspice, you might find the attached .asc file more useful. It is a mathematically precise inverse RIAA source with a normalization parameter n to set the 1 KHz level to whatever the SIGNAL level is. In other words, if you want the 1 KHz level to be 5 mV from the phono source, set the SIGNAL level to 5 mV.
 

Attachments