Dummy RAZ/WI APB device. This model is written in LISA+.
DummyAPB contains the following CADI targets:
DummyAPB contains the following MTI components:
Use this component to ensure that software does not receive aborts for accesses to devices that should be part of the system, but are not modeled.
For validation purposes it is useful to have dummy devices that are mostly RAZ/WI but return the correct value when you read ID registers. You can do that with this component in the following ways:
periphid_24for peripherals that follow the ARM pattern of having 12 ID registers at the top of an APB frame. For example:
You need also to set
periph_framesizeto 4 or 64, depending on whether the peripheral has its registers in a 4KB or 64KB frame.
Give a space-separated list of offset:value pairs in the
periphid_genericparameter to define read-only values from particular offsets. For example:
The number of hex digits used to specify the address is used to define the width of the address mask used. For example,
02468aceat reads from any address ending
- Give a space-separated list of offset:default-value pairs in the
ram_genericparameter to construct RAM. That is, the register at the relevant offset returns the default-value, but if changed, it returns the value that it is changed to.
Table 4-74 Ports for DummyAPB
||PVBus||Slave||Bus slave interface.|
Table 4-75 Parameters for DummyAPB
||Abort all accesses|
||""||String to print when
||Size of frame (4/64, indicating if ID is at xFD0 or xFFD0).|
||""||24 hex digits for the 12 bytes of peripheral ID.|
||""||Set of space-separated offset:value pairs for dwords of ID.|
||""||Set of space-separated offset:default pairs for writable dwords.|