![NXP Semiconductors MSC8113 Reference Manual Download Page 274](http://html1.mh-extra.com/html/nxp-semiconductors/msc8113/msc8113_reference-manual_1721628274.webp)
MSC8113 Reference Manual, Rev. 0
9-14
Freescale Semiconductor
Extended Core
For a bank to operate correctly, its size as defined in the mask register must be a multiple of its
base address. For example, if the bank size is 1 MB (the mask register has a value of 0xFFF0), the
twenty least significant bits of the base address of the bank must be zeros.
Note:
If QBUSBR0 (the QBus base register for Bank 0) is set to a value lower than the QBus
baseline, the bank registers may become inaccessible. This situation can be corrected
only by resetting the processor.
9.3.6 Reservation Process
The reservation (read-modify-write) operation in the SC140 occurs via the bmtset instruction.
The bmtset instruction tests the destination, sets the true (T) bit if each bit that is 1 in the mask is
also 1 in the destination, and sets every bit in the destination (register or memory) that has a value
of 1 in the mask. This operation involves two cycles:
A read cycle, during which an atomic signal is sent on the bus
A write cycle
The success of the write operation is indicated in the atomic result signal sent by the slave. The
QBus Control Unit (QBC) snooper snoops the local bus when a read with atomic signal is
accepted (bit test) on the Xa or Xb buses to the SRAM location. The QBC tries to detect a write
to a protected address before the SC140 core finishes the read-modify-write operation.
Reservation occurs when a write to a protected address is detected. If the write operation fails, the
T bit in the SC140 core is set. The resulting signal is optionally used in a lock mechanism. When
the atomic signal is asserted, the slave locks the bus and the write is always successful. You can
also use a read and reserve or a write and confirm mechanism. For details, refer to the SC140
DSP Core Reference Manual.
Note:
If there is a write to the same word on the local bus between the read and the write, the
QBC returns a fail in the cycle after the write. Otherwise, the QBC returns a success.
Reservation on the QBus, a read-modify-write operation, is supported by two signals:
The master sends a signal to assert that the atomic transaction (read-modify-write) is valid
on the bus.
The slave asserts a result signal when the atomic operation succeeds. This result signal is
duplicated for each bank.
0x001F
0xFFFC
—
Null (no possible match), The base is not a
multiple of the size.
Notes: 1.
The QBus baseline in this example is 15 MB, (0xF00000)
Table 9-3. Example Bank Address and Mask Register Values (Continued)
Base Register
Mask Register
Bank Size
Address Range for a Match
Summary of Contents for MSC8113
Page 1: ...MSC8113 Reference Manual Tri Core 16 Bit Digital Signal Processor MSC8113RM Rev 0 May 2008 ...
Page 20: ...MSC8113 Reference Manual Rev 0 xx Freescale Semiconductor Contents ...
Page 28: ...MSC8113 Reference Manual Rev 0 xxviii Freescale Semiconductor ...
Page 56: ...MSC8113 Reference Manual Rev 0 1 28 Freescale Semiconductor MSC8113 Overview ...
Page 76: ...MSC8113 Reference Manual Rev 0 2 20 Freescale Semiconductor SC140 Core Overview ...
Page 134: ...MSC8113 Reference Manual Rev 0 4 30 Freescale Semiconductor System Interface Unit SIU ...
Page 168: ...MSC8113 Reference Manual Rev 0 6 18 Freescale Semiconductor Boot Program ...
Page 180: ...MSC8113 Reference Manual Rev 0 7 12 Freescale Semiconductor Clocks ...
Page 260: ...MSC8113 Reference Manual Rev 0 8 80 Freescale Semiconductor Memory Map ...
Page 300: ...MSC8113 Reference Manual Rev 0 9 40 Freescale Semiconductor Extended Core ...
Page 304: ...MSC8113 Reference Manual Rev 0 10 4 Freescale Semiconductor MQBus and M2 Memory ...
Page 308: ...MSC8113 Reference Manual Rev 0 11 4 Freescale Semiconductor SQBus ...
Page 590: ...MSC8113 Reference Manual Rev 0 17 46 Freescale Semiconductor Interrupt Processing ...
Page 614: ...MSC8113 Reference Manual Rev 0 18 24 Freescale Semiconductor Debugging ...
Page 622: ...MSC8113 Reference Manual Rev 0 19 8 Freescale Semiconductor Internal Peripheral Bus IPBus ...
Page 724: ...MSC8113 Reference Manual Rev 0 21 32 Freescale Semiconductor UART ...
Page 920: ...MSC8113 Reference Manual Rev 0 25 150 Freescale Semiconductor Ethernet Controller ...
Page 1171: ...MSC8113 Reference Manual Rev 0 Freescale Semiconductor C 61 EF wait_rts P 01077FFC 9F rts 71 ...
Page 1172: ...MSC8113 Reference Manual Rev 0 C 62 Freescale Semiconductor MSC8113 Boot Code ...
Page 1202: ...MSC8113 Reference Manual Rev 0 Index 30 Freescale Semiconductor Index ...