* High Frequency and low Frequency pattern generator
.subckt Source_LF_HF out gnd vinpk='vid' tpw='ui' tf='tfall' tr='trise'
vv3  net5 gnd  pwl 
+ 0 0
+ 'tf' 0.0
vv0  out net5  pwl 
+ 0.00000 0
+ 'tr' '+vinpk'
+ '20*tpw' '+vinpk'
+ '20*tpw+tf'  '-vinpk'
+ '40*tpw' '-vinpk'
+ '40*tpw+tr'  '+vinpk'
+ '41*tpw' '+vinpk'
+ '41*tpw+tf'  '-vinpk'
+ '42*tpw' '-vinpk'
+ '42*tpw+tr'  '+vinpk'
+ '43*tpw' '+vinpk'
+ '43*tpw+tf'  '-vinpk'
+ '44*tpw' '-vinpk'
+ '44*tpw+tr'  '+vinpk'
+ '45*tpw' '+vinpk'
+ '45*tpw+tf'  '-vinpk'
+ '46*tpw' '-vinpk'
+ '46*tpw+tr'  '+vinpk'
+ '47*tpw' '+vinpk'
+ '47*tpw+tf'  '-vinpk'
+ '48*tpw' '-vinpk'
+ '48*tpw+tr'  '+vinpk'
+ '49*tpw' '+vinpk'
+ '49*tpw+tf'  '-vinpk'
+ '50*tpw' '-vinpk'
+ '50*tpw+tr'  '+vinpk'
+ '51*tpw' '+vinpk'
+ '51*tpw+tf'  '-vinpk'
+ '52*tpw' '-vinpk'
+ '52*tpw+tr'  '+vinpk'
+ '53*tpw' '+vinpk'
+ '53*tpw+tf'  '-vinpk'
+ '54*tpw' '-vinpk'
+ '54*tpw+tr'  '+vinpk'
+ '55*tpw' '+vinpk'
+ '55*tpw+tf'  '-vinpk'
+ '56*tpw' '-vinpk'
+ '56*tpw+tr'  '+vinpk'
+ '57*tpw' '+vinpk'
+ '57*tpw+tf'  '-vinpk'
+ '58*tpw' '-vinpk'
+ '58*tpw+tr'  '+vinpk'
+ '59*tpw' '+vinpk'
+ '59*tpw+tf'  '-vinpk'
+ '60*tpw' '-vinpk'
+ '60*tpw+tr'  '+vinpk'
+ '61*tpw' '+vinpk'
+ '61*tpw+tf'  '-vinpk'
+ '62*tpw' '-vinpk'
+ '62*tpw+tr'  '+vinpk'
+ '63*tpw' '+vinpk'
+ '63*tpw+tf'  '-vinpk'
+ '64*tpw' '-vinpk'
+ '64*tpw+tr'  '+vinpk'
+ '65*tpw' '+vinpk'
+ '65*tpw+tf'  '-vinpk'
+ '66*tpw' '-vinpk'
+ '66*tpw+tr'  '+vinpk'
+ '67*tpw' '+vinpk'
+ '67*tpw+tf'  '-vinpk'
+ '68*tpw' '-vinpk'
+ '68*tpw+tr'  '+vinpk'
+ '69*tpw' '+vinpk'
+ '69*tpw+tf'  '-vinpk'
+ '70*tpw' '-vinpk'
+ '70*tpw+tr'  '+vinpk'
+ r
+ TD= 'delay'
.ends Source_LF_HF
** End of subcircuit definition.

