| I | |
| id, route_node | |
| index, text | |
| init | |
| insert, text | |
| is_alpha, text | |
| is_digit, text | |
| is_empty | |
| is_lower, text | |
| is_paused, kitchen_timer | |
| is_printable, text | |
| is_running, kitchen_timer | |
| is_single_bit_type, text | |
| is_space, text | |
| is_stopped, kitchen_timer | |
| is_upper, text | |
| iterator | |
| J | |
| join_str, text | |
| journal | |
| K | |
| kitchen_timer | |
| L | |
| lc_first, text | |
| le | |
| lfsr_type | |
| ljust, text | |
| location, tree_node | |
| log, journal | |
| log_fd, journal | |
| lstrip, text | |
| lt | |
| M | |
| Macro Definitions | |
| Macros | |
| make_divisible, data_stream | |
| max, choice | |
| max_val | |
| merge | |
| min, choice | |
| min_val |
The globally unique ID of this node.
int id
(STATIC) Returns the index of the first occurrence of the specified substring in the given string within the optionally specified range.
static function int index( string s, string sub, int start_pos = 0, int end_pos = -1 )
(STATIC) Initializes the each element of the given dynamic array to the specified value.
static function void init( ref da_type da, input T val )
(STATIC) Initializes the each element of the given packed array to the specified value.
static function void init( ref pa_type pa, input T val )
(STATIC) Initializes the each element of the given queue to the specified value.
static function void init( ref q_type q, input T val )
(STATIC) Initializes the each element of the given unpacked array to the specified value.
static function void init( ref ua_type ua, input T val )
(STATIC) Returns a copy of the given string with the specified substring inserted at the specified position.
static function string insert( string s, string sub, int start_pos = 0 )
(STATIC) Returns 1 if all characters in the given string are alphabetic.
static function bit is_alpha( string s )
(STATIC) Returns 1 if all characters in the given string are digits.
static function bit is_digit( string s )
(VIRTUAL) Returns 1 if this collection contains no elements.
virtual function bit is_empty()
(VIRTUAL) Returns 1 if this route contains no elements.
virtual function bit is_empty()
(VIRTUAL) Returns 1 if this set contains no elements.
virtual function bit is_empty()
(VIRTUAL) Returns 1 if this tree contains no elements.
virtual function bit is_empty()
(STATIC) Returns 1 if all cased characters in the given string are lowercase.
static function bit is_lower( string s )
Returns 1 if the timer is currently paused.
function bit is_paused()
(STATIC) Returns 1 if all characters in the given string are printable.
static function bit is_printable( string s )
Returns 1 if the timer is currently running.
function bit is_running()
(STATIC) Returns 1 if the given string is bit, logic, or reg.
static function bit is_single_bit_type( string s )
(STATIC) Returns 1 if all characters in the given string are whitespace characters: a space (“ “), a tab (\t), or a newline (\n).
static function bit is_space( string s )
Returns 1 if the timer is currently stopped.
function bit is_stopped()
(STATIC) Returns 1 if all cased characters in the given string are uppercase.
static function bit is_upper( string s )
(VIRTUAL) Defines a uniform way of accessing collection elements sequentially.
virtual class iterator #( type T = int )
(STATIC) Returns a string by concatenating the strings in the given string queue, separated by the specified separator.
static function string join_str( string_q strings, string separator = "" )
(VIRTUAL) Provides logging functions to store transactions to a log or a CSV file.
virtual class journal
Counts a simulation time (not a wall clock time) and triggers an event once the timer expires.
class kitchen_timer
(STATIC) Returns a copy of the given string with the first character lowercased and the remainder unchanged.
static function string lc_first( string s )
(VIRTUAL) Returns 1 if x is less than or equal to y.
virtual function bit le( T x, T y )
Returns 1 if this object is less than or equal to the specified pair.
function bit le( const ref this_type p )
Returns 1 if this object is less than or equal to the specified tuple.
function bit le( const ref this_type t )
The linear feedback shift register (LFSR) type.
typedef scrambler#( T, DEGREE )::lfsr_type lfsr_type
The shorthand of the DEGREE-bit packed array of type T.
typedef T[DEGREE-1:0] lfsr_type
(STATIC) Returns a string of the specified width with the given string left justified and padded with the specified character.
static function string ljust( string s, int width, byte fill_char = " ", bit trim_right = 0 )
The queue indicating the location of this tree node in a tree.
int location[$]
(STATIC) Stores a transaction to the file specified by the log_fd using the format shown in the Example below.
static function void log( string desc, string from_unit = "journal", string to_unit = from_unit )
The file descriptor for the log.
static integer log_fd
(STATIC) Returns a copy of the given string with leading characters removed.
static function string lstrip( string s, string chars = " \t\n" )
(VIRTUAL) Returns 1 if x is less than y.
virtual function bit lt( T x, T y )
(VIRTUAL) Returns 1 if x is less than y.
virtual function bit lt( T x, T y )
Returns 1 if this object is less than the specified pair.
function bit lt( const ref this_type p )
(VIRTUAL) Returns 1 if x is less than y.
virtual function bit lt( T x, T y )
Returns 1 if this object is less than the specified tuple.
function bit lt( const ref this_type t )
(VIRTUAL) Returns 1 if x is less than y.
virtual function bit lt( T x, T y )
(STATIC) Makes the data stream divisible by the specified number by padding data.
static function ds_type make_divisible( ds_type ds, int divisible_by = 1, pa_type padding = 0 )
(STATIC) Returns the larger item.
static function T max( T x, T y, comparator#(T) cmp = null )
The maximum limit of val.
int max_val
The maximum limit of val.
int max_val
(STATIC) Merges two dynamic arrays into one by alternating the elements from the two arrays.
static function da_type merge( da_type da0, da_type da1, bit truncate = 0 )
(STATIC) Merges two queues into one by alternating the elements from the two queues.
static function q_type merge( q_type q0, q_type q1, bit truncate = 0 )
(STATIC) Returns the smaller item.
static function T min( T x, T y, comparator#(T) cmp = null )
The minimum limit of val.
int min_val
The minimum limit of val.
int min_val