Time Construction Functions; Time() - LeCroy USB Protocol Suite Reference Manual

Verification script engine
Table of Contents

Advertisement

LeCroy Corporation

11 Time Construction Functions

This group of functions is used to construct VSE time objects.

11.1 Time()

Constructs a verification script time object.
Format:
Time(nanoseconds)
Time(seconds, nanoseconds)
Parameters:
nanoseconds
neconds
Return values:
First function returns [0, nanoseconds], second one returns [seconds, nanoseconds]
Example:
Time (50 * 1000);
Time (3, 100);
Time(3 * MICRO_SECS); # Create time object of 3 microseconds.
Time(4 * MILLI_SECS); # Create time object of 4 milliseconds.
Note: MICRO_SECS and MILLI_SECS are constants defined in VS_constants.inc.
Number of nanoseconds in specified time
Number of seconds in specified time
# Create time object of 50 microseconds.
# Create time object of 3 seconds and 100 nanoseconds.
Verification Script Engine Reference Manual
Page 63 of 107

Advertisement

Table of Contents
loading

Table of Contents