Package: bus_master_pkg

Constants

Name Type Value Description
bus_logger logger_t get_logger("vunit_lib:bus_master_pkg") Default logger object for bus master instances
bus_write_msg msg_type_t new_msg_type("write bus") Message type definitions, used by VC-instances
bus_read_msg msg_type_t new_msg_type("read bus")
bus_burst_write_msg msg_type_t new_msg_type("burst write bus")
bus_burst_read_msg msg_type_t new_msg_type("burst read bus")

Types

Name Type Description
bus_master_t

Functions

Description
Return the logger used by the bus master

Description
Blocking: Write the bus

Description
Procedures for burst bus write: Caller is responsible for allocation and
deallocation of data queue. Procedure cunsumes burst_length data words
from data queue. If data queue has less data words, all data
words are consumed and pop from empty queue error is raised.

Description
Non blocking: Read the bus returning a reference to the future reply

Description
Blocking: Await read bus reply data

Description
Procedure for burst read reply: Caller is responsible for allocation and
deallocation of data queue. Procedure pushes burst_length data words
into data queue.

Description
Blocking: Read bus and check result against expected data

Description
Blocking: read bus with immediate reply

Description
Procedure for burst bus read: Caller is responsible for allocation and
deallocation of data queue. Procedure pushes burst_length data words
into data queue.

Description
Blocking: Wait until a read from address equals the value using
std_match If timeout is reached error with msg

Description
Blocking: Wait until a read from address has the bit with this
index set to value If timeout is reached error with msg

Description
Wait until all operations scheduled before this command has finished