Dma_set_rclast procedure, Ebfm_display_verb procedure – Altera Arria 10 Avalon-ST User Manual
Page 256

Location
altpcietb_bfm_driver_rp.v
Arguments
bar_table
Address of the Endpoint
bar_table
structure in BFM shared
memory
allowed_bars
One hot 6 bits BAR selection
min_log2_size
Number of bit required for the specified address space
sel_bar
BAR number to use
dma_set_rclast Procedure
The
dma_set_rclast
procedure starts the DMA operation by writing to the Endpoint DMA register the
value of the last descriptor to process (RCLast).
Location
altpcietb_bfm_driver_rp.v
Syntax
Dma_set_rclast(bar_table, setup_bar, dt_direction, dt_rclast)
Arguments
bar_table
Address of the Endpoint
bar_table
structure in BFM shared
memory
setup_bar
BAR number to use
dt_direction
When 0 read, When 1 write
dt_rclast
Last descriptor number
ebfm_display_verb Procedure
The
ebfm_display_verb
procedure calls the procedure
ebfm_display
when the global variable
DISPLAY_ALL
is set to 1.
Location
altpcietb_bfm_driver_chaining.v
Syntax
ebfm_display_verb(msg_type, message)
Arguments
msg_type
Message type for the message. Should be one of the constants
defined in BFM Log and Message Procedures.
message
The message string is limited to a maximum of 100 characters.
Also, because Verilog HDL does not allow variable length
strings, this routine strips off leading characters of 8'h00 before
displaying the message.
17-56
dma_set_rclast Procedure
UG-01145_avst
2015.05.04
Altera Corporation
Testbench and Design Example