Best way to measure period of a square wave with transient measure?

18 views
Skip to first unread message

pablo_sole...@brown.edu

unread,
Mar 11, 2019, 5:38:56 PM3/11/19
to xyce-users
What is the least verbose way to find the period of a 0-1.8V square wave using the xyce transient measure functions? As in, would it be better to find a trigger to get the first rising edge and find when the next one is or is there a path of least effort when considering all the xyce measure tools?

xyce-users

unread,
Mar 11, 2019, 5:49:14 PM3/11/19
to xyce-users
TRIG-TARG is a reasonable way to do this.  The section on "RISE, FALL and CROSS Qualifiers" in the Xyce 6.10 Reference Guide has a discussion of this topic, since it can be a bit tricky for noisy waveforms.

Another way is with two separate FIND measures and then an EQN measure that takes their difference.  This way has more .MEASURE statements, but each statement is less complex than a single TRIG-TARG measure.
Reply all
Reply to author
Forward
0 new messages