Package: gpio_bfm_pkg

Description

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

Constants

Name Type Value Description
C_SCOPE string "GPIO BFM"
C_GPIO_BFM_CONFIG_DEFAULT t_gpio_bfm_config ( clock_period => -1 ns,
match_strictness => MATCH_STD,
id_for_bfm => ID_BFM,
id_for_bfm_wait => ID_BFM_WAIT,
timeout => -1 ns )
Define the default value for the BFM config

Types

Name Type Description
t_gpio_bfm_config Configuration record to be assigned in the test harness.

Functions

Description

BFM procedures


set data

Description

get data()

Description

check data()

Perform a read operation, then compare the read value to the expected value.

Description
Perform a read operation, then compare the read value to the expected value.
Verify that the read value has been stable for a certain time.

Description

expect data()

Perform a read operation, then compare the read value to the expected value.

Description
Perform a read operation, then compare the read value to the expected value.
Verify that the read value remains stable for a certain time after the data
is same as expected or after the data last event.