162
AT94KAL Series FPSLIC
Rev. 1138G–FPSLI–11/03
FPSLIC Dual-port
SRAM
Characteristics
The Dual-port SRAM operates in single-edge clock controlled mode during read operations,
and a double-edge controlled mode during write operations. Addresses are clocked internally
on the rising edge of the clock signal (ME). Any change of address without a rising edge of ME
is not considered.
In read mode, the rising clock edge triggers data read without any significant constraint on the
length of the clock pulse. The WE signal must be changed and held Low before the rising
edge of ME to signify a read cycle. The WE signal should then remain Low until the falling
edge of the clock.
In write mode, data applied to the inputs is latched on either the falling edge of WE or the fall-
ing edge of the clock, whichever comes earlier, and written to memory. Also, WE must be High
before the rising edge of ME to signify a write cycle. If data inputs change during a write cycle,
only the value present at the write end is considered and written to the address clocked at the
ME rise. A write cycle ending on WE fall does not turn into a read cycle – the next cycle will be
a read cycle if WE remains Low during rising edge of ME.
Figure 83.
SRAM Read Cycle Timing Diagram
Figure 84.
SRAM Write Cycle Timing Diagram
Frame Interface
The FPGA Frame Clock phase is selectable (see “System Control Register – FPGA/AVR” on
page 30). This document refers to the clock at the FPGA/Dual-port SRAM interface as ME (the
relation of ME to data, address and write enable does not change). By default, FrameClock is
inverted (ME = ~FrameClock). Selecting the non-inverted phase assigns ME = FrameClock.
Recall, the Dual-port SRAM operates in single-edge clock controlled mode during read opera-
tions, and double-edge clock controlled mode during writes. Addresses are clocked internally
on the rising edge of the clock signal (ME). Any change of address without a rising edge of ME
is not considered.
Address Valid
t
t
t
t
t
t
t
Previous Data
Output Valid
ADDR
CLK (ME)
WE
DATA READ
ADS
ADH
MEL
RDS
MEH
RDH
ACC
- Address Setup
- Address Hold
- Read Cycle Setup
- Read Cycle Hold
- Access Time from posedge ME
- Minimum ME High
- Minimum ME Low
t
t
t
t
t
t
t
ADS
ADH
RDS
RDH
ACC
MEH
MEL
Address Valid
t
t
t
ADDR
CLK (ME)
t
t
t
t
t
t
Data Valid
WE
DATA WRITE
- Address Setup
- Address Hold
- Write Cycle Setup
- Minimum Write Duration
- Data Setup to Write End
- Data Hold to Write End
ADS
ADH
MPW
MPW
WRS
WDS
WDS
WDH
WDH
t
t
t
t
t
t
ADS
ADH
WRS
MPW
WDS
WDH