SURF  1.0
TextUtilPkg Package Reference
Package Body >> 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 )

Libraries

ieee 

Use Clauses

std_logic_1164 
textio 
StdRtlPkg  Package <StdRtlPkg>

Detailed Description

Definition at line 23 of file TextUtilPkg.vhd.

Member Function Documentation

◆ print() [1/4]

print (   text string  
)
Procedure

Definition at line 28 of file TextUtilPkg.vhd.

◆ print() [2/4]

print (   active boolean ,
  text string  
)
Procedure

Definition at line 32 of file TextUtilPkg.vhd.

◆ chr() [1/2]

character chr (   sl in std_logic  
)
Function

Definition at line 35 of file TextUtilPkg.vhd.

◆ str() [1/6]

string str (   sl in std_logic  
)
Function

Definition at line 38 of file TextUtilPkg.vhd.

◆ str() [2/6]

string str (   slv in std_logic_vector  
)
Function

Definition at line 41 of file TextUtilPkg.vhd.

◆ str() [3/6]

string str (   b in boolean  
)
Function

Definition at line 44 of file TextUtilPkg.vhd.

◆ chr() [2/2]

character chr (   int in integer  
)
Function

Definition at line 48 of file TextUtilPkg.vhd.

◆ int() [1/2]

integer int (   c in character  
)
Function

Definition at line 51 of file TextUtilPkg.vhd.

◆ str() [4/6]

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

Definition at line 54 of file TextUtilPkg.vhd.

◆ int() [2/2]

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

Definition at line 57 of file TextUtilPkg.vhd.

◆ str() [5/6]

string str (   int in integer  
)
Function

Definition at line 60 of file TextUtilPkg.vhd.

◆ str() [6/6]

string str (   tim in time  
)
Function

Definition at line 63 of file TextUtilPkg.vhd.

◆ hstr()

string hstr (   slv in std_logic_vector  
)
Function

Definition at line 66 of file TextUtilPkg.vhd.

◆ toUpper() [1/2]

character toUpper (   c in character  
)
Function

Definition at line 73 of file TextUtilPkg.vhd.

◆ toLower() [1/2]

character toLower (   c in character  
)
Function

Definition at line 76 of file TextUtilPkg.vhd.

◆ toUpper() [2/2]

string toUpper (   s in string  
)
Function

Definition at line 79 of file TextUtilPkg.vhd.

◆ toLower() [2/2]

string toLower (   s in string  
)
Function

Definition at line 82 of file TextUtilPkg.vhd.

◆ isWhitespace()

boolean isWhitespace (   c in character  
)
Function

Definition at line 85 of file TextUtilPkg.vhd.

◆ strip()

string strip (   s in string  
)
Function

Definition at line 88 of file TextUtilPkg.vhd.

◆ firstString()

string firstString (   s in string  
)
Function

Definition at line 91 of file TextUtilPkg.vhd.

◆ chomp()

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

Definition at line 95 of file TextUtilPkg.vhd.

◆ toSl()

std_logic toSl (   c in character  
)
Function

Definition at line 103 of file TextUtilPkg.vhd.

◆ toSlv()

std_logic_vector toSlv (   s in string  
)
Function

Definition at line 106 of file TextUtilPkg.vhd.

◆ strRead()

strRead (   res_string out string  
)
Procedure

Definition at line 114 of file TextUtilPkg.vhd.

◆ print() [3/4]

print (   new_string in string  
)
Procedure

Definition at line 118 of file TextUtilPkg.vhd.

◆ print() [4/4]

print (   char in character  
)
Procedure

Definition at line 122 of file TextUtilPkg.vhd.

Member Data Documentation

◆ ieee

ieee
Library

Definition at line 18 of file TextUtilPkg.vhd.

◆ std_logic_1164

std_logic_1164
Package

Definition at line 19 of file TextUtilPkg.vhd.

◆ textio

textio
Package

Definition at line 20 of file TextUtilPkg.vhd.

◆ StdRtlPkg

StdRtlPkg
Package

Definition at line 21 of file TextUtilPkg.vhd.


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