I always used cross(), but I'm trying delay() in IC6 and running into issues :
cross(VT("/PV5")-VT("/xlx5/Pgate") 1 2 "falling" nil nil )
that's for signal 1 - 2nd falling edge when crossing 1V. It givesd me 406 ns which is right.
cross(VT("/xlx5/Ngate") 1 2 "rising" nil nil )
is for signal 2 - 2nd rising edge when crossing 1V. It gives me 412 ns - which is right.
I fill out the form for the delay function and I get :
delay(?wf1 VT("/PV5")-VT("/xlx5/Pgate"), ?value1 1, ?edge1 "falling", ?nth1 2, ?td1 0, ?wf2 VT("/xlx5/Ngate"), ?value2 1, ?edge2 "rising", ?nth2 2, ?td2 0 , ?stop nil, ?multiple nil)
When I try this, CIW shows "expression evaluation failed".
But, delay worked for the delay from 1st falling edge of wf2 (above) to 1st rising edge of wf1 giving 5.5 ns correctly with the same values for start1 and start2.
Any help would be super.