Get_command_address(), Get_command_arbiterlock(), Get_command_burst_count() – Altera Avalon Verification IP Suite User Manual
Page 80: Get_command_burst_cycle(), Get_command_byte_enable()

Chapter 5: Avalon-MM Monitor
5–17
Application Program Interface
May 2011
Altera Corporation
Avalon Verification IP Suite User Guide
get_command_address()
get_command_arbiterlock()
get_command_burst_count()
get_command_burst_cycle()
get_command_byte_enable()
Prototype:
bit [AV_ADDRESS_W-1:0] get_command_address()
.
Arguments:
None.
Returns:
bit [AV_ADDRESS_W-1:0]
.
Description:
Queries the received command descriptor for the transaction address.
Prototype:
bit get_command_arbiterlock()
.
Arguments:
None.
Returns:
bit
.
Description:
Queries the received command descriptor for the transaction arbiterlock.
Prototype:
[AV_BURSTCOUNT_W-1:0] get_command_burst_count()
.
Arguments:
None.
Returns:
[AV_BURSTCOUNT_W-1:0]
.
Description:
Queries the received command descriptor for the transaction burst count.
Prototype:
int get_command_burst_cycle()
.
Arguments:
None.
Returns:
Int
.
Description:
The slave BFM receives and processes write burst commands as a
sequence of discrete commands. The number of commands corresponds
to the burst count. A separate command descriptor is constructed for each
write burst cycle, corresponding to a partially completed burst. This
method returns a burst cycle field that tells the testbench which burst cycle
was active when this descriptor was constructed. This facility enables the
testbench to query partially completed write burst operations. In other
words, the testbench can query the write data word on each burst cycle as
it arrives and begin to process it immediately rather than waiting until the
entire burst has been received, making it possible to perform pipelined
write burst processing in the testbench.
Prototype:
bit [AV_NUMSYMBOLS-1:0] get_command_byte_enable (int
index)
.
Arguments:
index
.
Returns:
bit[AV_NUMSYMBOLS-1:0]
.
Description:
Queries the received command descriptor for the transaction byte enable.
For burst commands with burst count greater than 1, the index selects the
data cycle.