3 configuration read and write, 4 expansion rom setup – Teledyne LeCroy Summit Z3-16 PCI Express Multi-lane Exerciser User Manual User Manual
Page 86
![background image](/manuals/353592/86/background.png)
Teledyne LeCroy
Configuration Read and Write
86
Summit Z3‐16 PCI Express Multi‐Lane Exerciser User Manual
BAR1 and BAR2 are assigned to 64‐bit memory address space and mapped to Mem64
PETrainer memory region. BAR4 is assigned to 32‐bit memory address space and mapped
to Mem32A PETrainer memory region.
You can specify Prefetch and Address Space Size. The sizes for each address space are
limited to the values supported by PETrainer hardware.
BAR and Prefetch fields affect the Hexadecimal/Binary in the middle column of the
Configuration Space Editor.
Size field affects Field View in the right column of the Configuration Space Editor.
The mapping of BARs to PETrainer memory regions is discussed at the AddressSpace
Command in the Help section of the PETrainer Script Language.
The BARs settings are used for Memory and IO completer.
6.3
Configuration Read and Write
PETrainer™ can automatically handle Configuration Read and Write TLP transactions:
For a Configuration Read transaction, the Completion TLP contains the data read from the
internal Configuration Space according to specified register address.
For a Configuration Write transaction, the address for the internal Configuration Space is
updated with the data taken from Configuration Write TLP, and Configuration Write
Completion is returned.
You can specify the initial Configuration Space by editing the AddressSpace=Write
command directly in the script or by using the UI provided in the Generator toolbar.
The PETracer™ software provides a special editor for editing this file called the
Configuration Space Editor (see
“Launching the Configuration Space Editor” on page 81
6.4
Expansion ROM Setup
Perform the following steps to properly setup the Expansion ROM:
1. Load a file or create a new configuration space.
2. In the configuration space editor, select expansion rom register.
3. Then select the size to be used (see
)