Avalon Verification IP Suite: User Guide

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

5.3. Parameters

The Avalon-MM BFM supports the full range of signals defined for the Avalon-MM master interface. You can customize the Avalon-MM master interface using the parameters described in the following table.
Table 7.  Parameters for the Avalon-MM Master 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. The symbol width should be 8 for byte-oriented interfaces.
Read Response width 8 N/A Read response signal width in bits.
Write Response width 8 N/A Write response signal 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 byteenable signal On On/Off When On, the interface includes byteenable 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 pins.
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 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 are 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 that can be queued by the slave.
Fixed read latency (cycles) 1 N/A Sets the read latency for fixed-latency slaves. Not used on interfaces that include the readdatavalid signal.
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 wait time (cycles) 1 N/A For master interfaces that do not use the waitrequest signal. The read wait time indicates the number of cycles before the master responds to a read. The timing is as if the master asserted waitrequest for this number of cycles.
Fixed write wait time (cycles) 0 N/A For master interfaces that do not use the waitrequest signal. The write wait time indicates the number of cycles before the master accepts a write.
Registered waitrequest Off On/Off Specifies whether to turn on the register stage.
Registered Incoming Signals Off On/Off Specifies whether to register incoming signals.
Interface Address Type
Set master interface address type to symbols or words WORDS WORDS/SYMBOLS Sets slave interface address type to symbols or words.