p1 in 0 port=1 $ no stimulus required
* Add STATEYE analysis *
.stateye T=‘t_bit’ $ 1 bit pulse length
+ trf=‘t_rise’ $ rise/fall time
+ incident_port=1 $ list of incident ports
+ probe_port=2 $ list of probe ports
* Stateye output command
.probe stateye
+ eye(2) $ Color PDF @ port 2
+ eyebw(2) $ Single color @ port 2
+ ber(2) $ Bit error ratio @ port 2
* Stateye measure commands
.measure stateye eye_height veye 2 time=230p
.measure stateye eye_width heye 2 volt=0
.end