SN74V3640, SN74V3650, SN74V3660, SN74V3670, SN74V3680, SN74V3690
1024
×
36, 2048
×
36, 4096
×
36, 8192
×
36, 16384
×
36, 32768
×
36
3.3-V CMOS FIRST-IN, FIRST-OUT MEMORIES
SCAS668A
–
NOVEMBER 2001
–
REVISED MARCH 2003
17
POST OFFICE BOX 655303
DALLAS, TEXAS 75265
FWFT mode
In FWFT mode, status flags IR, PAF, HF, PAE, and OR operate as outlined in Table 4. To write data into the FIFO,
WEN must be low. Data presented to the DATA IN lines is clocked into the FIFO on subsequent transitions of
WCLK. After the first write is performed, the OR flag goes low. Subsequent writes continue to fill the FIFO. PAE
goes high after n + 2 words have been loaded into the FIFO, where n is the empty offset value. The default
settings for these values are shown in Table 2, and are user programmable.
If one continues to write data into the FIFO and assumes no read operations are taking place, HF switches to
low once the 514th word for the SN74V3640, 1026th word for the SN74V3650, 2050th word for the SN74V3660,
4098th word for the SN74V3670, 8194th word for the SN74V3680, and 16386th word for the SN74V3690, are
written into the FIFO. Continuing to write data into the FIFO causes PAF to go low. If no reads are performed,
PAF goes low after (1025
–
m) writes for the SN74V3640, (2049
–
m) writes for the SN74V3650, (4097
–
m)
writes for the SN74V3660, (8193
–
m) writes for the SN74V3670, (16385
–
m) writes for the SN74V3680, and
(32769
–
m) writes for the SN74V3690, where m is the full offset value. The default setting for these values is
shown in Table 2.
When the FIFO is full, the IR flag goes high, inhibiting further write operations. If no reads are performed after
a reset, IR goes high after D writes to the FIFO. D = 1025 writes for the SN74V3640, D = 2049 writes for the
SN74V3650, D = 4097 writes for the SN74V3660, D = 8193 writes for the SN74V3670, D = 16385 writes for
the SN74V3680, and D = 32769 writes for the SN74V3690. Note that the additional word in FWFT mode is due
to the capacity of the memory plus output register.
If the FIFO is full, the first read operation causes the IR flag to go low. Subsequent read operations cause PAF
and HF to go high at the conditions described in Table 4. If further read operations occur without write operations,
PAE goes low when there are n + 1 words in the FIFO, where n is the empty offset value. Continuing read
operations causes the FIFO to become empty. When the last word has been read from the FIFO, OR goes high,
inhibiting further read operations. REN is ignored when the FIFO is empty.
When configured in FWFT mode, the OR flag output is triple register buffered, and the IR flag output is double
register buffered.
See Figures 9, 10, 12, and 14 for timing information.
standard mode
In standard mode, status flags FF, PAF, HF, PAE, and EF operate as outlined in Table 3. To write data into the
FIFO, WEN must be low. Data presented to the DATA IN lines is clocked into the FIFO on subsequent transitions
of WCLK. After the first write is performed, EF goes high. Subsequent writes continue to fill the FIFO. PAE goes
high after n + 1 words have been loaded into the FIFO, where n is the empty offset value. The default setting
for these values is shown in Table 2. This parameter is also user programmable.
If one continues to write data into the FIFO and assumes no read operations are taking place, HF switches to
low after the 513rd word for SN74V3640, 1025th word for SN74V3650, 2049th word for SN74V3660,
4097th word for SN74V3670, 8193th word for the SN74V3680, and 16385th word for the SN74V3690 are
written into the FIFO. Continuing to write data into the FIFO causes PAF to go low. If no reads are performed,
PAF goes low after (1024
–
m) writes for the SN74V3640, (2048
–
m) writes for the SN74V3650, (4096
–
m)
writes for the SN74V3660, (8192
–
m) writes for the SN74V3670, (16384
–
m) writes for the SN74V3680, and
(32768
–
m) writes for the SN74V3690. Offset m is the full offset value. The default setting for these values is
in the footnote of Table 2. This parameter is also user programmable.
When the FIFO is full, FF goes low, inhibiting further write operations. If no reads are performed after a reset,
FF goes low after D writes to the FIFO. D = 1024 writes for the SN74V3640, D = 2048 writes for the SN74V3650,
D = 4096 writes for the SN74V3660, D = 8192 writes for the SN74V3670, D = 16384 writes for the SN74V3680,
and D = 32768 writes for the SN74V3690.