14 addressspace command, Addressspace command – Teledyne LeCroy PETrainer Scripting Language Reference Manual User Manual
Page 76

Teledyne LeCroy
PETrainer Scripting Language
71
14 AddressSpace Command
This command reads/writes the PETrainer™ memory region.
PETrainer maps Memory and IO address spaces to its internal memory region according to
Base Address Registers (BAR) specified in the Configuration Address Space.
PETrainer uses its memory regions when processing Memory, IO, and Configuration TLP requests
(see Section 0).
PETrainer maps Configuration address space to its internal memory region (Cfg).
PETrainer supports one 64-bit Memory region, two 32-bit Memory regions, and two IO Memory regions.
Maximum address space sizes supported by PETrainer are as follows:
Address Space
Size
Configuration
4 KB
32-bit memory
128 MB
64-bit memory
512 MB
IO
256 MB
Mapping of BARs to PETrainer memory regions:
Memory Region
BAR
Mem64
First BAR that defines 64-bit Memory Address Space
Mem32A
First BAR that defines 32-bit Memory Address Space
Mem32B
Second BAR that defines 32-bit Memory Address Space
IOA
First BAR that defines IO Address Space
IOB
Second BAR that defines IO Address Space
In order to properly respond to Memory and IO TLP requests, the Configuration space must be written to
the PETrainer first.
Mem64, Mem32A, Mem32B, IOA, and IOB memory regions are not implemented in PETrainer ML.