
CY7C43644AV
CY7C43664AV/CY7C43684AV
28
PRELIMINARY
Signal Description
Master Reset (MRS1, MRS2)
Each of the two FIFO memories of the CY7C436X4AV under-
goes a complete reset by taking its associated Master Reset
(MRS1, MRS2) input LOW for at least four Port A clock (CLKA)
and four Port B clock (CLKB) LOW-to-HIGH transitions. The
Master Reset inputs can switch asynchronously to the clocks.
A Master Reset initializes the internal read and write pointers
and forces the Full/Input Ready flag (FFA/IRA, FFB/IRB) LOW,
the Empty/Output Ready flag (EFA/ORA, EFB/ORB) LOW, the
Almost Empty flag (AEA, AEB) LOW, and the Almost Full flag
(AFA, AFB) HIGH. A Master Reset also forces the Mailbox flag
(MBF1, MBF2) of the parallel mailbox register HIGH. After a
Master Reset, the FIFO
’
s Full/Input Ready flag is set HIGH
after two clock cycles to begin normal operation. A Master Re-
set must be performed on the FIFO after power up, before 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, MRS2)
input latches the values of the Flag select (FS0, FS1) and Se-
rial Programming Mode (SPM) inputs for choosing the Almost
Full and Almost Empty offset programming method (see Al-
most Empty and Almost Full flag offset programming below).
Partial Reset (PRS1, PRS2)
Each of the two FIFO memories of the CY7C436X4AV under-
goes a limited reset by taking its associated Partial Reset
(PRS1, PRS2) input LOW for at least four Port 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 forces the Full/Input Ready flag (FFA/IRA, FFB/IRB) LOW,
the Empty/Output Ready flag (EFA/ORA, EFB/ORB) LOW, the
Almost Empty flag (AEA, AEB) LOW, and the Almost Full flag
(AFA, AFB) HIGH. A Partial Reset also forces the Mailbox 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 clock cycles to begin normal operation.
Whatever flag offsets, programming method (parallel or seri-
al), and timing mode (FWFT or CY Standard mode) are cur-
rently 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 in-
convenient.
Big Endian/First Word Fall Through (BE/FWFT)
This is a dual-purpose pin. 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 are transferred through this port. For the follow-
ing illustrations, assume that a byte (or word) bus size has
been selected for Port B. (Note that when Port B is configured
for a long word size, the Big Endian function has no application
and the BE input is a
“
Don
’
t Care
”
.)
A HIGH on the BE/FWFT input when the Master Reset (MRS1
and MRS2) inputs go from LOW to HIGH will select a Big En-
dian arrangement. When data is moving in the direction from
Port A to Port B, the most significant byte (word) of the long-
word written to Port A will be read from Port B first; the least
significant byte (word) of the long word written to Port A will be
read from Port 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 long-
word.
A LOW on the BE/FWFT input when the Master Reset (MRS1
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 from Port B last. When data is moving in the direc-
tion from Port B to Port A, the byte (word) written to Port B first
will be read from port A as the least significant byte (word) of
the long-word; the byte (word) written to Port B last will be read
from Port A as the most significant byte (word) of the long-
word.
After Master Reset, the FWFT select function is active, permit-
ting a choice between two possible timing modes: CY Stan-
dard mode or First-Word Fall-Through (FWFT) mode. Once
the Master Reset (MRS1, MRS2) input is HIGH, a HIGH on the
BE/FWFT input at the second LOW-to-HIGH transition of
CLKA (for FIFO1) and CLKB (for FIFO2) will select CY Stan-
dard mode. This mode uses the Empty Flag function (EFA,
EFB) to indicate whether or not there are any words present in
the FIFO memory. It uses the Full Flag function (FFA, FFB) to
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 (MRS1, MRS2) input is HIGH, a LOW
on the BE/FWFT input during the next LOW-to-HIGH transition
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
0
–
35
or B
0
–
35
). It also uses the Input Ready function
(IRA, IRB) to indicate whether or not the FIFO memory has any
free space for writing. In the FWFT mode, the first word written
to an empty FIFO goes directly to data outputs, no read re-
quest necessary. Subsequent words must be accessed by
performing a formal read operation.
Following Master Reset, the level applied to the BE/FWFT in-
put to choose the desired timing mode must remain static
throughout the FIFO operation.
Programming the Almost Empty and Almost Full Flags
Four registers in the CY7C436X4AV are used to hold the offset
values for the Almost Empty and Almost Full flags. The Port B
Almost Empty flag (AEB) offset register is labeled X1 and the
Port A Almost Empty flag (AEA) offset register is labeled X2.
The Port A Almost Full flag (AFA) offset register is labeled Y1
and the Port B Almost Full flag (AFB) offset register is labeled
Y2. The index of each register name corresponds with preset
values during the reset of a FIFO, programmed in parallel us-
ing the FIFO
’
s Port A data inputs, or programmed in serial
using the Serial Data (SD) input (see
Table 1
). To load a FIFO
’
s
Almost Empty flag and Almost Full flag offset registers with
one of the three preset values listed in
Table 1
, the Serial Pro-