SURF  1.0
TextUtilPkg Package Body Reference
Package >> TextUtilPkg

Functions

character   chr ( sl: in std_logic )
string   str ( sl: in std_logic )
string   str ( slv: in std_logic_vector )
string   str ( b: in boolean )
character   chr ( int: in integer )
integer   int ( c: in character )
string   str ( int: in integer , base: in integer )
integer   int ( s: in string , base: in integer )
string   str ( int: in integer )
string   str ( tim: in time )
string   hstr ( slv: in std_logic_vector )
character   toUpper ( c: in character )
character   toLower ( c: in character )
string   toUpper ( s: in string )
string   toLower ( s: in string )
boolean   isWhitespace ( c: in character )
string   strip ( s: in string )
string   firstString ( s: in string )
std_logic   toSl ( c: in character )
std_logic_vector   toSlv ( s: in string )

Procedures

  print( text: string )
  print( active: boolean , text: string )
  chomp( variable s: inout string ,variable shead: out string )
  strRead( res_string: out string )
  print( new_string: in string )
  print( char: in character )
  strWrite( new_string: in string )

Detailed Description

Definition at line 129 of file TextUtilPkg.vhd.

Member Function Documentation

◆ print() [1/4]

print (   text string  
)
Procedure

Definition at line 132 of file TextUtilPkg.vhd.

◆ print() [2/4]

print (   active boolean ,
  text string  
)
Procedure

Definition at line 140 of file TextUtilPkg.vhd.

◆ chr() [1/2]

character chr (   sl in std_logic  
)
Function

Definition at line 148 of file TextUtilPkg.vhd.

◆ str() [1/6]

string str (   sl in std_logic  
)
Function

Definition at line 166 of file TextUtilPkg.vhd.

◆ str() [2/6]

string str (   slv in std_logic_vector  
)
Function

Definition at line 177 of file TextUtilPkg.vhd.

◆ str() [3/6]

string str (   b in boolean  
)
Function

Definition at line 190 of file TextUtilPkg.vhd.

◆ chr() [2/2]

character chr (   int in integer  
)
Function

Definition at line 204 of file TextUtilPkg.vhd.

◆ int() [1/2]

integer int (   c in character  
)
Function

Definition at line 250 of file TextUtilPkg.vhd.

◆ str() [4/6]

string str (   int in integer ,
  base in integer  
)
Function

Definition at line 297 of file TextUtilPkg.vhd.

◆ int() [2/2]

integer int (   s in string ,
  base in integer  
)
Function

Definition at line 328 of file TextUtilPkg.vhd.

◆ str() [5/6]

string str (   int in integer  
)
Function

Definition at line 346 of file TextUtilPkg.vhd.

◆ str() [6/6]

string str (   tim in time  
)
Function

Definition at line 352 of file TextUtilPkg.vhd.

◆ hstr()

string hstr (   slv in std_logic_vector  
)
Function

Definition at line 358 of file TextUtilPkg.vhd.

◆ toUpper() [1/2]

character toUpper (   c in character  
)
Function

Definition at line 399 of file TextUtilPkg.vhd.

◆ toLower() [1/2]

character toLower (   c in character  
)
Function

Definition at line 435 of file TextUtilPkg.vhd.

◆ toUpper() [2/2]

string toUpper (   s in string  
)
Function

Definition at line 471 of file TextUtilPkg.vhd.

◆ toLower() [2/2]

string toLower (   s in string  
)
Function

Definition at line 481 of file TextUtilPkg.vhd.

◆ isWhitespace()

boolean isWhitespace (   c in character  
)
Function

Definition at line 494 of file TextUtilPkg.vhd.

◆ strip()

string strip (   s in string  
)
Function

Definition at line 504 of file TextUtilPkg.vhd.

◆ firstString()

string firstString (   s in string  
)
Function

Definition at line 535 of file TextUtilPkg.vhd.

◆ chomp()

chomp ( variable   s inout string ,
variable   shead out string  
)
Procedure

Definition at line 560 of file TextUtilPkg.vhd.

◆ toSl()

std_logic toSl (   c in character  
)
Function

Definition at line 599 of file TextUtilPkg.vhd.

◆ toSlv()

std_logic_vector toSlv (   s in string  
)
Function

Definition at line 629 of file TextUtilPkg.vhd.

◆ strRead()

strRead (   res_string out string  
)
Procedure

Definition at line 646 of file TextUtilPkg.vhd.

◆ print() [3/4]

print (   new_string in string  
)
Procedure

Definition at line 670 of file TextUtilPkg.vhd.

◆ print() [4/4]

print (   char in character  
)
Procedure

Definition at line 680 of file TextUtilPkg.vhd.

◆ strWrite()

strWrite (   new_string in string  
)
Procedure

Definition at line 690 of file TextUtilPkg.vhd.


The documentation for this class was generated from the following file: