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
C
 capitalize, text
 center, text
 change, text
 children, tree_node
 choice
 chomp, text
 chop, text
 cl
 CL_SUPPORT_COUNTBITS
 CL_SUPPORT_COUNTONES
 CL_SUPPORT_FATAL_SEVERITY_TASK
 CL_SUPPORT_PARAMETERIZED_NESTED_CLASS
 CL_SUPPORT_POP_FROM_AN_EMPTY_QUEUE
 CL_SUPPORT_RANDOMIZE
 CL_USE_DPI_C
 CL_USE_INCISIVE
 CL_USE_MODELSIM
 CL_USE_QUESTA
 CL_USE_VCS
 clear
 clone
 cmp, collection
 collection
 colorize, text
 comma_formatter
 Common Arguments
 common_array
 comparator
 compare
 concat
 connect
 constant, data_stream
 contains
 contains_all, collection
 contains_str, text
 count, text
 count_hizs
 count_ones
 count_unknowns
 count_zeros
 crc
 crc1, crc
 crc10, crc
 crc10_cdma2000, crc
 crc11, crc
 crc12, crc
 crc12_cdma2000, crc
 crc13_bbc, crc
 crc15_can, crc
 crc15_mpt1327, crc
 crc16_arinc, crc
 crc16_ccitt, crc
 crc16_cdma2000, crc
 crc16_dect, crc
 crc16_dnp, crc
 crc16_ibm, crc
 crc16_t10_dif, crc
 crc17_can, crc
 crc21_can, crc
 crc24, crc
 crc24_radix_64, crc
 crc30, crc
 crc32, crc
 crc32c, crc
 crc32k, crc
 crc32q, crc
 crc4_itu, crc
 crc40_gsm, crc
 crc5_epc, crc
 crc5_itu, crc
 crc5_usb, crc
 crc6_cdma2000_a, crc
 crc6_cdma2000_b, crc
 crc6_itu, crc
 crc64_ecma, crc
 crc64_iso, crc
 crc7, crc
 crc7_mvb, crc
 crc8, crc
 crc8_ccitt, crc
 crc8_dallas_maxim, crc
 crc8_sae_j1850, crc
 crc8_wcdma, crc
 csv, journal
 csv_fd, journal
static function string capitalize(string s)
(STATIC) Returns a copy of the given string with the first character uppercased and the remainder lowercased.
static function string center(string s,  
int width,  
byte fill_char =  " ",
bit trim_ends =  0)
(STATIC) Returns a string of the specified width with the given string centerted and padded with the specified character.
static function string change(string s,  
string sub,  
int start_pos =  0,
int end_pos =  -1)
(STATIC) Returns a copy of the given string with the characters in the specified range replaced with the specified substring.
tree_node_type children[$]
The child nodes this tree node has.
virtual class choice #(type T =  int)
(VIRTUAL) Provides functions to choose an item.
static function string chomp(string s)
(STATIC) Returns a copy of the given string with the last newline character removed (if present).
static function byte chop(string s)
(STATIC) Returns the last character of the given string.
package cl
The ClueLib package.
If defiend, $countbits bit vector system function is used.
If defiend, $countones bit vector system function is used.
If defined, $fatal elaboration system task is used.
If defined, a parameterized nested class is used.
If defined, a pop from an empty queue is supported.
If defined, constrained random value generation is supported.
If defined, some functions are delegated to C functions via DPI-C.
Use Incisive Enterpirse Simulator from Cadence Design Systems.
Use ModelSim from Mentor Graphics.
Use Questa from Mentor Graphics.
Use VCS from Synopsys.
virtual function void clear()
(VIRTUAL) Removes all of the elements from this collection.
virtual function void clear()
(VIRTUAL) Removes all of the elements from this deque.
virtual function void clear()
(VIRTUAL) Removes all of the elements from this route.
virtual function void clear()
(VIRTUAL) Removes all of the elements from this set.
virtual function void clear()
(VIRTUAL) Removes all of the elements from this tree.
virtual function collection#(T) clone()
(VIRTUAL) Returns a shallow copy of this deque.
static function da_type clone(da_type da)
(STATIC) Returns a copy of the given dynamic array.
function this_type clone()
Creates a pair by cloning this object.
static function q_type clone(q_type q)
(STATIC) Returns a copy of the given queue.
virtual function collection#(T) clone()
(VIRTUAL) Returns a shallow copy of this route.
virtual function collection#(T) clone()
(VIRTUAL) Returns a shallow copy of this set.
virtual function collection#(T) clone()
(VIRTUAL) Returns a shallow copy of this tree.
function this_type clone()
Creates a tuple by cloning this object.
protected comparator#(T) cmp
(PROTECTED) A comparator to compare the elements of type T.
virtual class collection#(type T =  int)
(VIRTUAL) Defines the core functionality of a collection.
static function string colorize(string s,  
fg_color_e fg =  FG_BLACK,
bg_color_e bg =  BG_WHITE,
bit bold =  0,
bit underline =  0,
bit blink =  0,
bit reverse =  0)
(STATIC) Returns a copy of the given string with ANSI escape codes.
class comma_formatter #(type T =  int) extends formatter#( T )
(SINGLETON) Provides a strategy to convert an object of integral data types such as int and time into a string using a decimal format that has commas as thousands separators for better readability.
virtual class common_array #(type T =  bit,
type AT1 =  bit[0:0],
type AT2 =  bit[0:0])
The common array class used by the aggregate classes.
class comparator#(type T =  int)
(SINGLETON) Provides strategies to compare objects.
static function bit compare(const ref da_type da1,  
const ref da_type da2,  
input int from_index1 =  0,
int to_index1 =  -1,
int from_index2 =  0,
int to_index2 =  -1,
comparator#(T) cmp =  null)
(STATIC) Compares two dynamic arrays.
static function bit compare(const ref q_type q1,  
const ref q_type q2,  
input int from_index1 =  0,
int to_index1 =  -1,
int from_index2 =  0,
int to_index2 =  -1,
comparator#(T) cmp =  null)
(STATIC) Compares two queues.
static function bit compare(const ref ua_type ua1,  
const ref ua_type ua2,  
input int from_index1 =  0,
int to_index1 =  -1,
int from_index2 =  0,
int to_index2 =  -1,
comparator#(T) cmp =  null)
(STATIC) Compares two unpacked arrays.
static function da_type concat(da_type da0,
da_type da1)
(STATIC) Concatenates two dynamic arrays into one.
static function q_type concat(q_type q0,
q_type q1)
(STATIC) Concatenates two queues into one.
virtual function route_node_type connect(route_node_type from_node,
route_node_type to_node)
(VIRTUAL) Connects the given two route_nodes.
virtual function route_node_type connect(route_node_type rn)
(VIRTUAL) Connects the given route node (and its connections) as a new to_nodes.
static function ds_type constant(int unsigned length,  
pa_type value =  0,
bit randomize_value =  0)
(STATIC) Returns a new data stream with the elements whose values are initiazlized with the specified constant.
virtual function bit contains(e)
(VIRTUAL) Returns 1 if this collection contains the specified element.
virtual function bit contains(e)
(VIRTUAL) Returns 1 if this deque contains the specified element.
virtual function bit contains(e)
(VIRTUAL) Returns 1 if this set contains the specified element.
static function bit contains(string s,  
string sub,  
int start_pos =  0,
int end_pos =  -1)
(STATIC) Returns 1 if the given string contains the specified substring.
virtual function bit contains_all(collection#( T ) c)
(VIRTUAL) Returns 1 if this collection contains all of the elements in the specified collection.
static function string contains_str(string s,  
string sub,  
int start_pos =  0,
int end_pos =  -1)
(STATIC) If the given string contains the specified substring, returns that substring.
static function int unsigned count(string s,  
string sub,  
int start_pos =  0,
int end_pos =  -1)
(STATIC) Returns the number of non-overlapping occurrences of the specified substring in the given string.
static function int count_hizs(bs_type bs)
(STATIC) Counts the number of bit-stream items having value Z.
static function int count_hizs(pa_type pa)
(STATIC) Counts the number of bits having value Z.
static function int count_ones(bs_type bs)
(STATIC) Counts the number of bit-stream items having value 1.
static function int count_ones(pa_type pa)
(STATIC) Counts the number of bits having value 1.
static function int count_unknowns(bs_type bs)
(STATIC) Counts the number of bit-stream items having value X.
static function int count_unknowns(pa_type pa)
(STATIC) Counts the number of bits having value X.
static function int count_zeros(bs_type bs)
(STATIC) Counts the number of bit-stream items having value 0.
static function int count_zeros(pa_type pa)
(STATIC) Counts the number of bits having value 0.
virtual class crc #(type T =  bit)
(VIRTUAL) Provides functions to calculate a variety of CRC (cyclic redundancy check) values from a bit stream.
static function T[63:0] crc(bs_type bs,
T[63:0] tap,
int degree)
(STATIC) Returns a CRC value using the specified taps.
static function T crc1(bs_type bs)
(STATIC) Returns a CRC-1 value; also known as a parity bit.
static function T[9:0] crc10(bs_type bs)
(STATIC) Returns a CRC-10 value.
static function T[9:0] crc10_cdma2000(bs_type bs)
(STATIC) Returns a CRC-10-CDMA2000 value.
static function T[10:0] crc11(bs_type bs)
(STATIC) Returns a CRC-11 value.
static function T[11:0] crc12(bs_type bs)
(STATIC) Returns a CRC-12 value.
static function T[11:0] crc12_cdma2000(bs_type bs)
(STATIC) Returns a CRC-12-CDMA2000 value.
static function T[12:0] crc13_bbc(bs_type bs)
(STATIC) Returns a CRC-13-BBC value.
static function T[14:0] crc15_can(bs_type bs)
(STATIC) Returns a CRC-15-CAN value.
static function T[14:0] crc15_mpt1327(bs_type bs)
(STATIC) Returns a CRC-15-MPT1327 value.
static function T[15:0] crc16_arinc(bs_type bs)
(STATIC) Returns a CRC-16-ARINC value.
static function T[15:0] crc16_ccitt(bs_type bs)
(STATIC) Returns a CRC-16-CCITT value.
static function T[15:0] crc16_cdma2000(bs_type bs)
(STATIC) Returns a CRC-16-CDMA2000 value.
static function T[15:0] crc16_dect(bs_type bs)
(STATIC) Returns a CRC-16-CECT value.
static function T[15:0] crc16_dnp(bs_type bs)
(STATIC) Returns a CRC-16-DNP value.
static function T[15:0] crc16_ibm(bs_type bs)
(STATIC) Returns a CRC-16-IBM value.
static function T[15:0] crc16_t10_dif(bs_type bs)
(STATIC) Returns a CRC-16-T10-DIF value.
static function T[16:0] crc17_can(bs_type bs)
(STATIC) Returns a CRC-17-CAN value.
static function T[20:0] crc21_can(bs_type bs)
(STATIC) Returns a CRC-21-CAN value.
static function T[23:0] crc24(bs_type bs)
(STATIC) Returns a CRC-24 value.
static function T[23:0] crc24_radix_64(bs_type bs)
(STATIC) Returns a CRC-24-Radix-64 value.
static function T[29:0] crc30(bs_type bs)
(STATIC) Returns a CRC-30 value.
static function T[31:0] crc32(bs_type bs)
(STATIC) Returns a CRC-32 value.
static function T[31:0] crc32c(bs_type bs)
(STATIC) Returns a CRC-32C (Castagnoli) value.
static function T[31:0] crc32k(bs_type bs)
(STATIC) Returns a CRC-32K (Koopman) value.
static function T[31:0] crc32q(bs_type bs)
(STATIC) Returns a CRC-32Q value.
static function T[3:0] crc4_itu(bs_type bs)
(STATIC) Returns a CRC-4-ITU value.
static function T[39:0] crc40_gsm(bs_type bs)
(STATIC) Returns a CRC-40-GSM value.
static function T[4:0] crc5_epc(bs_type bs)
(STATIC) Returns a CRC-5-EPC value.
static function T[4:0] crc5_itu(bs_type bs)
(STATIC) Returns a CRC-5-ITU value.
static function T[4:0] crc5_usb(bs_type bs)
(STATIC) Returns a CRC-5-USB value.
static function T[5:0] crc6_cdma2000_a(bs_type bs)
(STATIC) Returns a CRC-6-CDMA2000-A value.
static function T[5:0] crc6_cdma2000_b(bs_type bs)
(STATIC) Returns a CRC-6-CDMA2000-B value.
static function T[5:0] crc6_itu(bs_type bs)
(STATIC) Returns a CRC-6-ITU value.
static function T[63:0] crc64_ecma(bs_type bs)
(STATIC) Returns a CRC-64-ECMA value.
static function T[63:0] crc64_iso(bs_type bs)
(STATIC) Returns a CRC-64-ISO value.
static function T[6:0] crc7(bs_type bs)
(STATIC) Returns a CRC-7 value.
static function T[6:0] crc7_mvb(bs_type bs)
(STATIC) Returns a CRC-7-MVB value.
static function T[7:0] crc8(bs_type bs)
(STATIC) Returns a CRC-8 value.
static function T[7:0] crc8_ccitt(bs_type bs)
(STATIC) Returns a CRC-8-CCITT value.
static function T[7:0] crc8_dallas_maxim(bs_type bs)
(STATIC) Returns a CRC-8-Dallas/Maxim value.
static function T[7:0] crc8_sae_j1850(bs_type bs)
(STATIC) Returns a CRC-8-SAE-J1850 value.
static function T[7:0] crc8_wcdma(bs_type bs)
(STATIC) Returns a CRC-8-WCDMA value.
static function void csv(string desc,  
string from_unit =  "journal",
string to_unit =  from_unit)
(STATIC) Stores a transaction to the file specified by the csv_fd using the CSV (comma separated value) format shown in the Example below.
static integer csv_fd
The file descriptor for the CSV file.