Function 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
S
 scramble
 sequential, data_stream
 set_delay, kitchen_timer
 set_random_delay, kitchen_timer
 size
 slice, text
 slice_len, text
 split
 start, kitchen_timer
 starts_with, text
 stop, kitchen_timer
 strip, text
 swap
 swap_case, text
static function ds_type scramble(ds_type ds,  
scrambler#(T,DEGREE) scrblr,  
ref lfsr_type lfsr,  
input bit msb_first =  1)
(STATIC) Returns a scrambled data stream.
virtual function bs_type scramble(bs_type bs,
ref lfsr_type lfsr)
Returns a scrambled bit stream.
static function ds_type sequential(int unsigned length,  
pa_type init_value =  0,
pa_type step =  1,
bit randomize_init_value =  0)
(STATIC) Returns a new data stream with the elements whose values are initialized with sequential values.
function void set_delay(time delay)
Sets the delay for the timer to ring.
function time set_random_delay(time delay1,
time delay2)
Set the random delay for the timer to ring between the specified range.
virtual function int size()
(VIRTUAL) Returns the number of elements in this collection.
virtual function int size()
(VIRTUAL) Returns the number of elements in this deque.
virtual function int size()
(VIRTUAL) Returns the number of elements in this set.
static function string slice(string s,  
int start_pos =  0,
int end_pos =  - 1)
(STATIC) Returns a substring in the specified range.
static function string slice_len(string s,  
int start_pos =  0,
int unsigned length =  s.len())
(STATIC) Returns a substring in the specified range.
static function void split(da_type da,  
ref da_type da0,  
ref da_type da1,  
input bit pad =  0)
(STATIC) Splits the given dynamic array into two dynamic arrays.
static function void split(q_type q,  
ref q_type q0,  
ref q_type q1,  
input bit pad =  0)
(STATIC) Splits the given queue into two queues.
static function string_q split(string s,  
string sep =  "",
int max_split =  -1)
(STATIC) Returns a queue of substrings by dividing the given string by the specified separator.
function void start()
Starts the timer.
static function bit starts_with(string s,  
string_q prefixes,  
int start_pos =  0,
int end_pos =  -1)
(STATIC) Returns 1 if the given string starts with one of the specified prefixes.
function void stop()
Stops the timer.
static function string strip(string s,  
string chars =  " \t\n")
(STATIC) Returns a copy of the given string with leading and trailing characters removed.
function void swap(ref this_type p)
Swaps the contents of this pair with the ones of the specified pair.
static function void swap(ref x,
ref y)
(STATIC) Swaps two objects.
function void swap(ref this_type t)
Swaps the contents of this tuple with the ones of the specified tuple.
static function string swap_case(string s)
(STATIC) Returns a copy of the given string with uppercase characters converted to lowercase, and lowercase characters converted to uppercase.