CY7C43643AV
CY7C43663AV/CY7C43683AV
20
PRELIMINARY
Signal Description
Master Reset (MRS1, MRS2)
The FIFO memor y of the CY7C436X3AV undergoes a com-
plete 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 Mas-
ter Reset input can switch asynchronously to the clocks. A
Master Reset initializes the internal read and write pointers
and forces the Full/Input Ready flag (FF/IR) LOW, the Empty/
Output Re ady flag (EF/OR) LOW, the Almost Em pty flag (AE)
LOW , and the Almost Full f lag (AF) HIGH. A Master Reset als o
forces the Mailbox flag (MBF1, MB F2) of the parallel m ailbox
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 Reset 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,
determining the order by which bytes ar e 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
Serial Programming Mode (SPM) inputs for choosing the Al-
most Full and Almost Empty offset programming method (see
Almost Empty and Almost Full fla g offset progr amming belo w).
P artial Reset (PRS)
Each of the t wo FIFO memories of the CY7C436X3AV under-
goes a limited reset by taking its associated Partial Reset
(PRS) in put LOW f or at l east f our P ort A c loc k (C LKA) and f our
P ort B clock (CLKB) LO W-to- HIGH trans itions. The Partial Re-
set inputs can switch asynchronously to the clocks. A Part ial
Reset i nitiali zes the internal read and write poi nters an d forces
the Full/Input Ready flag (FF/IR) LOW, the Empty/Output
Ready flag (EF/OR) LOW, the Almost Empty flag (AE) LOW,
and th e Almost Full f lag (AF) HIGH. A P artial Reset also forces
the Mai lbo x f lag (MBF1, MB F2) of the par all el mail bo x regi ster
HIGH. After a Par tial Reset, the FIFO’s Full/Input Ready flag
is set HIGH aft er two clock cycles to begin normal operation.
Whatever flag offsets, programming method (parallel or seri-
al), and t iming mode (FWFT or CY Standard m ode) 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 wri tten to or read from Port
B. This selection determines the order by which bytes (or
w ords) of data are t r ansf erred th rough t his port. F or the fol low-
ing illustrations, assume that a byte (or word) bus size has
been selected f or Port B.
A HIGH on the BE/FWFT input when the Master Reset (MRS1,
MRS2) inputs go from LOW to HIGH will select a Big Endian
arrangement. When data is moving in the direction from Por t
A to Por t B, the m ost significant byte (word) of the long-word
written to Port A will be transferred to Port B first; the least
signi fican t byte (word) of the long -word written to P ort A will be
transf erred to Port B last.
A LOW on the BE/FWFT input when t he Master Res et (MRS1,
MRS2) in puts go from LOW to HIGH will select a Li ttle Endian
arrangement. W hen data is moving in the direction from Por t
A to Por t B, the least significant byte (word) of the long-word
written to Port A will be transferred to Port B first; the most
signi fican t byte (word) of the long -word written to P ort A will be
transf erred to Port B last.
After Master Reset , the FWFT select function is activ e, 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 will select CY Standard Mode. This mode uses the Emp-
ty Flag function (EF) to indicate whether or not t here are any
words present in the FIFO memo ry. It uses the Ful l Fl ag func-
tion ( FF) to in dicate whether or not the FIFO memory has any
free space f or writi ng. In CY Stand ard Mode, every word read
from the FIFO, including the first, must be requested using a
for mal read operation.
Once t he Maste r R eset (M R S1 , MRS2) input is HIGH, a LO W
on the BE/FWFT input of the second LOW-to-HIGH transit ion
of CLKA will select FWFT Mode. This mode uses the Output
Ready function (OR) to indicate whether or not ther e is valid
data at the data outputs (B0–35). It also uses the Input Ready
function (IR) 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 direct ly to d ata outp uts, no r ead
request necessary. Subsequent words must be accessed by
performing a formal read operation.
Followi ng Master Reset , the level appli ed to the BE/FWFT in -
put to choose the desired timing mode must remain static
throughout the FIFO operation.
Programming the Al mos t Empty and Almost Full Flags
Two regi sters i n the CY7C436 X3A V ar e used t o hold t he offse t
val ues fo r the Almost Empty and Almost Full flags . The P ort B
Almost Empty f lag (AE) offse t regi ster is l abeled X. The Po rt A
Almost Full flag (AF) offset register is labeled Y. The index of
each regi ster name cor respond s wi th prese t va lue s during the
reset of a FIFO, programmed in parallel using the FI FO’s Port
A data inputs, or programmed in serial using the Ser ial Data
(SD) input (see Table 1).
To load a FIFO’s Almost Empt y flag and Almost Ful l fl ag offse t
registers with one of the three preset values listed in Ta bl e 1,
the Serial Program Mode (SPM) and at least one of t he flag-
select inputs must be HIGH during the LOW-to-HIGH transition
of it s Master Reset i nput (MRS1 , MRS2). F or example, to l oad
the preset value of 64 into X and Y, SPM, FS0 and FS1 must
be HIGH when the FIFO reset (M RS1, MRS2) returns HIGH.
When using one of the preset values for the flag offsets, the
FIFO can be reset simultaneously or at differ ent times.
To program the X and Y registers from Port A, perf orm a M as-
ter Reset on both FIFOs simultaneously with SPM H IGH and
FS0 and FS1 LOW during the LOW-to-HIGH transition of
MRS1, MRS2. Af te r th i s re s e t is co mp le te , th e fi rs t two w rite s
to the FIFO do not stor e data in RAM but load the offse t regis -
ters in the order Y and X. The Por t A data inputs used by the
offset registers are (A0–9), (A0–11), or (A0–13), for the
CY7C436X3AV, respectively. The highest numbered input is
used as the most significant bit of the binar y number in each