VICON: Sistema de Visión configurable V1.0
Trabajo Fin de Master Carlos Manuel Gomez Jimenez
Loading...
Searching...
No Matches
sim_utils_pkg Package Reference
Package >> sim_utils_pkg

Functions

string   vec_to_str ( vec: in std_logic_vector )
string   int_to_hex_str ( val: in integer , width: in integer 2 )

Procedures

  log_to_file(
constant file_name: in string
constant message: in string
constant is_error: in boolean false
)
  check_value(
constant actual: in std_logic_vector
constant expected: in std_logic_vector
constant msg_tag: in string
variable error_cnt: inout integer
constant file_name: in string " reporte_final_1.txt "
)

Libraries

IEEE 

Use Clauses

STD_LOGIC_1164 
NUMERIC_STD 
textio 

Constants

CLK_PERIOD  time := 10 ns

Detailed Description

Definition at line 6 of file sim_utils_pkg.vhd.

Member Function/Procedure/Process Documentation

◆ check_value()

check_value ( constant actual in std_logic_vector ,
constant expected in std_logic_vector ,
constant msg_tag in string ,
variable error_cnt inout integer ,
constant file_name in string "reporte_final_1.txt"  )

Definition at line 23 of file sim_utils_pkg.vhd.

◆ int_to_hex_str()

string int_to_hex_str ( val in integer ,
width in integer 2  )

Definition at line 13 of file sim_utils_pkg.vhd.

◆ log_to_file()

log_to_file ( constant file_name in string ,
constant message in string ,
constant is_error in boolean false  )

Definition at line 16 of file sim_utils_pkg.vhd.

◆ vec_to_str()

string vec_to_str ( vec in std_logic_vector  )

Definition at line 12 of file sim_utils_pkg.vhd.

Member Data Documentation

◆ CLK_PERIOD

CLK_PERIOD time := 10 ns

Definition at line 9 of file sim_utils_pkg.vhd.

◆ IEEE

Definition at line 2 of file sim_utils_pkg.vhd.

◆ NUMERIC_STD

Definition at line 3 of file sim_utils_pkg.vhd.

◆ STD_LOGIC_1164

Definition at line 2 of file sim_utils_pkg.vhd.

◆ textio

Definition at line 4 of file sim_utils_pkg.vhd.


The documentation for this design unit was generated from the following file: