To emulate global chip select operation
1 Use the cs0 attribute when mapping the boot ROM address range.
2 Make sure the CF_MBAR register is valid, and modify the CF_CS0ADDR and
CF_CS0MASK registers to appropriate values.
Or:
Load a previously saved configuration that has appropriate values of CF_MBAR,
CF_CS0ADDR, and CF_CS0MASK.
3 If the you're emulating boot ROM with emulation memory, load the boot ROM
code.
4 Run from reset.
The advantages are:
•
You can put the boot ROM contents in emulation memory.
•
The base address of the boot ROM does not have to be at address 0 to fetch
vectors from reset.
•
If boot ROM is already in the target system, you can prevent guarded memory
accesses when running from reset.
Limitations:
The maximum amount of emulation memory that can be mapped is half the amount
of memory installed in bank 1 or one quarter the amount of memory installed in
bank 0, whichever is larger.
Chapter 5: Configuring the Emulator
Mapping Memory
143