Avalon Verification IP Suite: User Guide

ID 683439
Date 2/17/2022
Public
Document Table of Contents

6.3. Parameters

The Avalon-MM Slave BFM supports the full range of signals defined for the Avalon-MM slave interface. The following table describes parameters you can customize the Avalon-MM slave interface.
Table 10.  Parameters for the Avalon-MM Slave BFM
Parameter Default Value Legal Values Description
Port Widths
Address width 32 N/A Address width in bits.
Symbol width 8 N/A Data symbol width in bits. Set AV_SYMBOL_W to 8 for byte-oriented interfaces.
Read Response width 8 N/A Read status response width in bits.
Write Response width 8 N/A Write status response width in bits.
Parameters
Number of symbols 4 N/A Number of symbols per word.
Burstcount width 3 N/A The width of the burst count in bits.
Port Enables
Use the read signal On On/Off When On, the interface includes a read pin.
Use the write signal On On/Off When On, the interface includes a write pin.
Use the address signal On On/Off When On, the interface includes address pins.
Use the byte enable signal On On/Off When On, the interface includes byte_enable pins.
Use the burstcount signal On On/Off When On, the interface includes burstcount pins.
Use the readdata signal On On/Off When On, the interface includes a readdata pin.
Use the readdatavalid signal On On/Off When On, the interface includes a readdatavalid pin.
Use the writedata signal On On/Off When On, the interface includes a writedata pin.
Use the begintransfer signal Off On/Off When On, the interface includes writedata pins.
Use the beginbursttransfer signal Off On/Off When On, the interface includes a beginbursttransfer pin.
Use the arbiterlock signal Off On/Off When On, the interface includes an arbiterlock pin.
Use the lock signal Off On/Off When On, the interface includes a lock pin.
Use the debugaccess signal Off On/Off When On, the interface includes a debugaccess pin.
Use the waitrequest signal On On/Off When On, the interface includes a waitrequest pin.
Use the transactionid signal Off On/Off When On, the interface includes a transactionid pin.
Use the write response signals Off On/Off When On, the interface includes a writeresponse pin.
Use the read response signals Off On/Off When On, the interface includes a readresponse pin.
Use the clken signals Off On/Off When On, the interface includes a clken pin.
Port Polarity
Assert reset high On On/Off When On, reset is asserted high.
Assert waitrequest high On On/Off When On, waitrequest is asserted high.
Assert read high On On/Off When On, read is asserted high.
Assert write high On On/Off When On, write is asserted high.
Assert byteenable high On On/Off When On, byteenable is asserted high.
Assert readdatavalid high On On/Off When On, readdatavalid is asserted high.
Assert arbiterlock high On On/Off When On, arbiterlock is asserted high.
Assert lock high On On/Off When On, lock is asserted high.
Burst Attributes
Linewrap burst On On/Off When On, the address for bursts wraps instead of an incrementing. With a wrapping burst, when the address reaches a burst boundary, it wraps back to the previous burst boundary. Consequently, only the low order bits need to be used for addressing.
Burst on burst boundaries only On On/Off When On, memory bursts are aligned to the address size.
Miscellaneous
Maximum pending reads 1 N/A The maximum number of pending reads which can be queued up by the slave.
VHDL BFM ID 0 0–1023 For VHDL BFMs only. Use this option to assign a unique number to each BFM in the testbench design.
Timing
Fixed read latency (cycles) 0 N/A Sets the read latency for fixed-latency slaves. Not used on interfaces that include the readdatavalid signal.
Fixed read wait time (cycles) 1 N/A For slave interfaces that do not use the waitrequest signal. The read wait time indicates the number of cycles before the slave responds to a read. The timing is as if the slave asserted waitrequest for this number of cycles.
Fixed write wait time (cycles) 0 N/A For slave interfaces that do not use the waitrequest signal. The write wait time indicates the number of cycles before the slave accepts a write.
Registered waitrequest On On/Off Specifies whether to turn on the register stage.
Registered Incoming Signals On On/Off Specifies whether to register incoming signals.
Interface Address Type
Set slave interface address type to symbols or words WORDS WORDS/
SYMBOLS Sets slave interface address type to symbols or words.