Tightly-Coupled Memory Interface
ARM DDI0198D
Copyright © 2001-2003 ARM Limited. All rights reserved.
5-31
5.8
Using synchronous SRAM as TCM memory
If you use SRAM to implement TCM memory, then your library RAM must meet the
following requirements:
•
It must be synchronous. All timings must be relative to the rising clock edge.
•
It must have a chip select (RAM enable).
•
The RAM outputs must always be valid. They must not be tristated.
•
Byte write control is required.
•
RAM setup times must be less than 10-15% and access times must be less than
40-50% of the target cycle time. Violation of these requirements results in a
slower design. Setup and access times can be balanced by skewing the clock to
the RAM.
Ideally each TCM can be constructed from single RAM blocks. However, this is not
always possible for the following reasons:
•
If your RAM does not have byte write control, you must construct the word-wide
RAM out of four byte-wide RAMs. See
Producing byte writable memory using
word writable RAM
on page 5-20.
•
If your compiler cannot produce a single RAM block that is the required size, or
if a single RAM block does not meet the timing requirements. In these cases, you
must produce the RAM out of two or more blocks of smaller RAM. See
Multiple
banks of RAM example
on page 5-21.
Ideally, your RAM block can connect directly to the ARM926EJ-S TCM interface.
However, this is not always possible, and additional logic is required in the following
cases:
•
All TCM signals are driven as active HIGH. If your RAM requires active LOW
signals, you must add inverters to create the active LOW signals.
•
If power control logic is required.
•
If a RAM is non single-cycle, or hardware DMA arbitration is required, logic is
required to drive the appropriate wait signal.
Note
DRADDR
is always a word address.
DRWBL
is used as a byte lane strobe to select the
appropriate byte of the addressed word on writes. Reads are always word-wide.
Содержание ARM926EJ-S
Страница 6: ...Contents vi Copyright 2001 2003 ARM Limited All rights reserved ARM DDI0198D ...
Страница 10: ...List of Tables x Copyright 2001 2003 ARM Limited All rights reserved ARM DDI0198D ...
Страница 14: ...List of Figures xiv Copyright 2001 2003 ARM Limited All rights reserved ARM DDI0198D ...
Страница 22: ...Preface xxii Copyright 2001 2003 ARM Limited All rights reserved ARM DDI0198D ...
Страница 28: ...Introduction 1 6 Copyright 2001 2003 ARM Limited All rights reserved ARM DDI0198D ...
Страница 96: ...Memory Management Unit 3 32 Copyright 2001 2003 ARM Limited All rights reserved ARM DDI0198D ...
Страница 108: ...Caches and Write Buffer 4 12 Copyright 2001 2003 ARM Limited All rights reserved ARM DDI0198D ...
Страница 152: ...Bus Interface Unit 6 12 Copyright 2001 2003 ARM Limited All rights reserved ARM DDI0198D ...
Страница 156: ...Noncachable Instruction Fetches 7 4 Copyright 2001 2003 ARM Limited All rights reserved ARM DDI0198D ...
Страница 176: ...Instruction Memory Barrier 9 6 Copyright 2001 2003 ARM Limited All rights reserved ARM DDI0198D ...
Страница 180: ...Embedded Trace Macrocell Support 10 4 Copyright 2001 2003 ARM Limited All rights reserved ARM DDI0198D ...
Страница 206: ...Signal Descriptions A 18 Copyright 2001 2003 ARM Limited All rights reserved ARM DDI0198D ...
Страница 224: ...CP15 Test and Debug Registers B 18 Copyright 2001 2003 ARM Limited All rights reserved ARM DDI0198D ...