Package: avalon_st_bfm_pkg

Description

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

Constants

Name Type Value Description
C_SCOPE string "AVALON_ST BFM"
C_MAX_BITS_PER_SYMBOL positive 512 Recommended maximum in protocol specification (MNL-AVABUSREF)
C_MAX_SYMBOLS_PER_BEAT positive 32 Recommended maximum in protocol specification (MNL-AVABUSREF)
C_AVALON_ST_BFM_CONFIG_DEFAULT t_avalon_st_bfm_config ( max_wait_cycles => 100,
max_wait_cycles_severity => ERROR,
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,
symbol_width => 8,
first_symbol_in_msb => true,
max_channel => 0,
use_packet_transfer => true,
id_for_bfm => ID_BFM )
Define the default value for the BFM config

Types

Name Type Description
t_avalon_st_if Interface record for BFM signals
t_avalon_st_bfm_config Configuration record to be assigned in the test harness.

Functions

Description

BFM procedures

This function returns an Avalon-ST interface with initialized signals.
All input signals are initialized to 0
All output signals are initialized to Z

Description

Avalon-ST Transmit

BFM -> DUT

Description

Avalon-ST Receive

DUT -> BFM

Description

Avalon-ST Expect