beautypg.com

2 memory region for host emulation – Teledyne LeCroy Summit Z2-16 PCI Express Multi-lane Exerciser User Manual User Manual

Page 72

background image

Chapter 7: Address Spaces

Summit Z2-16 Exerciser User Manual

68

Teledyne LeCroy

If you prefer, you can write address space memory into the Exerciser and read address
space memory from the Exerciser directly using the

and

toolbar buttons or using the menu File > Write Address Space or

File > Read Address Space.

7.2 Memory Region for Host Emulation

For Host Emulation, the Address Space mechanism on Summit Z2-16 does not support
defining memory regions. However, you can enable one 32-bit memory region for
Host Emulation by performing the following steps:

Step 1 Enable automatic Configuration and Memory/IO handling in the

Transactions tab of the Generation Options dialog.

Step 2 Create and load a configuration space with one BAR configured for

Mem32A with the desired size. For how to create a configuration space
file and define the BAR, see Chapter 6 “Configuration Space” on page
61.

After linking with the device DUT, the DUT can access the defined 32-bit host
memory region at fixed physical address 0x40000. The DUT can read back whatever it
wrote in those memory locations, or whatever was loaded there by the script using the
AddressSpace command.