Package: avalon_mm_bfm_pkg

Description

=================================================================================================

Constants

Name Type Value Description
C_SCOPE string "AVALON MM BFM"
C_AVALON_MM_BFM_CONFIG_DEFAULT t_avalon_mm_bfm_config ( max_wait_cycles => 10,
max_wait_cycles_severity => TB_FAILURE,
clock_period => -1 ns,
clock_period_margin => 0 ns,
clock_margin_severity => TB_ERROR,
setup_time => -1 ns,
hold_time => -1 ns,
bfm_sync => SYNC_ON_CLOCK_ONLY,
match_strictness => MATCH_EXACT,
num_wait_states_read => 0,
num_wait_states_write => 0,
use_waitrequest => true,
use_readdatavalid => false,
use_response_signal => true,
use_begintransfer => false,
id_for_bfm => ID_BFM,
id_for_bfm_wait => ID_BFM_WAIT,
id_for_bfm_poll => ID_BFM_POLL )
C_AVALON_CLOCK_PERIOD_DEFAULT t_avalon_clock_period ( time_of_rising_edge => -1 ns,
time_of_falling_edge => -1 ns )

Types

Name Type Description
t_avalon_mm_if Avalon Interface signals
t_avalon_mm_bfm_config Configuration record to be assigned in the test harness.
t_avalon_mm_response_status (OKAY,
RESERVED,
SLAVEERROR,
DECODEERROR)
t_avalon_clock_period

Functions

Description

BFM procedures

Description
This procedure could be called from an a simple testbench or
from an executor where there are concurrent BFMs - where
all BFMs could have different configs and msg_id_panels.
From a simplified testbench it is not necessary to use arguments
where defaults are given, e.g.:
avalon_mm_write(addr, data, msg, clk, avalon_mm_if);
avalon_mm_write overload without byte_enable

Description
avalon_mm_write with byte_enable