Altera PCI Compiler User Manual

Page 231

Advertising
background image

Altera Corporation

User Guide Version 11.1

4–21

October 2011

PCI Compiler

Testbench

4.

Modify the target transactor model memory range. The target
transactor reserves a 1-KByte memory array by default. On reset,
this memory array is initialized by the trgt_tranx_mem_init.dat file.
Refer to

“FILE IO section” on page 4–13

for more information about

this file.

You can modify the memory instantiated by the target transactor
model by changing the address_lines value and the mem_hit_range
value to correspond to the value specified by address_lines. For
example, if address_lines is 1024, the target transactor instantiates a
1-KByte memory array that corresponds to a memory hit range of
000

-3FF Hex. Refer to

“Target Transactor (trgt_tranx)” on page 4–12

for more information.

5.

Simulate the testbench for the desired time period.

Advertising