[quote="flamingoSecond, *.sw? is the file that record your DC sweep results, if removed it away, hehe, you know the aftermath.
PS: do you really need a run of 1200 times MC, it's so extravagance, maybe several hundred is enough. Good luck.[/quote]
Hi flamingo,
Thanks for the reply! Let's elaberate my issue more clearly. Pls. see the below script.
***********
.DC Y 2.41 2.60 0.0001 2.60 2.41 -0.0001 SWEEP MONTE=500
.OPTION PROBE
.probeV(OUT_91_1)
.MEAS DCTHN_91 Find V(IN2) WHEN V(OUT_91_1)=2.5 fall=1
.MEAS DCTHP_91 Find V(IN2) WHEN V(OUT_91_1)=2.5 RISE=1
.MEAS VOS_91 PARAM='(THP_91+THN_91)*0.5-2.5'
.MEAS VWIN_91 PARAM='THP_91-THN_91'
***********
I use this cript to investigate the mismatch analysis for my comparator. What I want is the data postprocessed by measure command after every MC analysis. Then I hope to release the *sw file for every MC analysis. Remove them will not affect my postprocessing but will relieve more memory.
I used this function in other simulators, but not know how to use it in hspice.
Pls. give me some instructions.
Thanks