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