The CY7C436X4AV is a monolithic, high-speed, low-power,
CMOS Bidirectional Synchronous (clocked) FIFO memory
which supports cloc k freque ncies up to 133 M Hz an d h as read
access times as fast as 6 ns. Two independent 1K/4K/16K x
36 dual-port SRAM FIFOs on board each chip buffer data in
opposite directions. FIFO data on Port B can be input and
output in 36-bit, 18-bit, or 9-bit fo rmats wit h a choice of Big or
Little Endian configurations.
The CY7C436X4AV is a synchronous (clocked) FIFO, meaning each port emplo ys a sync hron ous int erf ace . All data t ransfers th rough a port are gate d to the LO W - to-HI GH trans iti on of
a port clock by enable signals. The clocks for each port are
independent of one another and can be asynchronous or coincident. The enables for each port are arranged to provide a
simple bidi rectional i nterfac e between microproces sors and/or
buses with synchronous control.
Communication b etw een each port ma y b ypas s the FIF Os via
two mailbox registers. The mailbox registers’ width matches
the selected P ort B bus width. Each mailbo x register has a f lag
(MBF1
and MBF2) to signal when new mail has been stored.
T w o kinds of reset are a vailab le on th e CY7C436X4A V : Master
Reset and Partial Reset . Master Rese t init ializ es t he read and
write pointers to the fi rst location of the memory array, configures the FIFO for Big or Little Endian byte arrangement and
selects serial flag programming, parallel flag program m ing, or
one of the three possible default flag offset settings, 8, 16, or
64. Each FIFO has its own independent Master Reset pin,
MRS1
and MRS2.
Partial Reset also sets the read and write pointers to the first
location of the memory. Unlike M aster Reset, any set tings existing prior to P artial Reset ( i.e., progr amming meth od and partial flag default offsets) are retained. Partial Reset is useful
since it permits fl ushing of the FI FO memory witho ut chang in g
any configuration settings. Each FIFO has its own, independent Partial Reset pin, PRS1
The CY7C436X4AV have two modes of operation: In the CY
Standard mode, the first word writt en to an empty FIFO is deposited into the memory array. A read operation is required to
access that word (along with all other words residing in memory). In the First-Word Fall-Through mode (FW FT), the first
and PRS2.
CY7C43664AV/CY7C43684AV
long-word (36-bit wide) written to an empty FIFO appears automatically on the out puts, no read operation required (nevertheless, accessing subsequent words does necessitate a formal read request). The state of the BE/FWFT
operation dete rmines t he mod e in use.
Each FIFO has a combined Empty/Output Ready flag (EFA
ORA and EFB
(FFA
/IRA and F FB/IRB). The EF a nd FF func tions ar e select ed
in the CY Standard mode. EF
is full or not. The IR and OR functions are sele cted in the First Word F all- Through mode. IR indi cates whet her or not the FIFO
has ava il able memory locations. OR shows whet her the FIFO
has data available for read ing or not. It marks the presence of
valid data on the outputs.
Each FIFO has a programmable Al mo st Empty flag (AEA
AEB
) and a programmable Almost Full flag (AFA and AFB).
AEA
and AEB indicate when a selected number of words written to FIFO memory achieve a predetermined “almost empty
state.” AFA
words written t o the m emory achi ev e a predet ermined “almost
full sta te.”
IRA, IRB, AFA
writes data into its array. ORA, ORB, AEA
chronized to th e port clock that reads data from its arr ay. Programmable offset for AEA
parallel usi ng Port A or i n serial v ia the SD i nput. Three d efault
offset settings are also pro vided . The AEA
can be set at 8, 16, or 64 locations from the empty boundary
and AF A
from the full boundary. All these choices are made using the
FS0 and FS1 inputs during Master Reset.
Two or more devices may be used in parallel to create wider
data paths. If at any time the FIFO is not actively performing a
function, the chip will automatically power down. During the
power down state, supply current consumption (I
minimum. Init iating any oper ati on (b y act iv atin g contr ol inputs )
will immediately take the device out of the Power Down state.
A Retransmit feature is available on these devices.
The CY7C436X4AV are characterized for operation from 0
°
to 70
C. Input ESD protect ion is g reater than 2001V, and latch-
up is prevented by the use of guard rings.
/ORB) and a combined Full/Input Ready flag
indicates whether the memory
and AFB indicate when a selected number of
, and AFB are synchro nized to the port clock tha t
, AEB, AFA, and AFB are loaded in
and AFB threshol d can be se t at 8, 16, or 64 locat ions
pin during F IFO
and
, and AEB are syn-
and AEB threshold
) is at a
CC
°
/
C
Selectio n Gu ide
CY7C43644/64/84AV
Maximum Frequency (MHz)13310066.7
Maximum Access Time (ns)6810
Minimum Cycle Time (ns)7.51015
Minimum Data or Enable Set-Up (ns)345
Minimum Data or Enable Hold (ns)000
Maximum Flag Delay (ns)6810
Active Power Supply
Current (I
Density1K x 36 x24K x 36 x216K x 3 6 x 2
Package128 TQFP128 TQFP128 TQFP
CC1
) (mA)
Commercial606060
Industrial60
CY7C43644AVCY7C43664AVCY7C43684AV
7
−
3
CY7C43644/64/84AV
10
−
CY7C43644/64/84AV
15
−
Page 4
CY7C43644AV
PRELIMINARY
CY7C43664AV/CY7C43684AV
Pin Definitions
Signal NameDescriptionI/OFunction
A
0–35
AEA
AEB
AF APort A Almost
AFB
B
0–35
BE/FWFT
BMBus Match
CLKAPort A ClockICLKA is a continuous clock t hat synchr onizes al l data tr ansf ers through P ort A a nd can
CLKBPort B ClockICLKB is a continuous clock t hat synchr onizes al l data tr ansf ers through P ort B a nd can
CSA
CSB
EFA
/ORAPort A Empty/
EFB
/ORBPort B Empty/
ENAPort A EnableIENA must be HIGH to enable a L O W -to- HIGH tra nsition of CLKA to rea d or write dat a
ENBPort B EnableIENB must be HIGH to enable a L O W -to- HIGH tra nsition of CLKB to rea d or write dat a
FFA
/IRAPort A Full/Input
Port A DataI/O 36-bit bidirectional data port for side A.
Port A Almost
Empty Flag
Port B Almost
Empty Flag
Full Flag
Port B Almost
Full Flag
Port B DataI/O 36-bit bidirect ional data port for side B.
Big Endian/
First-Word FallThrough Select
Select (Port A)
Port A Chip
Select
Port B Chip
Select
Output Ready
Flag
Output Ready
Flag
Ready Flag
OProgrammab le Almost Empty flag sy nchroni zed to CLKA. It is LO W when the numb er
of words in FIFO2 is less t han or equa l to the val ue in the Alm ost Empty A of fset register ,
X2.
OProgrammab le Almost Empty flag sync hroni zed to CLKB . It is LO W when the nu mber
of words in FIFO1 is less t han or equa l to the val ue in the Alm ost Empty B of fset register ,
X1.
OProgrammab le Almost Full flag synchronized to CLKA. It is LOW when the number of
empty locations in FIFO1 is less than or equal to the value in the Almost Full A offset
register, Y1.
OProgrammab le Almost Full flag synchronized to CLKB. It is LOW when the number of
empty locations in FIFO2 is less than or equal to the value in the Almost Full B offset
register, Y2.
IThis is a dual-purpose pin. During Maste r Reset, a HIGH on BE will selec t Big Endian
operation. In thi s case, depe nding on the bus size, the most signi ficant byt e or word on
Port A is read from Port B first (A-to-B data flow) or written to Port B first (B-to-A data
flow). A LO W on BE will select Little Endia n operati on. In this case , the lea st significant
byte or word on Port A is read from P ort B fir st ( for A-to-B da ta f low) or written to Port
B first (B-to -A data flo w). Af ter Mast er Reset , th is pi n selec ts th e timi ng mode . A HI GH
on FWFT
Once the timing mode has be en selecte d, the le ve l on FWFT
device operation.
IA HIGH on this pin enables either b yte or wor d bus widt h on Po rt B, dependin g on the
state of SIZE. A LOW selects long word operation. BM works with SIZE and BE to
select the bus size and endian arrangement for Port B. The lev el of BM must be st ati c
throughout device operation.
be asynchronous or coincident to CLKB. FFA
synchronized t o the LOW-to-HIGH transition of CLKA.
be asynchronous or coincident to CLKA. FFB
synchronized t o the LOW-to-HIGH transition of CLKB.
ICSA must be LOW to enable a LOW-to HIGH transition of CLKA to read or write on
Port A. The A
ICSB must be LOW to enable a LOW-to HIGH transition of CLKB to read or write on
Port B. The B
OThis is a dual -function pin. In the CY Stand ard mode , the EF A func tion is selected. EF A
indicates whether or not the FIFO2 memo ry is empty. In the FWFT mode, the ORA
function is selected. ORA indicates the presence of valid data on A
able for reading. EFA
OThis is a dual-funct ion pin. In the CY Standard mode , the EFB functio n is selected. EFB
indicates whether or not the FIFO1 memo ry is empty. In the FWFT mode, the ORB
function is selected. ORB indicates the presence of valid data on B
able for reading. EFB
on Port A.
on Port B.
OThis is a dual-fu nction pi n. In the CY Stand ard mode, the FFA function is selecte d. FF A
indicates whether or not t he FIFO1 memory is full. In the FWFT mode , the IRA function
is selected. IRA indicat es whether or not there is space av ailable fo r writing to the FIFO1
memory. FFA
selects CY Standard mode , a LOW selects First-Word Fall-Thro ugh m ode.
outputs are in the high-impedance state when CSA is HIGH.
0–35
outputs are in the high- impedance state when CSB is HIGH.
0–35
/ORA is synchronized to t he LOW-to-HIGH transition of CLKA.
/ORB is synchronized to t he LOW-to-HIGH transition of CLKB.
/IRA is syn ch r on i ze d to th e L OW-to-H IG H tra n s iti o n o f CLK A .
must be stati c through out
/IRA, E FA/ORA, AFA, and AEA are all
/IRB, EFB /ORB, AFB, and AEB are all
outputs, avail-
0–35
outputs, avail-
0–35
4
Page 5
CY7C43644AV
PRELIMINARY
Pin Definitions
Signal NameDescriptionI/OFunction
FFB/IRBPort B Full/Input
FS1/SEN
FS0/SDFlag Offset
MBAPort A Mailbox
MBBPort B Mailbox
MBF1
MBF2
MRS1
MRS2
PRS1
PRS2
RT1
RT2
SIZEBus Size SelectIA HIGH on this pin when BM is HIGH selects byte bus (9- bit) size on P ort B. A LOW
(continued)
Ready Flag
Flag Offset
Select 1/Serial
Enable
Select 0/Serial
Data
Select
Select
Mail1 Register
Flag
Mail2 Register
Flag
FIFO1 Master
Reset
FIFO2 Master
Reset
FIFO1 Partial
Reset
FIFO2 Partial
Reset
Retransmit
FIFO1
Retransmit
FIFO2
OThis is a du al-functi on pin. I n the CY St andard m ode, th e FFB funct ion is selected. FFB
indicates whether or not t he FIFO2 memory is full. In the FWFT mode , the IRB function
is selected. IRB indicat es whether or not there is space av ailable fo r writing to the FIFO2
memory. FFB
IFS1/SEN and FS0/SD are dual-purpose inputs used for flag offset register program-
ming. During Master Reset , FS1/ SEN
offset program ming method. Three offs et register prog ramming methods are a vailab le:
automatically load one of three preset values (8, 16, or 64), parallel l oad from Port A,
I
and serial load. When serial load i s selec ted f or fl ag offs et regi ster p rogr amming, FS1/
SEN
is used as an enab le synchron ous to the LO W -to-HIGH tr ansition of CLKA. When
FS1/SEN
and Y registers. The number of bi t writes r equir ed to pr ogr am the of fset re gisters i s 4 0
for the CY7C43644AV, 48 for the CY7C43664AV, and 56 f or the CY7C43684AV. The
first bit write stores the Y-register MSB and the last bit write stores the X-register LSB.
IA HIGH lev el on MBA chooses a mailbox regi ster for a Port A read or write operation.
When the A
register for output and a LOW level select s FIFO2 output register data for output.
IA HIGH lev el on MBB chooses a mailbox regi ster for a Port B read or write operation.
When the B
register for output and a LOW level select s FIFO1 output register data for output.
OMBF1 is set LOW by a LOW-to-HIGH transition of CLKA that writes data to the Mail 1
register. Writes to the Mail1 register are inhibited while MBF1
HIGH by a LOW- to-HI GH transiti on of CLKB when a Po rt B read is selected and MBB
is HIGH. MBF1
OMBF2 is set LOW by a LOW-to-HIGH transition of CLKB that writes data to the Mail 2
register. Writes to the Mail2 register are inhibited while MBF2
HIGH by a LOW- to-HI GH transiti on of CLKA when a Po rt A read is selected and MBA
is HIGH. MBF2
IA LOW on this pin initializes the FIFO1 read and write pointers to the first locati on of
memory and sets the P ort B output register to a ll zeroes. A LOW puls e on MRS1
the programmi ng method (serial or parallel ) and one of th ree programmab le flag def ault
offsets f or FIFO1. It al so confi gures Port B for bus siz e and endian arr a ngement. F ou r
LOW-t o-HIGH transitions of CLKA and four LOW-to-HIGH transitions of CLKB must
occur while MRS1
IA LOW on this pin initializes the FIFO2 read and write pointers to the first locati on of
memory and sets the P ort A output register to a ll zeroes. A LOW puls e on MRS2
one of three program ma ble flag default offsets for FIFO2. Four LOW-to- HIGH transitions of CLKA and four LOW-to-H IGH transitions of CLKB must occur whi le MRS2
LOW.
IA LOW on this pin initializes the FIFO1 read and write pointers to the first locati on of
memory and sets the Port B output register to all zeroes. During Partial Reset, the
currently selected bus size , endian arrangement, programmi ng me thod (serial or parallel), and progr am m able flag settings are all retained.
IA LOW on this pin initializes the FIFO2 read and write pointers to the first locati on of
memory and sets the Port A output register to all zeroes. During Partial Reset, the
currently selected bus size , endian arrangement, programmi ng me thod (serial or parallel), and progr am m able flag settings are all retained.
IA LOW strobe on this pin will retransmit data on FIFO1 fro m the location of the write
pointer at the last P artial or Master reset.
IA LOW strobe on this pin will retransmit data on FIFO2 fro m the location of the write
pointer at the last P artial or Master reset.
on this pin when BM is HIGH sele cts word (18-bit) bus size. SI ZE works with BM and
BE to select the bus size and endian arrangement for Port B. The level of SIZE must
be static throughout device operation.
/IRB is syn ch r on i ze d to th e L OW-to-H IG H tra n s iti o n o f CLK B.
is LOW, a rising edge on CLKA loads t he bit present on FS0/SD into the X
outputs are active, a HIGH level on MBA selects data from the Mail2
0–35
outputs are active, a HIGH level on MBB selects data from the Mail1
0–35
is set HIGH following either a Master or Partial Reset of FIFO1.
is set HIGH following either a Master or Partial Reset of FIFO2.
is LOW.
CY7C43664AV/CY7C43684AV
and FS0/SD , toget her with SPM, sel ect the f lag
is LOW. MBF1 is se t
is LOW. MBF2 is se t
selects
selects
is
5
Page 6
CY7C43644AV
CY7C43664AV/CY7C43684AV
Pin Definitions
PRELIMINARY
(continued)
Signal NameDescriptionI/OFunction
SPM
W/RA
W/
RBPort B Write/
Maximum Ratings
Serial
Programming
Port A Write/
Read Select
Read Select
[1]
IA LOW on this pin se lects serial prog ramming o f partial flag offs ets. A HIGH on thi s pin
selects paral lel programming or default off sets (8, 16, or 64).
IA HIGH selects a write operation and a LOW selects a read operation on Port A for a
LOW-t o-HIGH transition of CLKA. The A
when W/RA
is HIGH.
0–35
IA LOW selects a write operation and a HIGH sel ects a read operation on Port B for a
LOW-to-HIGH transitio n o f CLKB . T h e B
when W
/RB is LOW.
0–35
Static Discharge Voltage ........... ............ .. ............ .. ....>2001V
(per MIL-STD-883, Method 3015)
(Abov e which the useful life may be impaired. For user guidelines, not tested.)
Latch-Up Current .....................................................>200 mA
Storage Temperature .......... ............ .............–65°C to +150°C
Ambient Temperature with
Operating Range
Power Applied...............................................–55°C to +125°C
Supply Voltage to Ground Potential...............–0.5V to +7.0V
DC Voltage Applied to Outputs
in High Z State
DC Input Voltage
[2]
......................................–0.5V to VCC+0.5V
[2]
...................................–0.5V to VCC+0.5V
Range
Commercial0°C to +70°C 3.3V ± 10%
Industrial–40°C to +85°C 3.3V ± 10%
Output C ur re n t in to O u tp u ts (LOW) ..... ......... .......... .....20 mA
outputs are i n the high-impedance state
outputs are in the high-impedance state
Ambient
Temperature
[3]
V
CC
Electrical Characteristics
Over the Operating Range
CY7C43644/64/84AV
ParameterDescriptionTest Conditions
V
OH
V
OL
V
IH
V
IL
I
IX
I
OZL
I
OZH
[4]
I
CC1
[5]
I
SB
Capacitance
Output HIGH VoltageVCC = 3.0V ,
I
= –2.0 mA
OH
Output LOW VoltageVCC = 3.0V ,
I
= 8.0 mA
OL
Input HIGH Volta g e2.0V
Input LOW Voltage–0.50.8V
Input Leakage CurrentV
Output OFF, High Z
= Max.–10+10µA
CC
VSS < VO< V
Current
Active Power Supply
Current
Ave rage Standby
Current
[6]
2.4V
0.5V
CC
–10+10
Com’l60mA
Ind60mA
Com’l12mA
Ind12mA
CC
UnitMin.Max.
µA
ParameterDescriptionTest ConditionsMax.Unit
C
IN
C
OUT
Notes:
1. Stresses beyond those listed under “Absolute Maximum Ratings” may cause permanent damage to the device. These are stress ratings only and functional
operation of the device at these or any other conditions beyond those indicated under “recommended operating conditions” is not implied. Exposure to absolutemaximum-rated conditions for extended periods may affect device reliability.
2. The input and output voltage ratings may be exceeded provided the input and output current ratings are observed.
3. Operating V
4. Input signals switch from 0V to 3V with a rise/fall time of less than 3 ns, clocks and clock enables switch at 20 MHz, while data inputs switch at 10 MHz. Outputs
are unloaded.
5. All inputs = V
6. Tested initially and after any design or process changes that may affect these parameters.
Range for -7 speed is 3.3V ± 5%.
CC
– 0.2V, except RCLK and WCLK (which are at frequency = 0 MHz). All outputs are unloaded.
CC
Input CapacitanceTA = 25°C, f = 1 MHz,
V
= 3.3V
Output Capacitance8pF
CC
4pF
V
6
Page 7
CY7C43644AV
PRELIMINARY
AC Test Loads and Waveforms (-10 & -15)
R1=330
3.3V
OUTPUT
CL=30 pF
INCLUDING
JIG AND
SCOPE
AC Test Loads and Waveforms (-7)
I/O
Z0=50
Ω
R2=680
Ω
VCC/2
50Ω
Ω
3.0V
GND
3.0V
GND
CY7C43664AV/CY7C43684AV
ALL INPUT PULSES
90%
90%
10%
10%
3
ns
≤
3
ns
≤
≤
≤
90%
10%
3ns
ALL INPUT PULSES
90%
10%
3ns
Switching Characteristics
Over the Operating Range
ParameterDescription
f
S
t
CLK
t
CLKH
t
CLKL
t
DS
t
ENS
t
RSTS
t
FSS
t
BES
t
SPMS
t
SDS
t
SENS
t
FWS
t
DH
t
ENH
Note:
7. Requirement to count the clock edge as one of at least four needed to reset a FIFO.
Clock Frequency, CLKA or CLKB13310067MHz
Clock Cycle Time, CLKA or CLKB7.51015ns
Pulse Duration, CLKA or CLKB HIGH3.546ns
Pulse Duration, CLKA or CLKB LOW3.546ns
Set-U p Tim e, A
CLKB↑
before CLKA↑ and B
0–35
0–35
before
Set-Up Time, CSA, W/RA, ENA, and MBA before
CLKA↑; CSB
Set-Up Time, M RS1, MRS2, PRS1, or PRS2 LOW
before CLKA↑ or CLKB↑
, W/RB, ENB, and MBB be for e CLKB↑
[7]
Set-Up Time , FS0 and FS1 bef ore MRS1 a nd MRS2
HIGH
Set-Up Time, BE/FWFT before MRS1 and MRS2
HIGH
Set-Up Time, SPM before MRS 1 and MRS2 HIGH577.5ns
Set-Up Time, FS0/SD before CLKA↑345ns
Set-Up Time, FS1/SEN before CL K A ↑345ns
Set-Up Time, BE/FWFT before CLKA↑000ns
Hold Time, A
CLKB↑
after CLKA↑ and B
0–35
0–35
after
Hold Time, CSA, W/RA, ENA, and MBA after
CLKA↑; CSB
, W/RB, ENB, and MBB after CLKB↑
CY7C43644/
64/84AV
–7
CY7C43644/
64/84AV
–10
CY7C43644/
64/84AV
–15
UnitMin.Max.Min.Max.Min.Max.
345ns
345ns
2.545ns
577.5ns
577.5ns
000ns
120ns
7
Page 8
CY7C43644AV
CY7C43664AV/CY7C43684AV
CY7C43644/
64/84AV
–7
CY7C43644/
64/84AV
–10
CY7C43644/
64/84AV
–15
Switching Characteristics
PRELIMINARY
Over the Operating Range (continued)
ParameterDescription
t
RSTH
t
FSH
t
BEH
t
SPMH
t
SDH
t
SENH
t
SPH
t
SKEW1
t
SKEW2
t
A
t
WFF
t
REF
t
PAE
t
PAF
Hold Time, MRS1, MRS 2, PRS1, or PRS2 LOW
after CLKA↑ or CLKB↑
[7]
Hold Time, FS0 and FS1 after MRS1 and MRS2
114ns
112ns
HIGH
Hold Time, BE/FWFT after MRS1 and MRS2 HIGH002ns
Hold Time, SPM after MRS1 and MRS2 HIGH002ns
Hold Time, FS0/SD after CLKA↑010ns
Hold Time, FS1/SEN after CLKA↑550ns
Hold Time, FS1/SEN HIGH after MRS1 and MRS2
222ns
HIGH
[8]
Skew Time between CLKA↑ and CLKB↑ for EFA/
ORA, EFB
[8]
Skew Time between CLKA↑ and CLKB↑ for AEA,
AEB
Access Time, CLKA↑ to A
/ORB, FFA/IRA, and FFB/IRB
, AFA, AFB
and CLKB↑ to B
0–35
Propagation Delay Time, CLKA↑ to FFA/IRA a n d
CLKB↑ to FFB
/IRB
Propagation Delay Time, CLKA↑ to EFA/ORA and
CLKB↑ to EFB
/ORB
Propagation Delay Time, CLKA↑ to AEA and
0–35
7.57.57.5ns
7812ns
1618310ns
1618210ns
1618110ns
1618110ns
CLKB↑ to AEB
Propagation Dela y Time, CLKA↑ to AFA and CLKB↑
1618110ns
to AFB
t
PMF
Propagation Delay Time, CLKA↑ to MBF 1 LOW or
MBF2
HIGH and CLKB↑ to MBF2 LOW or MBF 1
0608010ns
HIGH
t
PMR
t
MDV
t
RSF
t
EN
t
DIS
Propagation Delay Time, CLKA↑ to B
CLKB↑ to A
0–35
[10]
Propagation Delay Time, MBA to A
MBB to B
0–35
Va lid
Propagation Delay Time, MRS1 or PRS1 LOW to
AEB
LOW, AFA HIGH, FFA / IRA LOW, EFB /ORB
LOW and MBF1
AEA
Disable Time , CSA or W/RA HIGH to A
Impedance an d CSB
HIGH or W/RB LOW to B
at High Impedance
t
PRT
t
RTR
Notes:
8. Ske w time is not a timing constraint for proper device operation and is only included to illustrate the timing relationship between the CLKA cycle and the CLKB
cycle.
Port B Long-Word Write Cycle Timing for FIFO2 (CY Standard and FW FT Modes)
t
CLKH
CLK
t
CLKL
t
CLKB
/IRB
FFB
HIGH
t
ENS
t
ENH
CSB
t
t
ENH
ENS
W/RB
t
t
ENS
ENH
MBB
t
ENS
t
ENH
t
ENS
t
ENH
ENB
tDSt
B
0−35
W1
[20]
DH
W2
[20]
t
ENStENH
Port B Word Write Cycle Timing for FIFO2 (CY Standard and FWFT Modes)
CLKB
/IRB
FFB
HIGH
t
ENS
t
CSB
t
ENS
W/RB
t
ENStENH
t
ENS
t
MBB
t
t
ENS
t
ENH
t
ENS
ENB
t
B
0–17
Note:
20. Written to FIFO2.
DStDH
ENH
ENH
ENH
12
Page 13
CY7C43644AV
PRELIMINARY
Switching Waveforms
Port B Byte Write Cycle Ti ming for FIFO2 (CY Standard and FWFT Modes)
CLKB
/IRB
FFB
CSB
W/RB
MBB
ENB
B
0–8
HIGH
(continued)
t
ENS
t
ENS
t
ENS
t
ENS
t
DS
t
t
ENH
ENH
t
DH
CY7C43664AV/CY7C43684AV
t
ENH
t
ENH
t
t
ENH
ENS
Port B Long-Word Read Cycle Timing for FIFO1 (CY Standard and FWFT Modes )
t
CLK
t
CLKH
t
CLKL
CLKB
EFB
/ORB
CSB
W/RB
MBB
t
ENS
t
ENH
t
ENS
t
ENH
ENB
B
0–35
(Standard Mode)
OR
B
0–35
(FWFT Mode)
Note:
21. Read From FIFO1.
W1
[21]
t
A
[21
W1
t
A
[21
W2
t
MDV
t
EN
t
MDV
t
EN
Previous Data
t
A
]
t
A
]
t
ENStEN
No Operation
]
[21
W2
]
[21
W3
t
DIS
t
DIS
13
Page 14
CY7C43644AV
PRELIMINARY
Switching Waveforms
Port B Word Read Cycle Timing for FIFO1 (CY Standard and FWFT Modes)
CLKB
/ORB
EFB
CSB
W/RB
MBB
ENB
B
0–8
(Standard Mode)
OR
B
0–8
(FWFT Mode)
HIGH
(continued)
t
t
EN
t
MDV
t
EN
MDV
t
t
ENS
ENH
t
Previous Data
t
Read 1
t
Read 1
t
Read 2
A
A
A
A
Read 2
Read 3
t
A
t
CY7C43664AV/CY7C43684AV
[22]
Read 5
t
DIS
t
DIS
t
No Operation
A
Read 3
A
Read 4
Read 4
t
A
Port B Byte Read Cycle Timing for FIFO1 (CY Standard and FWFT Modes)
CLKB
/ORB
EFB
CSB
W/RB
MBB
t
t
ENH
ENS
ENB
B
0–17
(Standard Mode)
OR
B
0–17
(FWFT Mode)
Notes:
22. Unused word B
23. Unused bytes B
t
t
EN
t
EN
contains all zeroes for word-size reads.
18–35
, B
18–26
, and B
9–17
MDV
t
MDV
contain all zeroes for byte-size reads.
27–35
t
A
Previous Data
t
A
Read 1
Read 1
Read 2
[23]
t
A
t
A
No Operation
Read 2
Read 3
t
DIS
t
DIS
14
Page 15
CY7C43644AV
PRELIMINARY
Switching Waveforms
Port A Read Cycle Timing for FIFO2 (CY Standard and FWFT Modes)
CLKA
/ORA
EFA
CSA
W/RA
MBA
ENA
A
0−35
(Standard Mode)
OR
A
0−35
(FWFT Mode)
(continued)
t
CLKH
t
EN
t
EN
t
CLK
t
t
MDV
MDV
t
CLKL
t
t
ENS
ENH
t
Previous Data
[24]
W1
A
W1
t
A
W2
CY7C43664AV/CY7C43684AV
[24]
[24]
t
ENS
t
ENH
t
A
t
A
t
ENStENH
No Operation
[24]
W2
[24]
W3
t
DIS
t
DIS
Note:
24. Read From FIFO2.
15
Page 16
CY7C43644AV
CY7C43664AV/CY7C43684AV
Switching Waveforms
PRELIMINARY
(continued)
ORB Flag Timing and First Data Word Fall Through when FIFO1 is Empty (FWFT Mode)
t
CLK
t
t
CLKH
CLKL
CLKA
CSA
W/RA
LOW
HIGH
t
ENS
t
EN
MBA
t
t
ENS
EN
ENA
FFA
A
0–35
CLKB
/IRA
HIGH
t
t
DH
DS
W1
[26]
t
t
SKEW
CLKH
t
CLKL
[25]
t
REF
EFB
CSB
W/RB
MBB
/ORB
FIFO1 Empty
LOW
HIGH
LOW
t
CLK
ENB
t
A
B
0–35
Notes:
25. If Port B size is word or byte, EFB
26. t
is the minimum time between a rising CLKA edge and a rising CLKB edge for ORB to transition HIGH and to clock the next word to the FIFO1 output
SKEW1
register in three CLKB cycles. If the time between the rising CLKA edge and rising CLKB edge is less than t
load of the first word to the output register may occur one CLKB cycle later than shown.
Old Data in FIFO1 Output Register
is set LOW by the last word or byte read from FIFO1, respectively.
t
ENStENH
t
REF
W1
, then the transition of ORB HIGH and
SKEW1
16
Page 17
CY7C43644AV
PRELIMINARY
Switching Waveforms
EFB Flag Timing and First Data Read F all Through when FIFO1 is
Empty (CY Standard Mode)
CLKA
CSA
W/RA
MBA
ENA
FFA
A
0–35
CLKB
EFB
/IRA
/ORB
LOW
HIGH
HIGH
FIFO1 Empty
(continued)
[25]
t
t
ENH
ENS
t
t
ENS
ENH
t
t
DS
DH
W1
t
SKEW
[27]
t
CLKH
t
CLK
t
CLKL
t
t
REF
CLKH
t
CLK
CY7C43664AV/CY7C43684AV
t
CLKL
t
REF
CSB
W/RB
MBB
LOW
HIGH
LOW
ENB
B
0–35
Note:
27. t
is the minimum time between a rising CLKA edge and a rising CLKB edge for EFB to transition HIGH in the next CLKB cycle. If the time between
SKEW1
the rising CLKA edge and rising CLKB edge is less than t
t
t
ENS
ENH
t
A
W1
, then the transition of EFB HIGH may occur one CLKB cycle later than shown.
SKEW1
17
Page 18
CY7C43644AV
PRELIMINARY
Switching Waveforms
ORA Flag Timing and First Data Word Fall Through when FIFO2 is Empty
(FWFT Mode)
CLKB
CSB
W/RB
MBB
ENB
FFB
/IRB
B
0–35
CLKA
EFA
/ORA
[28]
LOW
LOW
HIGH
FIFO2 Empty
(continued)
t
t
ENS
ENH
t
t
ENH
ENS
t
t
DH
DS
W1
t
SKEW1
[29
]
t
CLKHtCLKL
t
CLK
t
CLK
t
CLKHtCLKL
CY7C43664AV/CY7C43684AV
t
t
REF
REF
CSA
W/RA
MBA
LOW
LOW
LOW
ENA
t
A
A
0–35
Notes:
28. If Port B size is word or byte, t
29. t
is the minimum time between a rising CLKB edge and a rising CLKA edge for ORA to transition HIGH and to clock the next word to the FIFO2 output
SKEW1
register in three CLKA cycles. If the time between the rising CLKB edge and rising CLKA edge is less than t
load of the first word to the output register may occur one CLKA cycle later than shown.
Old Data in FIFO2 Output Register
is referenced to the rising CLKB edge that writes the last word or byte of the long word, respectively.
SKEW1
t
ENStENH
W1
, then the transition of ORA HIGH and
SKEW1
18
Page 19
CY7C43644AV
Switching Waveforms
EFA
Flag Timing and First Data Read when FIFO2 is Empty (CY Standard Mode)
CLKB
CSB
W/RB
MBB
ENB
FFB
B
0–35
CLKA
EFA
/IRB
/ORA
LOW
LOW
HIGH
FIFO2 Empty
(continued)
t
t
ENH
ENS
t
t
ENH
ENS
t
t
DH
DS
W1
t
SKEW1
PRELIMINARY
[30]
t
CLKHtCLKL
t
CLK
t
CLK
t
CLKHtCLKL
t
REF
CY7C43664AV/CY7C43684AV
[28]
t
REF
CSA
W/RA
MBA
LOW
LOW
LOW
ENA
A
0–35
Note:
30. t
is the minimum time between a rising CLKB edge and a rising CLKA edge for EFA to transition HIGH in the next CLKA cycle. If the time between the
SKEW1
rising CLKB edge and rising CLKA edge is less than t
t
ENStENH
t
A
W1
, then the transition of EFA HIGH may occur one CLKA cycle later than shown.
SKEW1
19
Page 20
CY7C43644AV
PRELIMINARY
t
CLKH
(continued)
t
CLK
t
CLKL
t
ENS
t
ENH
tA
t
SKEW1
Next Word From FIFO1
[31]
t
CLKHtCLKL
t
CLK
t
WFF
Switching Waveforms
IRA Flag Timing and First Availabl e Writ e when FIFO1 is Full (FWFT Mode)
CLKB
CSB
W/RB
MBB
ENB
EFB
B
0–35
CLKA
FFA
/ORB
/IRA
LOW
HIGH
HIGH
Previous Word in FIFO1 Output Register
FIFO1 Full
CY7C43664AV/CY7C43684AV
[28]
t
WFF
CSA
W/RA
LOW
HIGH
MBA
ENA
A
0–35
Note:
31. t
is the minimum time between a rising CLKB edge and a rising CLKA edge for IRA to transition HIGH in the next CLKA cycle. If the time between the
SKEW1
rising CLKB edge and rising CLKA edge is less than t
t
t
ENS
ENH
t
ENStENH
t
t
DS
DH
To FIFO1
, then IRA may transition HIGH one CLKA cycle later than shown.
SKEW1
20
Page 21
CY7C43644AV
CY7C43664AV/CY7C43684AV
Switching Waveforms
PRELIMINARY
(continued)
FFA Flag Timing and First Available Write when FIFO1 is Full (CY Standard Mode)
t
CLK
t
t
CLKH
CLKL
CLKB
CSB
W/RB
LOW
HIGH
MBB
t
ENStENH
ENB
/ORB
EFB
B
0–35
HIGH
t
A
Previ o us Word in FI FO1 Output Register
t
SKEW1
Next Word From FIFO1
[32]
t
CLKH
t
CLKL
CLKA
t
WFF
FFA
/IRA
FIFO1 Full
t
CLK
t
WFF
[28]
CSA
W/RA
LOW
HIGH
MBA
ENA
A
0−35
Note:
32. t
is the minimum time between a rising CLKB edge and a rising CLKA edge for FFA to transition HIGH in the next CLKA cycle. If the time between the
SKEW1
rising CLKB edge and rising CLKA edge is less than t
t
t
ENH
ENS
t
t
ENS
ENH
tDHt
DS
, then the transition of FFA HIGH may occur one CLKA cycle later than shown.
SKEW1
21
Page 22
CY7C43644AV
PRELIMINARY
t
CLK
(continued)
t
CLKL
t
t
ENS
ENH
t
SKEW1
tA
Next Word From FIFO2
[34]
t
CLKH
t
CLK
t
CLKL
t
WFF
Switching Waveforms
IRB Flag Timing and First Available Write when FIFO2 is Full (FWFT Mode)
t
CLKH
CLKA
CSA
W/RA
MBA
ENA
EFA
A
0–35
CLKB
FFB
/ORA
/IRB
LOW
LOW
LOW
HIGH
Previo us Word i n FIFO2 Out put Register
FIFO2 Full
CY7C43664AV/CY7C43684AV
[33]
t
WFF
CSB
W/RB
LOW
LOW
t
ENS
t
ENH
MBB
t
t
ENH
ENS
ENB
tDHt
DS
B
0–35
To FIFO2
Notes:
33. If Port B size is word or byte, IRB is set LOW by the last word or byte write of the long-word, respectively.
34. t
is the minimum time between a rising CLKA edge and a rising CLKB edge for IRB to transition HIGH in the next CLKB cycle. If the time between the
SKEW1
rising CLKA edge and rising CLKB edge is less than t
, then the transition of IRB HIGH may occur one CLKB cycle later than shown.
SKEW1
22
Page 23
CY7C43644AV
PRELIMINARY
t
CLK
t
(continued)
CLKL
Switching Waveforms
FFB Flag Timing and First Available Write when FIFO2 is Full (CY Standa rd Mode)
t
CLKH
CY7C43664AV/CY7C43684AV
CLKA
CSA
W/RA
MBA
LOW
LOW
LOW
t
ENS
t
ENH
ENA
EFA
A
0–35
/ORA
HIGH
t
A
Previous Word in FIFO12 Output Register
t
SKEW1
Next Word From FIFO2
[36]
t
CLKH
t
CLKL
CLKB
t
WFF
FFB
/IRB
FIFO2 Full
t
CLK
t
WFF
[35]
CSB
W/RB
LOW
LOW
MBB
ENB
B
0–35
Notes:
35. If Port B size is word or byte, FFB
36. t
is the minimum time between a rising CLKA edge and a rising CLKB edge for FFB to transition HIGH in the next CLKB cycle. If the time between the
SKEW1
rising CLKA edge and rising CLKB edge is less than t
is set LOW by the last word or byte write of the long-word, respectively.
t
t
ENS
ENH
t
ENStENH
tDHt
DS
To FIFO2
, then the transition of FFB HIGH may occur one CLKB cycle later than shown.
SKEW1
23
Page 24
CY7C43644AV
Switching Waveforms
Timi ng for A E B
CLKA
ENA
CLKB
AEB
ENB
Timing for AEA
when FIFO2 is Almost Empty (CY Standard and FWFT Modes)
X1 Word in FIFO1
when FIFO2 is Almost Empty (CY Standard and FWFT Modes)
(continued)
t
ENS
PRELIMINARY
t
ENH
[39]
t
SKEW2
CY7C43664AV/CY7C43684AV
[37, 38]
t
t
PAE
ENH
t
PAE
(X1+1)Words in FIFO1
t
ENS
[40, 41]
CLKB
t
ENS
t
ENH
ENB
[42]
t
SKEW2
CLKA
AEA
X2 Word in FIFO2
t
PAE
(X2+1)Words in FIFO2
t
ENS
t
t
PAE
ENH
ENA
Notes:
37. FIFO1 Write (CSA
read from the FIFO.
38. If Port B size is word or byte, AEB
39. t
40. FIFO2 Write (CSB = LOW, W/RB = LOW, MBB = LOW), FIFO2 read (CSA = LOW, W/RA = LOW, MBA = LOW). Data in the FIFO2 output register has been
41. If Port B size is word or byte, t
42. t
is the minimum time between a rising CLKA edge and a rising CLKB edge for AEB to transition HIGH in the next CLKB cycle. If the time between
SKEW2
the rising CLKA edge and rising CLKB edge is less than t
read from the FIFO.
is the minimum time between a rising CLKB edge and a rising CLKA edge for AEA to transition HIGH in the next CLKA cycle. If the time between
SKEW2
the rising CLKB edge and rising CLKA edge is less than t
= LOW , W/RA = LOW, MBA = LOW), FIFO1 read (CSB = LOW, W/RB = HIGH, MBB = LOW). Data in the FIFO1 output register has been
is set LOW by the last word or byte read from FIFO1, respectively.
, then AEB may transition HIGH one CLKB cycle later than shown.
SKEW2
is referenced to the rising CLKB edge that writes the last word or byte of the long-word, respectively.
SKEW2
, then AEA may transition HIGH one CLKA cycle later than shown.
SKEW2
24
Page 25
CY7C43644AV
PRELIMINARY
Switching Waveforms
Timing for AFA when FIFO1 is Almost Full (CY Standard and FWFT Modes)
CLKA
ENA
AFA
CLKB
ENB
Timing for AFB
CLKB
ENB
AFB
[D–(Y1+1)] Words in FIFO1
when FIFO2 is Almost Full (CY Standard and FWFT Modes)
[D–(Y2+1)] Words in FIFO2
(continued)
t
ENS
t
ENS
t
PAF
t
t
ENH
ENH
t
PAF
t
SKEW2
(D–Y1)Words in FIFO1
t
ENS
ENH
t
SKEW2
t
(D–Y2)Words in FIFO2
[45]
[47]
CY7C43664AV/CY7C43684AV
[41, 43, 44]
t
PAF
[40, 44, 46 ]
t
PAF
CLKA
t
t
ENS
ENH
ENA
Notes:
43. FIFO1 Write (CSA
read from the FIFO.
44. D = Maximum FIFO Depth = 1K for the CY7C43644AV, 4K for the CY7C43664AV, and 16K for the CY7C43684AV.
45. t
46. If Port B size is word or byte, AFB is set LOW by the last word or byte write of the long-word, respectively.
47. t
is the minimum time between a rising CLKA edge and a rising CLKB edge for AFA to transition HIGH in the next CLKA cycle. If the time between the
SKEW2
rising CLKA edge and rising CLKB edge is less than t
is the minimum time between a rising CLKB edge and a rising CLKA edge for AFB to transition HIGH in the next CLKB cycle. If the time between
SKEW2
the rising CLKB edge and rising CLKA edge is less than t
= LOW , W/RA = HIGH, MBA = LOW), FIFO1 read (CSB = LOW, W/RB = HIGH, MBB = LOW). Data in the FIFO1 output register has been
, then AFA may transition HIGH one CLKB cycle later than shown.
SKEW2
, then AFB may transition HIGH one CLKA cycle later than shown.
SKEW2
25
Page 26
CY7C43644AV
Switching Waveforms
(continued)
Timing for Mail1 Register and MBF1
CLKA
CSA
t
W/RA
MBA
ENA
A
0–35
CLKB
MBF1
PRELIMINARY
Flag (CY Standard and FWFT Modes)
t
t
ENH
ENS
t
ENS
t
ENS
t
ENS
t
DS
W1
ENH
t
ENH
t
ENH
t
DH
t
PMF
CY7C43664AV/CY7C43684AV
[48]
t
PMF
CSB
W/RB
MBB
ENB
t
EN
FIFO1 Output Register
Note:
48. If Port B is configured for word size, data can be written to the Mail1 register using A
valid data (B
inputs). In this second case, B
will be indeterminate). If Port B is configured for byte size, data can be written to the Mail1 Register using A
18–35
will have valid data (B
0–8
t
MDV
will be indeterminate).
9–35
t
PMR
t
ENS
W1 (Remains valid in Mail1 Register after read)
(A
0–17
are “Don’t Care” inputs). In this first case B
18–35
t
ENH
0–8
(A
t
DIS
0–17
are “Don’t Care”
9–35
will have
26
Page 27
CY7C43644AV
PRELIMINARY
Switching Waveforms
Timing for Mail2 Register and MBF2 Fla g (CY Standard and FWFT Modes)
CLKB
CSB
W/RB
MBB
ENB
B
0–35
CLKA
MBF2
(continued)
t
ENS
t
t
t
ENS
ENS
ENS
t
DS
W1
t
t
t
t
ENH
t
ENH
ENH
ENH
DH
t
PMF
CY7C43664AV/CY7C43684AV
[49]
t
PMF
CSA
W/RA
MBA
t
ENS
t
ENH
ENA
t
MDV
t
PMR
W1 (Remains valid in Mail2 Register after read)
A
0-35
FIFO1 Retransmit Timing
t
EN
FIFO2 Output Register
[50, 51, 52, 53]
RT1
t
PRT
t
RTR
ENB
EFB/FFA
Notes:
49. If Port B is configured for word size, data can be written to the Mail2 register using B
valid data (A
inputs). In this second case, A
50. Retransmit is performed in the same manner for FIFO2.
51. Clocks are free running in this case.
52. The flags may change state during Retransmit as a result of the offset of the read and write pointers, but flags will be valid at t
53. For the synchronous PAE and PAF flags (SMODE), an appropriate clock cycle is necessary after t
will be indeterminate). If Port B is configured for byte size, data can be written to the Mail2 Register using B
18–35
will have valid data (A
0–8
will be indeterminate).
9–35
0–17
(B
are “Don’t Care” inputs). In this first case A
18–35
to update these flags.
RTR
0–8
RTR
(B
.
t
DIS
0–17
are “Don’t Care”
9–35
will have
27
Page 28
CY7C43644AV
PRELIMINARY
Signal Description
Master Reset (MRS1, MRS2)
Each of the t wo FIFO memories of the CY7C436X4AV undergoes a complete reset by taking its associated Master Reset
, MRS2) i nput LOW for a t least f our P ort A clock ( CLKA)
(MRS1
and four Port B clock (CLKB) LOW-to-HIGH transitions. The
Master Reset inputs can s witch asynchro nously to the clocks.
A Master Reset initializes the internal read and write pointers
and forc es the Full /Input Read y flag (FF A
the Empty/Output Ready flag (EF A
Almost Empty flag (AEA
(AFA
, AFB) HIGH. A Master Reset also f orces the Mailbo x flag
(MBF1
, MBF2) of the parallel mailbox register HIGH. After a
Master Reset, the FIFO’s Full/Input Ready flag is set HIGH
after tw o cloc k cycles to beg in normal oper ati on. A Master Reset must be p erformed on the FIF O after po wer up , bef ore data
is written to its memory.
A LOW-to-HIGH transition on a FIFO Master Reset (MRS1
MRS2
) input latches the value of the Big Endian (BE) input or
determining the order by which bytes are transferred through
Port B.
A LOW-to-HIGH transition on a FIFO reset (MRS1
input latches the values of the Flag select (FS0, FS1) and Serial Programming Mode (SPM
Full and Almost Empty offset programming method (see Almost Empty and Almost Full fl ag offset programming below).
Partial Reset (PRS1
Each of the t wo FIFO memories of the CY7C436X4AV undergoes a limited reset by taking its associated Partial Reset
(PRS1
, PRS2) input LO W fo r at l east four P ort A clock ( CLKA)
and four Port B clock (CLKB) LOW-to-HIGH transitions. The
Partial Reset inputs can switch asynchronously to the clocks.
A Partial Reset initializes the internal read and write pointers
and forc es the Full /Input Read y flag (FF A
the Empty/Output Ready flag (EF A
Almost Empty flag (AEA
(AFA
, AFB) HIGH. A Partial Reset also forces the Mailb o x flag
(MBF1
, MBF2) of the parallel mailbox register HIGH. After a
Partial Reset, the FIFO’s Full/Input Ready flag is set HIGH
after two cl ock cycles to begin normal oper ation.
Whatever flag offsets, programming method (parallel or serial), and timing mode (FWFT or CY Standard mode) are currently selected at the time a Partial Reset is initiated, those
settings will remain unchanged upon completion of the reset
operation. A Partial Reset may be useful in the case where
reprogramming a FIFO following a Master Reset would be inconvenient.
Big Endian/First Word Fall Through (BE/FWFT
This is a dual-purpose pi n. At the time of Master Reset , the BE
select function is active, permitting a choice of Big or Little
Endian byte arrangement for data written to or read from Port
B. This selection determines the order by which bytes (or
words) of data ar e t ransferred th rough t his port. For t he f ollo wing illustrations, assume that a byte (or word) bus size has
been selected for Port B. ( Note that when Port B is configured
for a l ong word si ze, t he Big Endian function has no appli cation
and the BE input is a “Don’t Care ”.)
A HIGH on the BE/FWFT
and MRS2) inputs go from LOW to HIGH will select a Big En-
, AEB) LOW, and the Almost Full flag
) inputs f or choosing the Almost
, PRS2)
, AEB) LOW, and the Almost Full flag
input when the M aster Reset (M RS1
/IRA, FFB/IRB) LOW,
/ORA, EFB/ORB) LOW, the
, MRS2)
/IRA, FFB/IRB) LOW,
/ORA, EFB/ORB) LOW, the
)
CY7C43664AV/CY7C43684AV
dian arrangement. When data is moving in the direction from
Port A to Port B, the most significant byte (word) of the longword written to Port A will be read from Port B first; the least
significant b y te (word) of the lo ng word written to Port A will be
read from Por t B last. When data is moving in the direction
from Port B to Port A, the byte (word) written to Port B first will
be read from Port A as the most significant byte (word) of the
long-word; the byte (word) written to Port B last will be read
from Port A as the least significant byte (word) of the longword.
A LOW on the BE/FWFT
and MRS2) inputs go from LOW to HIGH will select a Little
Endian arrangement. When data is moving in the direction
from Port A to Port B, the least significant byte (word) of the
long word written to Port A will be read from Port B first; the
most significant byte (word) of the long-word written to Port A
will be read fr om Port B last. Whe n data i s mo ving in the direc tion from P ort B to P ort A, the b yte ( word) written to P ort B first
will be read from port A as the least significant byte (word) of
,
the long-word; t he byte ( word) written to Port B last will be read
from Port A as the most significant byte (word) of the longword.
After Master Reset, t he FWFT select func tion is activ e, permitting a choice between two possible timing modes: CY Standard mode or First-Word Fall-Through (FWFT) mode. Once
the Master R eset (MRS 1
BE/FWFT
CLKA (for FIFO1) and CLKB (for FIFO2) will select CY Standard mode. This mode uses the Empty Flag function (EFA
EFB
the FIFO memory. It uses the Full Flag function ( FFA
indicate whether or not the FIFO memory has any free space
for writing. In CY Standard mode, every word read from the
FIFO, including the first, must be requested using a formal
read operation.
Once the Master Reset (MR S 1
on the BE/FWFT
of CLKA (for FIFO1) and CLKB (for FIFO2) will select FWFT
mode. This mode uses the Output Ready function (ORA,
ORB) to indicate whether or not there is valid data at the data
outputs (A
(IRA, IRB) to indicate whe ther or not the FIFO memory has any
free space fo r writing. In the FWFT mode, t he first word written
to an empty FIFO goes directly to data outputs, no read request necessary. Subsequent words must be accessed by
performing a f ormal r ead operation.
Followi ng Ma ster Reset, the level applied to the BE/FWFT
put to choose the desired timing mode must remain static
throughout the FIFO ope ration.
Programming the Almost Empty and Almost Full Flags
Four regi sters i n the CY7C436 X4A V are us ed to hold the offset
values fo r the Almost Empty and Almost Ful l flags. The P ort B
Almost Empty flag (AEB
Port A Almost Empty flag (AEA
The Port A Almost Full flag (AFA
and the Port B Almost Full fl ag (AFB
Y2. The index of each register name corresponds with preset
values during the reset of a FIFO, programmed in parallel using the FIFO’s Port A data inputs, or programmed in serial
using the Serial Data (SD) input ( see Table 1). T o l oad a FIFO’s
Almost Empty flag and Almost Full flag offset registers with
one of the three preset val ues list ed in Table 1, the Serial Pro-
input at the second LOW-to-HIGH transition of
) to indicat e whet her or not t here a re any wo rds present in
input during the next LOW -to-HI GH transi tion
or B
0–35
input when the Master Reset (MRS1
, MRS2) input is HIGH, a HIGH on the
, MRS2) input is HIGH, a LO W
). It also uses the Input Ready func tion
0–35
) offset register is labeled X1 and the
) offset register is labeled X2.
) offset register is label ed Y1
) offset register is l abeled
,
, FFB) to
in-
28
Page 29
CY7C43644AV
PRELIMINARY
gram Mode (SPM) and at least one of the flag-select inputs
must be HIGH during t he LOW -to-HI GH transit ion of its Mast er
Reset input (MRS1
set value of 64 into X1 and Y1, SPM
HIGH when FIFO1 reset (MRS1
registers associated with FIFO2 are loaded with one of the
preset values in the same way with Master Reset (MRS2
When using one of the preset values for the flag offsets, the
FIFOs can be reset simultaneously or at dif ferent times.
To program the X1, X2, Y1, and Y2 registers from Port A, perform a Master Reset on both FIFOs simultaneously with SPM
HIGH and FS0 and FS1 LOW during the LOW-to-HIGH transition of MRS1
four writes to FIFO1 do not store data in RAM but load the
offset registers in the order Y1, X1, Y2, X2. The Port A data
inputs used by the offset registers are (A
(A
), or (A
0–11
highest numbered input is used as the most significant bit of
the binary number i n each ca se . Valid programming v alues f or
the registers r ange from 1 to 1012 f or the CY7C436 44AV; 1 to
4092 for the CY7C43664A V; 1 to 16380 for the CY7C43684A V .
After all the offset registers are programmed from Port A, the
Port B Full/ Input Ready ( FFB
begin normal operation.
To program the X1, X2, Y1, and Y2 registers s eria ll y, initiate a
Master Reset with SPM LOW, FS0/SD LOW, and FS1/SEN
HIGH during t he LO W - to-HI GH tr ans ition of M RS1 and MRS2.
After this reset is complete, the X and Y register values are
loaded bit-wise through the FS0/SD input on each LOW-toHIGH transition of CLKA that the FS1/SEN
Thir ty -two, thir ty-six, forty, forty-eigh t, or fifty - si x b it w rites are
needed to complete the programming for the CY7C436X4AV,
respectiv ely. The four regist ers are written in the order Y1, X1,
Y2, and, finally, X2. The first-bit write stores the most significant bit of the Y1 reg ister and the las t-bit write stores t he least
significant bit of the X2 register. Each register value can be
programmed from 1 to 1020 (CY7C43644AV), 1 to 4092
(CY7C43664AV), or 1 to 16380 (CY7C43684AV).
When the opt ion t o prog r am the o ffset r egist ers serial l y is chosen, the Port A Full/Input Ready ( FFA
until all register bits are written. FFA
LOW-to-HIGH transition of CLKA after the last bit is loaded to
allow normal FIFO1 operation. The Port B Full/Input ready
(FFB
/IRB) flag also remains LOW throughout the serial programming process, until all register bits are written. FFB
is set HIGH by the LOW-to-HIGH transition of CLKB after the
last bit is loade d to al low normal FIFO2 operation.
SPM
, FS0/SD, and FS1/SEN function the same way in both
CY Standard and FWFT modes.
FIFO Write/Read Operation
The state of the Port A data (A
A Chip Select (CSA
The A
CSA
lines are in the high-impedance state when either
0–35
or W/RA is HIGH. The A
when bo th CSA
Data is loa ded into FIFO1 fro m the A
HIGH transition of CLKA when CSA
ENA is HIGH, MBA is LOW , and FF A
from FIFO2 to the A
of CLKA when CSA
is LOW, and EFA
and MRS2). For example, to load the pre-
, FS0, and FS1 must be
) retur ns HIGH. Fl ag-offset
and MRS2. After this reset is complete, the first
), (A
), for the CY7C436X4AV, respectively. The
0–13
0–7
0–8
), (A
0–9
/IRB) is set HI GH and both FIF Os
input is LOW.
/IRA) flag remains LOW
/IRA is set HI GH by t he
/IRB
) lines is controlled by Port
0–35
) and Port A Write/Read Select (W/RA).
lines are active outputs
0–35
and W/RA are LOW.
inputs on a LOW -t o-
0–35
is LOW, W/RA is HIGH,
/IRA is HIGH. Data is read
outputs by a LOW -to-HIGH transition
0–35
is LO W , W/ RA is LO W , ENA is HIGH, MBA
/ORA is HIGH (see Table 2). FIFO reads and
CY7C43664AV/CY7C43684AV
writes on Port A are independent of any concurrent Port B
operation.
The Port B contr ol signals are identi cal to those of Port A with
the exception that the Port B Write/Read select (W
inverse of the Port A Write/Read select (W/RA
the Port B data (B
).
Select (CSB
) and Port B Write/Read select (W/RB) . The B
) lines is controlled by the Por t B Chip
0–35
lines are in the high-impedance state when either CSB is
HIGH or W
when CSB
Data is loaded into FIFO2 from the B
HIGH transition of CLKB when CSB
/RB is LOW. The B
lines are active outputs
0–35
is LOW and W/RB is HIGH.
0–35
is LOW, W/RB is LOW,
ENB is HIGH, MBB is LOW , and FFB/IRB is HIGH. Data is read
from FIFO1 to the B
of CLKB when CSB
),
MBB is LOW , and EFB
outputs by a LOW -t o-HIGH transiti on
0–35
is LOW, W/RB is HIGH, ENB is HIGH,
/ORB is HIGH (see Table 3). FIFO reads
and writes on Port B are independent of any concurrent Port
A operation.
The set-up and hold t ime constraints to the port clocks for the
port Chip Selects and Write/Read sel ects are onl y for ena bling
write and read operations and are not related to high-impedance control of the data o utputs. If a port enabl e is LOW during
a clock cycle, the p ort’s Chip Select and Write/Read select
may change states during the set-up and hold ti me window of
the cycle.
When operating the FIFO in FWFT mode and the Output
Ready flag i s LOW, the next word written is automatically sent
to the FIFO’s output register by the LOW-to -HIGH transition of
the port clock that sets the Output Ready flag HIGH, data residing in the F IFO’s memory array is cloc k ed to t he output reg-
ister only when a rea d is sel ec ted usi ng the p ort’s Chip Select ,
Write/Read select, Enable, and Mailbox select.
When operating the FIFO in CY Standar d mode , r egardle ss o f
whether the Empty Flag is LOW or HIGH, data residing in the
FIFO’s memory array is clocked to the output register only
when a read is selected using the port’s Chip Select, Write/
Read select, Enable, and Mailbo x select.
Synchronized FIFO Flags
Each FIFO is synchronized to its port clock through at least
two flip-flop stages . This is done to improv e flag-sign al reliability by reducing the probability of the metastable events when
CLKA and CLKB operate asynchr onously to one another . EF A
ORA, AEA
EFB
, FFA/IRA, and AFA are synchronized to CLKA.
/ORB, AEB, FFB/IRB, and AFB are synchronized to
CLKB. Table 4 and Table 5 show the relat ionship of each port
flag to FIFO1 and FIFO2.
Empty/Output Ready Fla gs (EFA
/ORA, EFB/ORB)
These are dual-purpose flags. In the FWFT mode, the Outpu t
Ready (ORA, ORB) function is selected. When the Output
Ready flag is HIGH, new data is present in the FIFO output
register. When the Output Ready flag is LOW, the previous
data word is prese nt in the FIFO output register and att empted
FIFO reads are ignored.
In the CY Standard mode , the Empty Flag (EFA
is selected. When the Empty Fl ag is HIGH, da ta is av ai lab le in
the FIFO’s RAM memory for reading to the output register.
When Empty Flag is LOW, the previous data word is present
in the FIFO output register and attempted FIFO reads are ignored.
). The state of
inputs on a LOW-to-
, EFB) function
/RB) is the
0–35
/
29
Page 30
CY7C43644AV
PRELIMINARY
The Empty/Output Rea dy flag of a FIFO is sync hronized to the
port clock that reads data from its array. For both the FWFT
and CY Standard modes, the FIFO read pointer is incremented each time a new word is clocked to its output register. The
state machine that controls an Output Ready flag monitors a
write pointer and read pointer comparator that indic ates when
the FIFO SRAM status is empty, empty+1, or empty+2.
In FWFT Mode, from the time a w ord is writte n to a FIFO , it ca n
be shifted to the FIFO output register in a minimum of three
cycles of the Output Ready flag synchronizing clock. Therefore, an Output Ready flag is LOW if a word in memory is the
next data to be sent to the FIFO output register and three
cycles have not elapsed since the time the word was written.
The Output Ready f lag of the FIFO remains LO W unti l the thir d
LOW-to-HIGH transition of the synchronizing clock occurs, simultaneousl y f orc ing the Out put Ready f lag HIGH and s hift ing
the word to the FIFO output register .
In the CY Standard mode , from the time a word is written to a
FIFO, the Empty Flag will indicate the presence of data available for reading in a minimum of two cycles of the Empty Flag
synchronizing clock. Therefore, an Empty Flag is LOW if a
word in me mo ry is the next dat a to be sent to the FIFO output
register and two cycles have not elapsed since the time the
word was written. The Empty Flag of the FIFO remains LOW
until the second LOW-to-HIGH transition of the synchronizing
clock occ urs, f or cing t he Empty Fl ag HIG H; onl y then can data
be read.
A LOW-to-HIGH transition on an Empty/Output Ready flag
synchronizi ng clock begins the fir st synchronization cycle of a
write if the clock transition occurs at time t
after the write. Otherwise, the subsequent clock cycle can be
the first synchronization cycl e.
Full/Input Ready Flags (FFA
This is a dual-purpose flag. In FWFT mode, the Input Ready
(IRA and IRB) functi on is selected. In CY Stand ard mode, the
Full Flag (FFA
modes, when the Full/Input Ready flag is HIGH, a memory
location is free in the SRAM to receive new data. No memory
locations are free when the Full/Input Ready flag is LOW and
attempted writes to the FIFO are ignored.
The Full/Input Read y flag of a FIFO is synchr onized to t he port
clock that writ es data to its arra y. For both FWFT and CY Standard modes, each time a word is written to a FIFO, its write
pointer is inc rement ed. The st ate machi ne that cont rols a Full/
Input Ready flag monitors a write pointer and read pointer
comparator th at indicates when the FIFO SRAM sta tus is full,
full–1, or full–2. From the time a word is read from a FIFO, its
previous memory location is ready to be written to in a minimum of two cycles of the Full/Input Ready flag synchronizing
clock. Therefore, a Full/Input Ready flag is LOW if less than
two cycles of the Full/Input Ready flag synchronizing clock
have elapsed since the next memory write location has been
read. The second LOW-to-HIGH transition on the Full/Input
Ready flag synchronizing clock after the read sets the Full/
Input Ready flag HIGH.
A LOW- to-HI GH transi tion on a Full/Input Ready flag synchronizing clock begins the first synchronization cycle of a read if
the clock transition occurs at time t
read. Otherwise, the subsequent clock cycle can be the first
synchronization cycle.
and FFB) function is selected. For both timing
/IRA, FFB/IRB)
or greater after the
SKEW1
SKEW1
or greater
CY7C43664AV/CY7C43684AV
Almost Empty Flags (AEA
The Almost Empty flag of a FIFO is synchronized to the port
clock that reads data from its array. The state machine that
controls an Almost Empty flag monitors a write pointer and
read pointer comparator that indicates when the FIFO SRAM
status is almost empty, almost empty+1, or almost empty+2.
The Almost Empty state is defined by the contents of register
X1 for AEB
ed with preset values during a FIFO reset, programmed from
Port A, or programmed serially (see Almost Empty flag and
Almost Full flag offset progr ammi ng abo ve) . An Almost Empty
flag is LOW when its FIFO contains X or less words and is
HIGH when its FIFO contains (X+1) or more words. A data
word present in the FIFO output register has been read from
memory.
Two LOW-to-HIGH transitions of the Almost Empty flag synchronizing clock are required after a FIFO write for its Almost
Empty flag to reflect the ne w le v el of fil l. Theref o re, t he Almost
Full flag of a FIFO containing (X+1) or more words remains
LOW if two cycles of its synchronizing clock have not elapsed
since the write that filled the memory to the (X+1) level. An
Almost Empty flag is set HIGH by the second LOW-to-HIGH
transition of its synchronizing clock after the FIFO write that
fills memory to the (X+1) lev el. A LO W -to-HIGH tr ansition of an
Almost Empty flag synchronizing clock begins the first synchronization cycle if it occurs at time t
the write that fills the FIFO to (X+1) words. Otherwise, the subsequent synchronizing clock cycle may be the first synchronization cycle.
Almost Full Flags (AFA
The Almost Full flag of a FIF O is sync hronized to the port cloc k
that writes data t o it s arr a y. The state machine t hat cont rols an
Almost Full f lag mon itor s a write po inter a nd read po inter c omparator that indicates when the FIFO SRAM status is almost
full, a lmost full–1, or almost full–2. The Almost Full state is
defined by t he contents of regi ster Y1 for AFA and register Y2
for AFB. These registers are loaded with preset values during
a FIFO reset, programmed from Port A, or programmed serially (see Almost Empty flag and Almost Full flag offset programming abo ve). An Almost Full flag is LOW when the number of words in its FIFO is greater than or equal to (1024–Y),
(4096–Y), or (16384–Y) for the CY7C436X4AV r espectively.
An Almost Full flag is HIGH when the number of words in its
FIFO is less than or equal to [1024–(Y+1)], [4096–(Y+1)], or
[16384–(Y+1)], for the CY7C436X4AV respectively. Note that
a data word prese nt in t he FIFO out put register has b een read
from memory.
Two LOW-to-H IGH tr ansitions of th e Almost Full flag synchronizing clock are required after a FIFO read for its Almost Full
flag to reflect the new level of fill. Therefore, the Almost Full
flag of a FIFO containing [1024/4096/16384–(Y+1)] or less
words remains LOW if two cycles of its synchronizing clock
have not elapsed since the read that reduced the number of
words in mem ory to [102 4/4 096/16384 –(Y+1 )] . An A lm ost F ull
flag is set HIGH by the second LOW-to-HIGH transition of its
synchronizin g cloc k after the FI FO re ad that reduces t he num ber of words in memory to [1024/409 6/16384–(Y+1)]. A LOWto-HIGH transition of an Almost Full flag synchronizing clock
begins the fi rst synchroni zation cy cle if i t occurs at time t
or greater after the read that reduces the number of words in
memory to [1024/4096/16384–(Y+1)]. Otherwise, the subsequent synchronizing clock cycle may be the first synchronization cycle.
and regist er X2 for AEA. These re gister s are load -
, AEB)
, AFB)
or greater after
SKEW2
SKEW2
30
Page 31
CY7C43644AV
PRELIMINARY
Mailbox Registers
Each FIFO ha s a 36-b it b yp ass register t o pass c omma nd and
control information between Port A and Port B without putting
it in queue. The Mailbox Select (MBA, MBB) inputs choose
between a mail register and a FIFO for a port data transfer
operation. The usabl e width of both the Mail1 and Mail 2 registers matc h es th e se le ct e d bus s ize for Port B.
A LOW-to-HIGH transition on CLKA writes A
Mail1 Register whe n a Port A write is selected b y CSA
and ENA with MBA HIGH. If the selected Port A bus size is
also 36 bits, then the usable width of the Mail1 Register employs dat a lines A
then the usab le widt h of t he Mail1 Re gister emplo ys data lines
A
. (In this case, A
0–17
. If the selecte d Po rt A bus size is 18 bi ts,
0–35
are “Don’t Care” inputs.) If the se-
18–35
lected Port A bus size is 9 bits, then the usable width of the
Mail1 Register em ploys data lines A
“Don’t Care” inputs.)
. (In thi s case , A
0–8
A LOW-to-HIGH transition on CLKB writes B
Mail2 Register when a Port B write is selected by CSB
and ENB with MBB HIGH. If the selected Port B bus size is
also 36 bits, then the usable width of the Mail2 Register employs dat a lines B
. If the selecte d Po rt B bus size is 18 bi ts,
0–35
then the usab le widt h of t he Mail2 Re gister emplo ys data lines
B
. (In th is ca se , B
0–17
ed Port B bus size is 9 bit s, then the usable width of the Mail2
Register emplo ys da ta lines B
care inputs .)
are don’t care in puts. ) If t he selec t-
18–35
. (In this ca se, B
0–8
Writing data to a mail register sets its corresponding flag
(MBF1
or MBF2) LOW . At tempted writes t o a mail regist er are
ignored while the mail fl ag is LOW.
When data outputs of a port are active, the data on the bus
comes from the FIFO output register when the port Mailbox
Select input is LOW and from the mail register when the port
Mailbox Select input is HIGH.
The Mail1 Register Flag (MBF1
) is set HIGH by a LOW-toHIGH transition on CLKB when a Port B read is selected by
CSB
, W/RB, and ENB with MBB HIGH. For a 36-bit bus size,
36 bits of mailbox data are placed on B
size, 18 bit s of m ailbo x da ta are pl aced on B
B
are indeterminate.) For a 9-bit bus size, 9 bits of mail-
18–35
box data are placed on B
minate.)
The Mail2 register Flag ( MBF2
. (In this cas e, B
0–8
) is set HIGH by a LOW-to-HIGH
0–35
transition on CLKA when a Port A read is selected by CSA
W/RA
, and ENA with MBA HIGH.
For a 36-bit bus size, 36 bits of mailbox data are placed on
A
. For a n 18-b it bu s size , 18 bi ts of mailbo x dat a are pl aced
0–35
on A
bus size, 9 bits of mailbox data are placed on A
case, A
. (In this c ase, A
0–17
are indeterminate.)
9–35
are indeterminate.) For a 9-bit
18–35
The data in a mail register remains intact after it is read and
changes only when new data is written to the register. The
Endian Select feature has no effect on the mailbox data.
data to the
0–35
, W/RA,
are
9–35
data to the
0–35
9–35
, W/RB,
are don’t
. For an 18-bi t bus
. (In thi s case ,
0–17
are indeter-
9–35
. (In this
0–8
CY7C43664AV/CY7C43684AV
Bus Sizing
The Port B bus can be configured in a 36-bit long-word, 18- bit
word, or 9-bit byte format for data read from FIFO1 or written
to FIFO2. The levels applied to the Port B Bus Size Select
(SIZE) and the Bus Match Select (BM) determine the Port B
bus size. These levels should be stati c throughout FIFO operation. Both bus size selections are implemented at the completion of Master Reset, by the time the Full/Input Ready flag
is set HIGH.
Two different methods for sequencing data transfer are available for Port B when the bus size selection is either byte- or
word-size . They are ref erred to as Bi g Endian (most signi ficant
byte first) and Little Endian (least significant byte first). The
level applied to the Big Endian Select (BE) input during the
LOW - to- HIG H tr a nsi ti on of MRS1
an method that will be active during FIFO operation. BE is a
“Don’t Care” input when t he bus size sel ected f or P ort B is long
word. The endian met hod is impl emented at the com plet ion of
Master Reset, by the time the Full/Input Ready flag is set
HIGH.
Only 36-bit long-word data is written to or read from the two
FIFO memories on the CY7C436X4AV. Bus-matching operations are done after data is read from the FIFO1 RAM and
before data is wri tten to FIFO2 RAM . These b us-match ing operations are not available when transferring data via mailbox
registers. Furthermore, both the word- and byte-size bus selections limit the width of the data b us that can be used for mail
register opera ti ons. In thi s case , only t hose b yte l an es belong ing to the selected word- or byte-size bus can carry mailbox
data. The remaining data outputs will be indeterminate. The
remaining data inputs will be don’t care inputs. For example,
when a word-size bus is selected, then mailbox data can be
transmitted only between A
bus is select ed, then mai lbo x dat a can be tr ansmit ted on ly between A
0–8
and B
0–8
.
Bus-Matching FIFO1 Reads
Dat a is read from t he FIFO 1 RAM in 36-b it long- word increments. If a long-w ord bus s ize i s im plement ed, th e ent ire long word immediatel y shifts to t he FIFO1 outpu t regis ter. If byt e or
word size is implemented on Port B, only the first one or two
bytes appear on the selected portion of the FIFO1 output register , with the re st of the l ong-word stor ed in aux iliary register s.
In this case, subsequent FIFO1 reads output the rest of the
long word to the FIFO1 output register .
,
When reading data from FIFO 1 in the b yte or word format, the
unused B
outputs are indeterminat e.
0–35
Bus-Matching FIFO2 Writes
Data is written to the FIFO2 RAM in 36-bit long-word increments. Data written to FIFO2 with a byte or word bus size
stores the initial bytes or words in auxiliary registers. The
CLKB rising edge that writes the fourth byte or the second
word of long-word to FIFO2 also st ores the entir e long word in
FIFO2 RAM.
When reading data from FIFO2 in byte or word format, the
unused B
outputs are LOW.
0–35
and MRS2 selects the endi -
0–17
and B
. When a byte-size
0–17
31
Page 32
CY7C43644AV
PRELIMINARY
Retransmit (RT1, RT2)
The retransmit feature is beneficial when transferring packets
of data. It enables the receipt of data to be acknowledged by
the receiver and retransmi tted if necessary.
The retransmit feature is intended for use when a number of
writes equal to or less than the depth of the FIFO have occurred and at least one word has been re ad since the last reset
cycle. A LO W pulse on RT1
er to the first physical location of the FIFO. CLKA and CLKB
, RT2 resets the internal read poin t-
CY7C43664AV/CY7C43684AV
may be fr ee running b ut must be disabl ed during an d t
the retrans mit pulse. Wi th every v alid read cycle after retr ansmit, previously accessed data is read and the read pointer is
incremented until it is equal to the write pointer. Flags are governed by the relative locations of the read and write pointers
and are updated duri ng a retransmit cycle. Data written to the
FIFO after activa tion of RT1
depth of the FIFO can be repeatedly retransmitted.
, RT2 are trans mitte d also. The full
RTR
after
32
Page 33
CY7C43644AV
PRELIMINARY
.
BYTE ORDER ON
PORT A:
BEBMSIZE
XLX
BEBMSIZE
HHL
A
B
27–35
B
B
27–35
A
A
27–35
27–35
A
B
18–26
B
18–26
B
A
B
9–17
C
9–17
C
(a) LONG-WORD SIZE
B
18–26
B
9–17
A
B
18–26
B
9–17
C
CY7C43664AV/CY7C43684AV
A
0–8
B
0–8
B
B
Write to FIFO
D
Read from
D
FIFO
0–8
1st: Read from
B
FIFO
0–8
2nd: Read from
D
FIFO
(b) WORD SIZE – BIG ENDIAN
B
0–8
1st: Read from
D
FIFO
B
0–8
2nd: Read from
B
FIFO
BEBMSIZE
LHL
B
B
27–35
27–35
B
18–26
B
18–26
B
B
9–17
C
9–17
A
BEBMSIZE
HHH
BEBMSIZE
LHH
(c) WORD SIZE – LITTLE ENDIAN
B
B
27–35
B
B
27–35
27–35
27–35
B
18–26
B
18–26
B
18–26
B
18–26
B
B
B
B
9–17
9–17
9–17
9–17
(d) BYTE SIZE – BIG ENDIAN
B
B
B
B
27–35
27–35
27–35
27–35
B
18–26
B
18–26
B
18–26
B
18–26
B
B
B
B
9–17
9–17
9–17
9–17
(e) BYTE SIZE – LITTLE ENDIAN
B
0–8
1st: Read from
A
FIFO
B
0–8
2nd: Read from
B
FIFO
B
0–8
3rd: Read from
C
FIFO
B
0–8
4th: Read from
D
FIFO
B
0–8
1st: Read from
D
FIFO
B
0–8
2nd: Read from
C
FIFO
B
0–8
3rd: Read from
B
FIFO
B
0–8
4th: Read from
A
FIFO
33
Page 34
CY7C43644AV
PRELIMINARY
CY7C43664AV/CY7C43684AV
Table 1. Flag Programming
SPM
FS1/
SEN
FS0/
SDMRS1MRS2X1 and Y1 Registers
[54]
X2 andY2 Registers
[55]
HHH↑X64X
HHHX↑X64
HHL↑X16X
HHLX↑X16
HLH↑X8X
HLHX↑X8
HLL↑↑Parallel programming via Port AParallel programming via Port A
LHL↑↑ Serial programming via SDSerial progr amm ing via SD
L HH↑↑ReservedReserved
L LH ↑↑ReservedReserved
L LL ↑↑Reser vedReserved
..
Table 2. Port A Enable Function
CSA
W/RAENAMBACLKAA
OutputsPort Functio n
0–35
HXXXXIn high-impedance stateNone
LHLXXIn high-impedance stateNone
LHHL↑In high-impedance stat eFIFO1 write
LHHH↑In high-impedance stateMail1 write
LLLLXActive, FIFO2 outp ut r egisterNone
LLHL↑Active, FIFO2 output regi sterFIFO2 read
LLLHXActive, Mail2 registerNone
LLHH↑Active, Mail2 registerMail2 read (set MBF2
HIGH)
Table 3. Port B Enable Function
CSB
W/RBENBMBBCLKBB
OutputsPort Function
0–35
HXXXXI n high-impedance stateNone
LLLXXIn hig h-impedance stateNone
LLHL↑In high-impeda nce stateFIFO2 write
LLHH↑In high-impedance stateMail2 write
LHLLXActive , FIF O1 output registerNone
LHHL↑Active, FIFO1 output registerFIFO1 read
LHLHXActive, Mail1 registerNone
LHHH↑Active, Mail1 registerMail1 read (set MBF1
Notes:
54. X1 register holds the offset for AEB
55. X2 register holds the offset for AEA; Y2 register holds the offset for AFB.
; Y1 register holds the offset for AFA.
HIGH)
34
Page 35
CY7C43644AV
PRELIMINARY
CY7C43664AV/CY7C43684AV
T able 4. FIFO1 Flag Operation (CY Standard and FWFT modes)
Write No.Data Written to FI FO2Data Read From FIFO2
9–17
B
0–8
A
27–35
A
18–26
A
9–17
A
0–8
HLH1ABABCD
2CD
HLL1CDABCD
2AB
Notes:
56. X1 is the almost-empty offset for FIFO1 used by AEB. Y1 is the almost-full offset for FIFO1 used by AFA. Both X1 and Y1 are selected during a FIFO1 reset
or port A programming.
57. When a word loaded to an empty FIFO is shifted to the output register, its previous FIFO memory location is free.
58. Data in the output register does not count as a “word in FIFO memory”. Since in FWFT mode, the first word written to an empty FIFO goes unrequested to
the output register (no read operation necessary), it is not included in the FIFO memory count.
59. The ORB and IRA functions are active during FWFT mode; the EFB and FFA functions are active in CY Standard mode.
60. X2 is the almost-empty offset for FIFO2 used by AEA. Y2 is the almost-full offset for FIFO2 used by AFB. Both X2 and Y2 are selected during a FIFO2 reset
or port A programming.
61. The ORA and IRB functions are active during FWFT mode; the EFA and FFB functions are active in CY Standard mode.quested to the output register (no
read operation necessary), it is not included in the FIFO memory count.
62. BE is selected at Master Reset; BM and SIZE must be static throughout device operation.
35
Page 36
CY7C43644AV
PRELIMINARY
CY7C43664AV/CY7C43684AV
Table 8. Data Size for Byte Writes to FIFO2
Size Mode
[62]
Write No.
BMSIZEBEB
Data Wri tten to
FIFO2Data Read From FIFO2
0–8
A
27–35
A
18–26
A
9–17
A
0–8
HHH1AABCD
2B
3C
4D
HHL1DABCD
2C
3B
4A
T able 9. Data Size for FIFO Long-W ord Reads from FIFO1