• Supports 117-MHz m icroprocessor cache systems with
zero wait states
• 128K by 32 common I/O
• Fast clock-to-output times
—7.5 ns (117-MHz version)
• T wo-bit wraparound counter supporting either interleaved or linea r burst sequence
• Separate pro cessor and contro ller address strobe s provide direct int erface with the processor and external
cache controller
• Synchro nous self-timed write
• Asynchr onous output enable
•3.3V I/Os
• JEDEC-standard pinout
• 100-pin TQFP packag ing
• ZZ “sleep” mode
Logic Block Diagram
CLK
ADV
ADSC
ADSP
A
BW
BW
BW
BW
[16:0]
GW
BWE
0
CE
CE
CE
3
2
1
1
2
3
17
MODE
(A0,A1)
2
BURST
COUNTER
CE
CLR
ADDRESS
CE
REGISTER
D
15
DQ[31:24]
D
BYTEWRITE
REGISTERS
DQ[23:16]
DQ
BYTEWRITE
REGISTERS
DQ
DQ[15:8]
BYTEWRITE
REGISTERS
DQ
DQ[7:0]
BYTEWRITE
REGISTERS
D
ENABLE
CE
REGISTER
CLK
Functional Description
The CY7C1338 is a 3.3V, 128K by 32 synchronous cache
RAM designed to interface with high-speed microprocessors
with minimum glue logic. Maximum access delay from clock
rise is 7.5 ns (117-MHz version). A 2-bit on-chip counter captures the first address in a burst and increments the address
automatically for the rest of the burst access.
The CY7C1338 allows both interleaved and linear burst sequences, selected by the MODE inp ut pin. A HIGH selects an
interleave d burst sequence, whi le a LOW s elects a linear burst
sequence. Burst accesses can be initiated with the Processor
Address Strobe (ADSP
Strobe (ADSC
) inputs. Address advancement is controlled by
the address advancement (ADV
A synchronous sel f-t imed write me chanism i s provi ded to sim -
plify the write interface. A synchronous chip enable input and
an asynchronous output enable input provide easy control for
bank selection and output three-state contr ol.
Q
0
Q
1
Q
15
Q
Q
) or the cache Controller Address
) input.
17
128K X 32
MEMORY
ARRAY
3232
INPUT
REGISTERS
CLK
OE
ZZ
SLEEP
CONTROL
Selection G uide
7C1338-1177C1338-1007C1338-907C1338-50
Maximum Access Time (ns)7.58.08.511.0
Maximum Operat ing Current (mA)350325300250
Maximum Standb y Current (mA)2.02.02.02.0
Intel and Pentium are registered trademarks of Intel Corporation.
Cypress Semiconductor Corporation
•3901 North First Street•San Jose•CA 95134•408-943-2600
May 5, 2000
Power SupplyPower supply inputs to the core of the device. Should be connected to 3.3V power
Address Strobe f rom Controller, sampled on the rising edge of CLK. When asserted
LOW, A
counter. When ADSP
is capture d in the address registers . A
[16:0]
and ADSC are both asserted, only ADSP is recognized.
are also loaded into t he burst
[1:0]
Address Strobe from Processor, sampled on the rising edge of CLK. When asserted
LOW, A
counter. When ADSP
is ig no red when CE
is capture d in the address registers . A
[16:0]
and ADSC are both as serted, onl y ADSP is r ecogni ze d. ASDP
is deasserted HIGH.
1
are also loaded into t he burst
[1:0]
A1, A0 Address Inputs. These inputs feed the on- chip burst counter as the LSBs as
well as being used to access a particular memory location in the memory array.
Address Inputs used in conjunction with A
tions. Sampl ed at the rising edge of the CLK, if CE
and ADSP
or ADSC is active LO W.
to select one of the 64K address loca-
[1:0]
and CE3 are sampled activ e,
1, CE2,
Byte Write Select Inputs, active LOW. Qualified with BWE to conduct byte writes.
Sampled on the rising edge . BW
DP
, BW2 controls DQ
1
Cycle Descriptions table for further details.
[23:16]
controls DQ
0
and DP0, BW1 controls DQ
[7:0]
and DP2, and BW3 controls DQ
and DP3. See Write
[31:24]
[15:8]
and
Advance Input use d to advan ce the on-chip address counter . When LOW the internal
burst count er is adv anced in a burs t s equence . Th e bur st sequence i s s elect ed using
the MODE input.
Byte Write Enab le I nput, a ctiv e LO W. Sampled on the rising edge of CLK. Thi s sign al
must be asserted LOW to conduct a byte write.
Global Write Input, active LOW. Sampled on the rising edge of CLK. This signal is
used to conduct a global write, independent of the state of BWE
writes override byte writes.
and BW
[3:0]
. Global
Chip Enable 1 Input, active LOW. Sampled on the rising edge of CLK. Used in conjunction with CE
and CE3 to select/deselect the device. CE1 gates ADSP.
2
Chip Enable 2 Input, act ive HIGH. Sampled on the rising edge of CLK. Used in conjunction with CE
and CE3 to select/deselect the device.
1
Chip Enable 3 Input, active LOW. Sampled on the rising edge of CLK. Used in conjunction with CE
and CE2 to select/deselect the device.
1
Output Enable , asynchronous i nput, active LO W . Controls the dir ection of the I/O pins .
When LOW, the I/O pins behave as outpu ts. When deasserted HIGH, I/O pins are
three-stated, and act as input data pins.
Snooze Input . Activ e HIGH asynchron ous. When HIGH, the de vice enter s a low-po wer
standby m ode in which all other i nputs are ignored, but the data i n the memory array
is maintained. Leaving ZZ floating or NC will default the device into an active state.
ZZ pin has an internal pull-down.
burst order. Pulled LOW selects the linear burst order. When left floating or NC, defaults to int erl eaved burst order. Mode pin has an internal pull-up.
Bidirectional Data I/O lines. As inputs , they feed into an on-chip data register t hat is
triggered b y the rising edge of CLK. As out puts, the y deliver the data contained i n the
memory location specified by A
The direction of the pi ns is controlled by OE
logic. When OE
and DP
three-stated when a WRI TE cycle is detected.
[3:0]
is asserted LOW, the pins behav e as outputs. When HIGH, DQ
are placed in a three-state condition. The outputs are automatically
during the pre vious clock ris e of the read cycle.
[16:0]
in conjunction wit h the internal control
[31:0]
supply.
3
Page 4
CY7C1338
Pin Descriptions
(continued)
Pin NumberNameI/ODescription
17, 40, 67, 90V
5, 10, 21,
26, 55, 60,
V
SS
SSQ
GroundGround for the I/O circuit ry of the device. Should be connected to ground of the
system.
GroundGround for the device. Should be connect ed to ground of the system.
71, 76
4, 11, 20,
27, 54, 61,
V
DDQ
I/O Power
Supply
Power supply for the I/O circuitry. Should be connected to a 3.3V power supply.
70, 77
1,14, 16, 30,
NC-No connects.
50–51, 66,
80
38, 39, 42, 43DNU-Do not use pins. Should be left unconnected or tied LOW.
Functional Overview
All synchrono us inputs pass throu gh inp ut regi sters con trol led
by the rising edge of the clock. Maximum access delay from
the clock ris e (t
The CY7C1338 sup ports secondary cache in systems utilizin g
either a linear or interleaved burst sequence. The interleaved
burst order supports Pen ti um and i486 processors. The linear
burst sequence is suited for processors that utilize a linear
burst sequence. The burst order is user selectable, and i s determined by sampling the MODE input. Accesses can be initiated with either the Processor Address Strobe (ADSP
Controller Address Strobe (ADSC
through the burst sequence is controlled by the ADV
two-bit on -chip wraparou nd burs t counter ca ptures the fi rst address in a burst sequence and automatically increments the
addr ess for the res t of the bu rst acc e ss.
Byte write operations are qualified with the Byt e Writ e Enable
(BWE
) and Byte Write Select (BW
Enable (GW
all four bytes. All writes are simplified with on-chip synchronous self-timed write circuitry.
Three synchronous Chip Selects (CE
asynchronous Output Enable (OE
lection and output three-state control. ADSP
is HIGH.
Single Read Accesses
A single re ad access is ini ti ated when the following conditions
are satisfied at clock rise: (1) CE
serted active, and (2) ADSP
access is initiated by ADSC
) is 7.5 ns (117-MHz de vice).
CDV
) or the
). Address advancement
input. A
) inputs. A Global Write
) overrides all byte write inpu ts and writes data to
[3:0]
, CE2, CE3) and an
1
) provide for easy bank se-
is ignored if CE
, CE2, and CE3 are all as-
1
or ADSC is asserted LOW (if the
, the write i nputs mus t be de assert-
counter/control logi c and delive red to the RAM cor e . The write
inputs (GW
clock cycle. If the write inputs are asserted active (see Write
, BWE, and BW
[3:0]
Cycle Descriptions table for appropriate states that indicate a
write) on the next clock rise, the appropriate data will be
latched and written into the device. Byte writes are allowed.
During byte writes, BW
DQ
All I/Os are three-stated during a byte write. Since this is a
, BW2 controls DQ
[15:8]
controls DQ
0
[23:16]
common I/O device, the asynchronous OE
be deasserted and the I/Os must be three-stated prior to the
presentation of data to DQ
data lines are three-stated once a write cycle is detected, regardless of the state of OE
[31:0]
.
Single Write Accesses Initiated by ADSC
This write access is init iated when the f ol low ing con diti ons are
satisfied at clock rise: (1) CE
active, (2 ) ADSC
is asserted LOW, (3) ADSP is deasserted
1
HIGH, and (4) t he wri te input signals (GW
indicate a write access . ADSC
The addresses pres ent ed are l oaded int o the ad dres s regi ster
and the burst counter/control logic and delivered to the RAM
core. The information presented to DQ
the specified addr ess locati on. Byte writes ar e allowed . During
1
byte w rites, BW
controls DQ
three-stated when a write is det ected, e ven a b yte wri te. Since
controls DQ
0
, and BWS3 controls DQ
[23:16]
[7:0]
this is a c ommon I/O de vice , the asyn chronous OE
must be deasserted and the I/Os m ust be t hree-st ated pri or to
the presentat ion of da ta to DQ
[31:0]
data lines are three-stated once a write cycle is detected, regardless of the state of OE
.
ed during this first cycle). The address presented to the address inputs is latc hed into the address register and th e burst
Burst Sequences
counter/con trol logic and presented to the memory core . If th e
OE
input is asserted LOW , the requeste d data will be av ailab le
at the data outputs a maximum to t
is ignored if CE1 is HIGH.
after clock rise. ADSP
CDV
Single Write Accesses Initiated by ADSP
This access is initiated when the following conditions are satisfi ed at clock rise: (1) CE
active, and (2) ADSP
, CE2, and CE3 are all asse rted
1
is asserted LOW. The addresses pre-
The CY7C1338 provides an on- chi p 2-bit wraparound burst
counter inside t he SRAM. The burst counter is fed by A
and can follow either a linear or interleaved burst order. The
burst order is determined by the state of the MODE input. A
LOW on MODE will sele ct a l inear b u rst se quence. A HI GH on
MODE will select an interleaved burst order. Leaving MODE
unconnected will cause the device to default to a interleaved
burst sequence.
sented are loaded into the address register and the burst
) are ignored during this first
, BW1 controls
, and BW3 controls DQ
[7:0]
[31:24]
input signal must
. As a safety precaution, the
, CE2, and CE3 are all asserted
, BWE, and BW
[3:0]
is ignored if ADSP is active LOW.
will be wri tt en into
[31:0]
, BW1 controls DQ
[31:24]
, BW
[15:8]
. All I/O s are
input signal
. As a saf ety preca ution, t he
[1:0]
.
)
2
,
4
Page 5
Table 1. Counter Implementation for the Intel®
Pentium®/80486 Processor’s Sequence
First
Address
A
X + 1, Ax
Second
Address
A
X + 1, Ax
Third
Address
A
X + 1, Ax
Fourth
Address
A
X + 1, Ax
00011011
01001110
10110001
11100100
Table 2. Counter Implementation for a Linear Sequence
First
Address
A
, A
X + 1
x
Second
Address
A
, A
X + 1
Third
Address
A
x
X + 1
, A
x
Fourth
Address
A
, A
X + 1
x
00011011
01101100
10110001
11000110
ZZ Mode Electrical Characteristics
CY7C1338
Sleep Mode
The ZZ input pin is an as ynchrono us input. Asserting ZZ HIGH
places the SRAM in a power conservation “sleep” mode. Two
clock cycles are required to enter into or exi t from this “sleep”
mode. While in this mode, data integrity is guaranteed. Accesses pending when entering the “sleep” mode are not considered valid nor is the completion of the operation guaranteed. The device must be deselected prior to entering the
“sleep” mode. CE
inactive for the duration of t
LOW. Leaving ZZ unconnected defaul ts the device into an active stat e.
, CE2, CE3, ADSP, and ADSC must remain
1
after the ZZ input returns
ZZREC
ParameterDescriptionTest ConditionsMin.Max.Unit
I
CCZZ
t
ZZS
t
ZZREC
Snooze mode
ZZ > V
standby cu rrent
Device operat ion to ZZZZ > VDD − 0.2V2t
ZZ recovery timeZZ < 0.2V2t
− 0.2V10mA
DD
CYC
CYC
ns
ns
5
Page 6
CY7C1338
Cycle Description Table
[1, 2, 3]
ADD
Cycle Descripti on
UsedCE1CE3CE2ZZADSPADSCADVWEOECLKDQ
Deselected Cycle , P owe r-downNoneHXXLXLXXXL-H High-Z
Deselected Cycle , P owe r-downNoneLXLLLXXXXL-H High-Z
Deselected Cycle , P owe r-downNoneLHXLLXXXXL-H High-Z
Deselected Cycle , P owe r-downNoneLXLLHLXXXL-H High-Z
Deselected Cycle , P owe r-downNoneXXXLHLXXXL-H High-Z
Snooze Mode, Power-downNoneXXXHXXXXXXHigh-Z
Read Cycle, Begin BurstExternalLLHLLXXXLL-H Q
Read Cycle, Begin BurstExternalLLHLLXXXHL-H High-Z
Write Cycle, Begin BurstExternalLLHLHLXLXL-H D
Read Cycle, Begin BurstExternalLLHLHLXHLL-H Q
Read Cycle, Begin BurstExternalLLHLHLXHHL-H High-Z
Read Cycle, Continue BurstNextXXXLHHLHLL-H Q
Read Cycle, Continue BurstNextXXXLHHLHHL-H High-Z
Read Cycle, Continue BurstNextHXXLXHLHLL-H Q
Read Cycle, Continue BurstNextHXXLXHLHHL-H High-Z
Write Cycle, Continue BurstNextXXXLHHLLXL-H D
Write Cycle, Continue BurstNextHXXLXHLLXL-H D
Read Cycle, Suspend Bur stCurrentXXXLHHHHLL-H Q
Read Cycle, Suspend Bur stCurrentXXXLHHHHHL-H High-Z
Read Cycle, Suspend Bur stCurrentHXXLXHHHLL-H Q
Read Cycle, Suspend Bur stCurrentHXXLXHHHHL-H High-Z
Write Cycle, Suspend BurstCurrentXXXLHHHLXL-H D
Write Cycle, Suspend BurstCurrentHXXLXHHLXL-H D
Notes:
1. X=”Don't Care,” 1=Logic HIGH, 0=Logic LOW.
2. The SRAM always initiates a read cycle when ADSP
after the ADSP or with the assertion of ADSC. As a result, OE must be driven HIGH prior to the start of the write cycle to allow the outputs to three-state. OE
is a “Don't Care” for the remainder of the write cycle.
is asynchronous and is not sampled with the clock rise. During a read cycle DQ=High-Z when OE is inactive, and DQ=data when OE is active.
3. OE
asserted, regardless of the state of GW, BWE, or BWS
7. Not more than one output should be shorted at one time. Duration of the short circuit should not exceed 30 seconds.
Max. VDD, Device Deselected,
V
≥ VDD – 0.3V or VIN ≤ 0.3V,
IN
f = 0, inputs static
All speeds30mA
V
V
8
Page 9
CY7C1338
Capacitance
[8]
ParameterDescriptionTest ConditionsMax.Unit
C
IN
C
I/O
Input CapacitanceTA = 25°C, f = 1 MHz,
V
= 5.0V
I/O Capacitance4pF
DD
4pF
AC Test Loads and Waveforms
R1=317
OUTPUT
=50
Z
Ω
0
V
=1.5V
L
R
L
(a)(b)
Switching Characteristics
=50
Ω
Over the Operating Range
3.3V
OUTPUT
INCLUDING
5pF
JIG AND
SCOPE
[9]
ParameterDescription
t
CYC
t
CH
t
CL
t
AS
t
AH
t
CDV
t
DOH
t
ADS
t
ADH
t
WES
t
WEH
t
ADVS
t
ADVH
t
DS
t
DH
t
CES
t
CEH
t
CHZ
t
CLZ
t
EOHZ
t
EOLZ
t
EOV
Notes:
8. Tested initially and after any design or process changes that may affect these parameters.
9. Unless otherwise noted, test conditions assume signal transition time of 2.5 ns or less, timing reference levels of 1.25V, input pulse levels of 0 to 2.5V, and
output loading of the specified I
10. t
CHZ
11. At any given voltage and temperature, t
12. This parameter is sampled and not 100% tested.
Clock C y cle Tim e8.51 01120ns
Clock HIGH3.04.04.54.5ns
Clock LOW3.04.04.54.5ns
Address Set-Up Before CLK Rise2.02.02.02.0ns
Address Hold After CLK Rise0.50.50.50.5ns
Data Output Valid After CLK Rise7.58.08.511.0ns
Data Output Hold After CLK Rise2.02.02.02.0ns
ADSP, ADSC Set-Up Before CLK Rise2.02.02.02.0ns
ADSP, ADSC Hold After CLK Rise0.50.50.50.5ns
BWS
BWS
, GW, BWE Set-Up Befor e CLK Rise2.02.02.02.0ns
[1:0]
, GW, BWE Hold After CLK Rise0.50.50.50.5ns
[1:0]
ADV Set-Up Before CLK Rise2.02.02.02.0ns
ADV Hold After CLK Rise0.50.50.50.5ns
Data Input Set-Up Before CLK Rise2.02 .02. 02.0ns
Data Input Hold After CLK Rise0.50.50.50.5ns
Chip Enable Set-Up2.02.02.02.0ns
Chip Enable Hold After CLK Rise0 .50.50.50.5ns
Clock to H i g h- Z
Clock to Low-Z
OE HIGH to Output High-Z
OE LOW to Output Low-Z
[10, 11]
[10, 11]
[10, 12]
[10, 12]
OE LOW to Output Valid3.53.53.53.5ns
and load capacitanc e. S hown i n (a) and (b) of A C test loads.
, t
, t
, and t
CLZ
EOHZ
EOLZ
OL/IOH
are specified with a load capacit ance of 5 pF as i n part (b) of A C Test Loads. Transition is measur ed ± 200 mV from steady-stat e v olt age .
(max) is less than t
CHZ
CLZ
(min).
Ω
ALL INPUT PULSES
90%
90%
10%
≤
R2=351
3.0V
≤
10%
3.0 ns
Ω
GND
-117-100-90-50
Min.Max.Min.Max.Min.Max.Min.Ma x. Unit
3.53.53.53.5ns
0000ns
3.53.53.53.5ns
0000ns
3.0 ns
9
Page 10
Timing Diagrams
Write Cycle Timing
CY7C1338
[13, 14]
CLK
ADSP
ADSC
ADV
ADD
GW
WE
CE
1
CE
2
t
ADS
t
CES
Single Write
t
t
CYC
t
ADH
t
t
ADS
t
ADVS
t
AS
ADV Must Be Inactive for ADSP Write
ADH
t
ADVH
WD1
t
AH
t
WH
t
WS
t
t
CES
CEH
t
CEH
CH
WD2
t
t
CL
WS
Burst Write
ADSP
t
WH
ignored with CE1 inactive
ADSC initiated write
masks ADSP
CE
1
Pipelined Write
WD3
Unselected with CE
Unselected
2
CE
3
t
OE
Data-
CES
High-Z
t
CEH
t
DH
t
DS
1a
1a
In
Notes:
13. WE
is the combination of BWE, BW
14. WDx stands for Write Data to Address X.
[3:0]
2a
= UNDEFINED
and GW to define a write cycle (see Write Cycle Descriptions table).
2b
2c
= DON’T CARE
2d
3a
10
High-Z
Page 11
CY7C1338
Timing Diagrams
Read Cycle Timing
Single Read
CLK
t
ADS
ADSP
ADSC
t
ADVS
ADV
t
AS
ADD
GW
WE
CE
1
t
CES
RD1
t
(continued)
[13, 15]
t
CYC
t
ADH
t
ADS
t
t
AH
t
WS
t
WH
CEH
ADVH
RD2
t
CH
t
t
ADH
CL
t
WS
Burst Read
ADSP
Suspend Burst
t
WH
Pipelined Read
ignored with CE1 inactive
ADSC initiated read
RD3
CE
masks ADSP
1
Unselected
CE
2
t
CES
CE
3
t
CES
OE
Data Out
Note:
15. RDx stands for Read Data from Address X.
t
t
CDV
t
t
CEH
EOV
CEH
1a
1a
t
OEHZ
t
CLZ
t
DOH
2a
2b
= DON’T CARE
2c
2c
= UNDEFINED
2d
Unselected with CE
3a
t
CHZ
2
11
Page 12
CY7C1338
Timing Diagrams
(continued)
Read/Write Cycle Timing
CLK
t
AS
ADD
A
t
ADS
ADSP
ADSC
ADV
t
CES
t
ADVH
t
CYC
t
ADH
t
CH
t
AH
B
t
ADS
t
ADVS
t
CL
C
t
ADH
t
CEH
D
CE
1
CE
WE
OE
Data
In/Out
t
CES
t
WES
t
CEH
t
WEH
ADSP ignored
HIGH
1
t
EOHZ
Q
Q
(B+3)
Q(B)D(C)
D
(C+1)
D
(C+2)D(C+3)
t
DOH
t
CHZ
t
CLZ
t
CDV
Q(A)
Q(B)
Q
(B+1)
with CE
(B+2)
Device or ig inally
deselected
WE is the comb ination of BWE, BWS
CE is the combination of CE2 and CE3. All chip selects need to be active in order to select
the device. RAx stands for Read Address X, WAx stands for Write Address X, Dx st ands for Data-in X,
Qx stands for Data-out X.
, and GW to define a write cycle (see Write Cycle Descriptions table).
[1:0]
Q(D)
12
Page 13
CY7C1338
Timing Diagrams
Pipeline Timing
CLK
t
AS
ADD
ADSP
ADSC
ADV
CE
1
A
t
ADS
(continued)
C
B
t
CES
t
CH
D
t
CYC
t
ADH
t
CL
EF
t
CEH
GH
CE
WE
OE
Data
In/Out
t
WES
t
WEH
ADSP ignored
HIGH
1
D (E)D (F)
t
DOH
D (G)
t
CHZ
D (H)
D(C)
t
CLZ
t
CDV
Q(A)
Q(B)
Q(C)
with CE
Q(D)
Device originally
deselected
WE is the combination of BWE, BW
CE is the combination of CE2 and CE3. All chip selects need t o be acti ve in order to select
the device. RAx stands for Read Address X, WAx stands for Write Address X, Dx stands for Data-in X,
Qx stands for Data-out X.
= DON’T CARE
, and GW to define a write cycle (see Write Cycle Descriptions table).
[1:0]
= UNDEFINED
13
Page 14
CY7C1338
Timing Diagrams
OE Switching Waveforms
(continued)
OE
I/Os
t
EOHZ
three-state
t
EOLZ
t
EOV
14
Page 15
CY7C1338
Timing Diagrams
ZZ Mode Timing
CLK
ADSP
ADSC
CE
1
CE
2
CE
3
[16, 17]
(continued)
HIGH
LOW
HIGH
ZZ
I
CC
ICC(active)
t
ZZS
I
CCZZ
t
ZZREC
I/Os
Three-state
Note:
16. Device must be deselected when entering ZZ mode. See Cycle Description table for all possible signal conditions to deselect the device.
17. I/Os are in three-state when exiting ZZ sleep mode.