.subckt Source_PRBS23 out gnd
*......LFSR prbs23 pattern.......
V1 prbs23 0 LFSR ( '-vid' vid 0 'trise' 'tfall' '1/ui' 'pow(2,23)-1' [23,21,16,8,5,2] rout=50)

RS1 sw23 prbs23 '1g*(TIME <  delay)'
RS2 sw23 0      '1g*(TIME >= delay)'

.ic sw23=0
RL sw23 0 50

ei1 net10 0 sw23 0 1
ei2 net11 0 sw23 0 -1

e1 out 0 net10 net11 1

.ends Source_PRBS23
** End of subcircuit definition.

