Routine
|
Description
|
tf_getp()
|
Get integer value of a task or function argument (parameter) for the current instance.
|
tf_putp()
|
Passes a 32-bit integer value to an argument of the current task or function.
|
tf_getrealp()
|
Get real value of a task or function argument for the current instance.
|
tf_putrealp()
|
Passes a 64-bit floating point value to an argument of the current task or function.
|
tf_getlongp()
|
Get long argument value (64 bits) for the current instance.
|
tf_putlongp()
|
Passes a 64-bit integer argument value to the current instance of a task or function.
|
tf_strgetp()
|
Get formatted argument values.
|
tf_getcstringp()
|
Get a parameter value as a character string.
|
tf_strdelputp()
|
Write a value to an argument with the specified delay, where the write value is specified as a character string.
|
tf_strlongdelputp()
|
Write value to an argument with specified long (64-bit) delay, where the write value is specified as a character string.
|
tf_strrealdelputp()
|
Write value to an argument with specified real value delay, where the write value is specified as a character string.
|
tf_copypvc_flag()
|
Copy parameter value change flag
|
tf_movepvc_flag()
|
Move argument value change flag.
|
tf_testpvc_flag()
|
Test argument value change flag for the current task/function instance.
|
tf_getpchange()
|
Get number of the next argument that changed value in the current task or function instance.
|
tf_gettime()
|
Get the current simulation time.
|
tf_getlongtime()
|
Gets current simulation time as a 64-bit integer value, in the timescale of the calling task or function.
|
tf_getrealtime()
|
Get the current simulation time scaled to the calling module's timescale.
|
tf_strgettime()
|
Get current simulation time as a character string.
|
tf_gettimeunit()
|
Get the timescale units for the module that contains the current task call.
|
tf_gettimeprecision()
|
Get the timescale precision of the module that contains the current task call.
|
tf_synchronize()
|
Synchronize processing of the current system task or function arguments.
|
tf_rosynchronize()
|
Synchronize processing of the current system task or function arguments to the end of the current time slot with event generation suppressed.
|
tf_getnextlongtime()
|
Get the time of the next scheduled simulation event.
|
tf_setdelay()
|
Reactivate a user task at a particular integer simulation time.
|
tf_setlongdelay()
|
Reactivate a user task at a particular simulation time specified by a 64-bit integer.
|
tf_setrealdelay()
|
Activate a user task at a particular simulation time.
|
tf_clearalldelays()
|
Clear all scheduled reactivation delays.
|
io_printf
|
Print a formatted message to the output channel of the software product that invoked the PLI application and to a log file.
|
io_mcdprintf()
|
Write a formatted message to one or more files.
|
tf_warning()
|
Report a warning.
|
tf_error()
|
Report an error.
|
tf_text()
|
Stores error information for later display by tf_message.
|
tf_message()
|
Reports user-generated error message in standard error-message syntax.
|
tf_getinstance()
|
Get current instance pointer.
|
tf_mipname()
|
Get hierarchical path name of the current module instance.
|
tf_spname()
|
Get a scope's hierarchical path name as a string.
|
tf_setworkarea()
|
Store a work area pointer for the current user task/function instance in a cell.
|
tf_getworkarea()
|
Get the work area pointer stored by the routine tf_setworkarea().
|
tf_nump()
|
Get number of arguments in the argument list of the current task or function instance.
|
tf_typep()
|
Get data type of an argument of the current task or function.
|
tf_sizep()
|
Get size of an argument of the current task/function instance.
|
tf_dostop()
|
Enable interactive mode.
|
tf_dofinish()
|
Finish simulation.
|
mc_scan_plusargs()
|
Get command line plus (+) options.
|
tf_compare_long()
|
Compare two 64-bit integer values.
|
tf_add_long()
|
Add two 64-bit integer values.
|
tf_subtract_long()
|
Subtract one 64-bit integer value from another.
|
tf_multiply_long()
|
Multiply two 64 bit integer values.
|
tf_divide_long()
|
Divide two 64-bit integer values.
|
tf_long_to_real()
|
Convert a long integer to a real (double-precision floating point) number.
|
tf_longtime_tostr()
|
Convert 64-bit integer time value to string.
|
tf_real_tf_long()
|
Convert a real (double precision floating point) number to a long (64-bit) integer.
|
tf_write_save()
|
Append a block of data to the save file.
|
tf_read_restart()
|
Get a block of data from a previously written save file.
|