I need to find the threshold voltage when the DUT sees a signal changes between true and false on multiple inputs. I can use sweep to change the stimulus and read the signal from the DUT. Now I would like to save the voltage where the signals change so it doesn’t have to be postprocessed. I don’t want to waste time having a sweep loop for each of the inputs so I don’t want to have the sweep exit when a signal changes
I have thought about using mixins to save the previous state of the signal so I could have something to save the stimulus voltage if the previous signal is false and the current one is true. If there was a test step like the if verdict one but that evaluated an expression to true/false I could do it easily. Or if expressions had logic operators so I could do it.
I have considered modifying the If step, but I can’t find the source for it.
Has anyone found a way to do this or can give me advice?