Using the external memory bfm, Parameters, Using the external memory bfm -2 parameters -2 – Altera Avalon Verification IP Suite User Manual

Page 171

Advertising
background image

Description

Component

Carries the shared address bus and data.

Tri-State Conduit Pin Sharer

Tri-State Conduit Inverse Pin Sharer

Controls the external memory BFM. The generic tri-state controller
accepts read and write requests. It converts these requests into necessary
SDRAM and bank management commands.

Generic Tri_State Controller

Related Information

Avalon Tri-State Conduit Components User Guide.

Using the External Memory BFM

At the beginning of the simulation, the external memory BFM loads the memory initialization file (

INIT_FILE

)

to initialize its memory content. For example, if the memory file has a memory size of 50, the BFM fills its
memory content with addresses 0–49. However, if you do not provide the memory initialization file, the
memory content of the BFM remains blank.

Reading to the Memory Content

You can read or write to the memory content through the APIs or the interface signals.

The BFM uses

cdt_data_io

as a bidirectional data port. During read transfers, this port acts as an output

port. It drives the corresponding address memory content when the BFM asserts or deasserts the following
signals:

• Asserts

cdt_output_enable

signal

• Asserts

cdt_read

signal

• Deasserts

cdt_write

signal

• Asserts

cdt_chip_select

signal

Otherwise, the

cdt_data_io

port acts as an inactive input port and is held in high impedance state.

Writing to the Memory

The BFM overwrites its memory content when the BFM asserts the following signals:

cdt_write

signal

cdt_chip_select

signal

Parameters

Table 13-2: External Memory BFM Parameter Settings

Description

Legal Values

Default Value

Option

Port Enables

When On, the interface includes a

byteenable

pin to enable specific byte lanes

during transfer.

On/Off

On

Use the byteenable signal

External Memory BFM

Altera Corporation

Send Feedback

Using the External Memory BFM

13-2

Advertising