Texas Instruments 的 SN74V3670-7PEU 规格书

*5 TEXAS INSTRUMENTS
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
1
POST OFFICE BOX 655303 DALLAS, TEXAS 75265
Choice of Memory Organizations
– SN74V3640 – 1024 × 36 Bit
– SN74V3650 – 2048 × 36 Bit
– SN74V3660 – 4096 × 36 Bit
– SN74V3670 – 8192 × 36 Bit
– SN74V3680 – 16384 × 36 Bit
– SN74V3690 – 32768 × 36 Bit
166-MHz Operation (6-ns Read/Write Cycle
Time)
User-Selectable Input- and Output-Port Bus
Sizing
×36 in to ×36 out
×36 in to ×18 out
×36 in to ×9 out
×18 in to ×36 out
×9 in to ×36 out
Big-Endian/Little-Endian User-Selectable
Byte Representation
5-V-Tolerant Inputs
Fixed, Low, First-Word Latency
Zero-Latency Retransmit
Master Reset Clears Entire FIFO
Partial Reset Clears Data, But Retains
Programmable Settings
Empty, Full, and Half-Full Flags Signal FIFO
Status
Programmable Almost-Empty and
Almost-Full Flags; Each Flag Can Default to
One of Eight Preselected Offsets
Selectable Synchronous/Asynchronous
Timing Modes for Almost-Empty and
Almost-Full Flags
Program Programmable Flags by Either
Serial or Parallel Means
Select Standard Timing (Using EF and FF
Flags) or First-Word Fall-Through (FWFT)
Timing (Using OR and IR Flags)
Output Enable Puts Data Outputs in
High-Impedance State
Easily Expandable in Depth and Width
Independent Read and Write Clocks Permit
Reading and Writing Simultaneously
High-Performance Submicron CMOS
Technology
Available in 128-Pin Thin Quad Flat Pack
(TQFP)
description
The SN74V3640, SN74V3650, SN74V3660, SN74V3670, SN74V3680, and SN74V3690 are exceptionally
deep, high-speed CMOS, first-in first-out (FIFO) memories, with clocked read and write controls and a flexible
bus-matching ×36/×18/×9 data flow. These FIFOs offer several key user benefits:
Flexible ×36/×18/×9 bus matching on both read and write ports
The period required by the retransmit operation is fixed and short.
The first-word data-latency period, from the time the first word is written to an empty FIFO to the time it can
be read, is fixed and short.
High-density offerings up to 1 Mbit
Bus-matching synchronous FIFOs are particularly appropriate for network, video, signal processing,
telecommunications, data communications, and other applications that need to buffer large amounts of data
and match buses of unequal sizes.
Each FIFO has a data input port (Dn) and a data output port (Qn), both of which can assume 36-bit, 18-bit, or
9-bit width, as determined by the state of external control pins’ input width (IW), output width (OW), and bus
matching (BM) during the master-reset cycle.
Copyright 2003, Texas Instruments Incorporated
PRODUCTION DATA information is current as of publication date.
Products conform to specifications per the terms of Texas Instruments
standard warranty. Production processing does not necessarily include
testing of all parameters.
Please be aware that an important notice concerning availability, standard warranty, and use in critical applications of
Texas Instruments semiconductor products and disclaimers thereto appears at the end of this data sheet.
jjjjjjjj3]]jjjjjjjjjjjjjjjjjjjjjj333]] flflflflflflflflflflflflflflflflflflflflFH’H’H’H’H" uuuuuuuuuuuuuuuuuuuuuuuuuu EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE INSTRUMENTS *4“ TEXAS
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
2POST OFFICE BOX 655303 DALLAS, TEXAS 75265
WEN
SEN
DNC
VCC
DNC
IW
D35
D34
D33
D32
VCC
D31
D30
GND
D29
D28
D27
D26
D25
D24
D23
GND
D22
VCC
D21
D20
D19
D18
GND
D17
D16
D15
D14
D13
VCC
D12
GND
D11
OE
VCC
VCC
Q35
Q34
Q33
Q32
GND
GND
Q31
Q30
Q29
Q28
Q27
Q26
VCC
Q25
Q24
GND
GND
Q23
Q22
Q21
Q20
Q19
Q18
GND
Q17
Q16
VCC
VCC
Q15
Q14
Q13
Q12
GND
Q11
Q10
PEU PACKAGE
(TOP VIEW)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
80
79
78
77
76
75
74
73
72
71
70
69
68
67
66
65
102
101
100
99
98
97
96
95
94
64
63
62
61
60
59
58
57
56
55
54
53
52
51
50
49
48
47
46
45
PRS
MRS
FWFT/SI
FF/IR
WCLK
PAF
GND
HF
IP
BM
GND
PAE
PFM
D5
D4
D3
GND
D2
D1
D0
Q0
Q1
Q3
Q4
Q5
GND
Q6
Q7
Q8
CC
V
CC
V
Q9
CC
V
FSEL1
OW
FSEL0
Q2
26
27
28
29
30
93
92
91
90
89
BE
LD
31
32
33
34
35
36
37
38
44
43
42
41
40
39
D10
D9
D7
D6
GND
D8
88
87
86
85
84
83
82
81
103
104
105
106
107
108
RM
GND
RCLK
REN
RT
EF/OR
CC
V
DNC = Do not connect
description (continued)
The input port is controlled by write-clock (WCLK) and write-enable (WEN) inputs. Data is written into the FIFO
on every rising edge of WCLK when WEN is asserted. The output port is controlled by read-clock (RCLK) and
read-enable (REN) inputs. Data is read from the FIFO on every rising edge of RCLK when REN is asserted.
An output-enable (OE) input is provided for 3-state control of the outputs.
*5 TEXAS INSTRUMENTS
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
3
POST OFFICE BOX 655303 DALLAS, TEXAS 75265
functional block diagram
Write-Control
Logic
RAM Array
1024 ×36, 2048 ×36,
4096 ×36, 8192 ×36,
16384 ×36, 32768 ×36
Offset
Register
Input
Register
Flag
Logic
Read
Pointer
Read-Control
Logic
Output
Register
Write
Pointer
Control
Logic
Reset
Logic
BE
IP
MRS
WEN
WCLK
D0Dn (×36, ×18, or ×9) SEN
HF
PAE
EF/OR
PAF
FF/IR
Q0Qn (×36, ×18, or ×9)
OE
RENRCLK
128
1
114
113
126
2
102
105 104
123
121
108
110
117
Bus
Configuration
IW
BM
OW
112
6
119
PRS 127
LD
125
FWFT/SI
124
PFM
109
FSEL0
118
FSEL1
115
RT
103
RM
107
description (continued)
The frequencies of the RCLK and WCLK signals can vary from 0 to fMAX, with complete independence. There
are no restrictions on the frequency of one clock input with respect to the other.
There are two possible timing modes of operation with these devices: first-word fall-through (FWFT) mode and
standard mode.
In FWFT mode, the first word written to an empty FIFO is clocked directly to the data output lines after three
transitions of the RCLK signal. REN need not be asserted for accessing the first word. However, subsequent
words written to the FIFO do require a low on REN for access. The state of the FWFT/SI input during master
reset determines the timing mode.
For applications requiring more data-storage capacity than a single FIFO can provide, the FWFT timing mode
permits depth expansion by chaining FIFOs in series (i.e., the data outputs of one FIFO are connected to the
corresponding data inputs of the next). No external logic is required.
In standard mode, the first word written to an empty FIFO does not appear on the data output lines unless a
specific read operation is performed. A read operation, which consists of activating REN and enabling a rising
RCLK edge, shifts the word from internal memory to the data output lines.
i i *9 TEXAS INSTRUMENTS
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
4POST OFFICE BOX 655303 DALLAS, TEXAS 75265
Bus
Matching
(BM)
SN74V3640
SN74V3650
SN74V3660
SN74V3670
SN74V3680
SN74V3690
Write Clock (WCLK)
Master Reset (MRS)
Partial Reset (PRS)
Read Clock (RCLK)
Write Enable (WEN)
Load (LD)
Serial Enable (SEN)
First-Word Fall-Through or Serial Input
(FWFT/SI)
Full Flag or Input Ready (FF/IR)
Programmable Almost-Full Flag (PAF)
(×36, ×18, ×9) Data In (D0Dn)
Read Enable (REN)
Output Enable (OE)
(×36, ×18, ×9) Data Out (Q0Qn)
Retransmit (RT)
Empty Flag or Output Ready (EF/OR)
Programmable Almost-Empty Flag (PAE)
Half-Full Flag (HF)
Big Endian/Little Endian (BE)
Interspersed/
Noninterspersed Parity (IP)
Input Width (IW) Output Width (OW)
Figure 1. Single-Device-Configuration Signal Flow
description (continued)
These FIFOs have five flag pins: empty flag or output ready (EF/OR), full flag or input ready (FF/IR), half-full
flag (HF), programmable almost-empty flag (PAE), and programmable almost-full flag (PAF). The EF and FF
functions are selected in standard mode. The IR and OR functions are selected in FWFT mode. HF, PAE, and
PAF always are available for use, regardless of timing mode.
PAE and PAF can be programmed independently to switch at any point in memory. Programmable offsets
determine the flag-switching threshold and can be loaded by parallel or serial methods. Eight default offset
settings also are provided, so that PAE can be set to switch at a predefined number of locations from the empty
boundary. The PAF threshold also can be set at similar predefined values from the full boundary. The default
offset values are set during master reset by the state of the FSEL0, FSEL1, and LD.
For serial programming, SEN, together with LD, loads the offset registers via the serial input (SI) on each rising
edge of WCLK. For parallel programming, WEN, together with LD, loads the offset registers via Dn on each
rising edge of WCLK. REN, together with LD, can read the offsets in parallel from Qn on each rising edge of
RCLK, regardless of whether serial parallel offset loading has been selected.
During master reset (MRS), the read and write pointers are set to the first location of the FIFO. The FWFT pin
selects standard mode or FWFT mode.
Partial reset (PRS) also sets the read and write pointers to the first location of the memory. However, the timing
mode, programmable-flag programming method, and default or programmed offset settings existing before
partial reset remain unchanged. The flags are updated according to the timing mode and offsets in effect. PRS
is useful for resetting a device in mid-operation, when reprogramming programmable flags would be
undesirable.
Also, the timing modes of PAE and PAF outputs can be selected. Timing modes can be set as either
asynchronous or synchronous for PAE and PAF.
*5 TEXAS INSTRUMENTS
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
5
POST OFFICE BOX 655303 DALLAS, TEXAS 75265
description (continued)
If the asynchronous PAE/PAF configuration is selected, PAE is asserted low on the low-to-high transition of
RCLK. PAE is reset to high on the low-to-high transition of WCLK. Similarly, PAF is asserted low on the
low-to-high transition of WCLK, and PAF is reset to high on the low-to-high transition of RCLK.
If the synchronous PAE/PAF configuration is selected , the PAE is asserted and updated on the rising edge of
RCLK only, and not WCLK. Similarly, PAF is asserted and updated on the rising edge of WCLK only, and not
RCLK. The mode desired is configured during master reset by the state of the programmable flag mode (PFM).
The retransmit function allows data to be reread from the FIFO more than once. A low on the retransmit (RT)
input during a rising RCLK edge initiates a retransmit operation by setting the read pointer to the first location
of the memory array. Zero-latency retransmit timing mode can be selected using the retransmit timing mode
(RM). During master reset, a low on RM selects zero-latency retransmit. A high on RM during master reset
selects normal latency.
If zero-latency retransmit operation is selected, the first data word to be retransmitted is placed on the output
register, with respect to the same RCLK edge that initiated the retransmit, if RT is low.
See Figures 11 and 12 for normal latency retransmit timing. See Figures 13 and 14 for zero-latency retransmit
timing.
The devices can be configured with different input and output bus widths (see Table 1).
Table 1. Bus-Matching Configuration Modes
BM IW OW WRITE-PORT
WIDTH READ-PORT
WIDTH
L L L ×36 ×36
H L L ×36 ×18
H L H ×36 ×9
H H L ×18 ×36
H H H ×9×36
Logic levels during master reset
A big-endian/little-endian data word format is provided. This function is useful when data is written into the FIFO
in long-word (×36/×18) format and read out of the FIFO in small-word (×18/×9) format. If big-endian mode is
selected, the most-significant byte (MSB) (word) of the long word written into the FIFO is read out of the FIFO
first, followed by the least-significant byte (LSB). If little-endian format is selected, the LSB of the long word
written into the FIFO is read out first, followed by the MSB. The mode desired is configured during master reset
by the state of the big-endian/little-endian (BE) pin (see Figure 4 for the bus-matching byte arrangement).
The interspersed/noninterspersed parity (IP) bit function allows the user to select the parity bit in the word loaded
into the parallel port (D0Dn) when programming the flag offsets. If interspersed-parity mode is selected, the
FIFO assumes that the parity bit is located in bit positions D8, D17, D26, and D35 during the parallel
programming of the flag offsets. If noninterspersed-parity mode is selected, D8, D17, and D26 are assumed
to be valid bits, and D32, D33, D34, and D35 are ignored. Interspersed parity mode is selected during master
reset by the state of the IP input. Interspersed parity control has an effect only during parallel programming of
the offset registers. It does not affect data written to and read from the FIFO.
The SN74V3640, SN74V3650, SN74V3660, SN74V3670, SN74V3680, and SN74V3690 are fabricated using
high-speed submicron CMOS technology, and are characterized for operation from 0°C to 70°C.
*9 TEXAS INSTRUMENTS
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
6POST OFFICE BOX 655303 DALLAS, TEXAS 75265
Terminal Functions
TERMINAL
NAME I/O DESCRIPTION
BEIBig endian/little endian. During master reset, a low on BE selects big-endian operation. A high on BE during master
reset selects little-endian format.
BMIBus matching. BM works with IW and OW to select the bus sizes for both write and read ports (see Table 1 for bus-size
configuration).
D0D36 I Data inputs. Data inputs for a 36-, 18-, or 9-bit bus. When in 18- or 9-bit mode, the unused input pins are in a
dont-care state.
EF/OR O Empty flag/output ready. In standard mode, the EF function is selected. EF indicates whether the FIFO memory is
empty. In FWFT mode, the OR function is selected. OR indicates whether there is valid data available at the outputs.
FF/IR O Full flag/input ready. In standard mode, the FF function is selected. FF indicates whether the FIFO memory is full. In
FWFT mode, the IR function is selected. IR indicates whether there is space available for writing to the FIFO memory.
FSEL0IFlag-select bit 0. During master reset, FSEL0, along with FSEL1 and LD, selects the default offset values for PAE and
PAF. Up to eight possible settings are available.
FSEL1IFlag-select bit 1. During master reset, FSEL1, along with FSEL0 and LD, selects the default offset values for PAE and
PAF. Up to eight possible settings are available.
FWFT/SI I First-word fall-through/serial in. During master reset, FWFT/SI selects FWFT or standard mode. After master reset,
FWFT/SI functions as a serial input for loading offset registers.
HF O Half-full flag. HF indicates whether the FIFO memory is more or less than half full.
IPIInterspersed parity. During master reset, a low on IP selects noninterspersed-parity mode. A high selects
interspersed-parity mode. Interspersed-parity control has an effect only during parallel programming of the offset
registers. It does not effect data written to and read from the FIFO.
IWIInput width. IW, along with OW and BM, selects the bus width of the write port (see Table 1 for bus-size configuration).
LD I
Load. This is a dual-purpose pin. During master reset, the state of LD, along with FSEL0 and FSEL1, determines one
of eight default offset values for PAE and PAF, along with the method by which these offset registers can be
programmed, parallel or serial (see Table 2). After master reset, LD enables writing to and reading from the offset
registers.
MRS I
Master reset. MRS initializes the read and write pointers to zero and sets the output register to all zeroes. During
master reset, the FIFO is configured for either FWFT or standard mode, bus-matching configurations, one of eight
programmable-flag default settings, serial or parallel programming of the offset settings, big-endian/little-endian
format, zero-latency timing mode, interspersed parity, and synchronous versus asynchronous programmable-flag
timing modes.
OE I Output enable. OE controls the output impedance of Qn.
OWIOutput width. OW, along with IW and BM, selects the bus width of the read port (see Table 1 for bus-size configuration).
PAE OProgrammable almost-empty flag. PAE goes low if the number of words in the FIFO memory is less than offset n, which
is stored in the empty offset register. PAE goes high if the number of words in the FIFO memory is greater than, or
equal to, offset n.
PAF OProgrammable almost-full flag. PAF goes high if the number of free locations in the FIFO memory is more than
offset m, which is stored in the full offset register. PAF goes low if the number of free locations in the FIFO memory
is less than, or equal to, m.
PFMIProgrammable-flag mode. During master reset, a low on PFM selects asynchronous programmable-flag timing mode.
A high on PFM selects synchronous programmable-flag timing mode.
PRS I Partial reset. PRS initializes the read and write pointers to zero and sets the output register to all zeroes. During partial
reset, the existing mode (standard or FWFT), programming method (serial or parallel), and programmable-flag
settings are all retained.
Q0Q35 O Data outputs. Data outputs for a 36-, 18-, or 9-bit bus. When in 18- or 9-bit mode, the unused output pins are in a
dont-care state. Outputs are not 5-V tolerant, regardless of the state of OE.
RCLK I Read clock. When enabled by REN, the rising edge of RCLK reads data from the FIFO memory and offsets from the
programmable registers.
Inputs should not change state after master reset.
*5 TEXAS INSTRUMENTS
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
7
POST OFFICE BOX 655303 DALLAS, TEXAS 75265
Terminal Functions (Continued)
TERMINAL
NAME I/O DESCRIPTION
REN I Read enable. REN enables RCLK for reading data from the FIFO memory and offset registers.
RMIRetransmit latency mode. During master reset, a low on RM selects zero-latency retransmit timing mode. A high on
RM selects normal-latency mode.
RT IRetransmit. RT asserted on the rising edge of RCLK initializes the READ pointer to zero, sets the EF flag to low (OR
to high in FWFT mode) and does not disturb the write pointer, programming method, existing timing mode, or
programmable-flag settings. RT is useful to reread data from the first physical location of the FIFO.
SEN I Serial enable. SEN enables serial loading of programmable flag offsets.
WCLK I Write clock. When enabled by WEN, the rising edge of WCLK writes data into the FIFO and offsets into the
programmable registers for parallel programming and, when enabled by SEN, the rising edge of WCLK writes one bit
of data into the programmable register for serial programming.
WEN I Write enable. WEN enables WCLK for writing data into the FIFO memory and offset registers.
Inputs should not change state after master reset.
detailed description
inputs
data in (D0–Dn)
D0D35 are data inputs for 36-bit-wide data. D0D17 are data inputs for 18-bit-wide data. D0D8 are data
inputs for 9-bit-wide data.
controls
master reset (MRS)
A master reset is accomplished when MRS is taken low. This operation sets the internal read and write pointers
to the first location of the RAM array. PAE goes low, PAF goes high, and HF goes high.
If FWFT/SI is low during master reset, the standard mode, EF, and FF are selected. EF goes low and FF goes
high. If FWFT/SI is high, the FWFT mode, IR, and OR are selected. OR goes high and IR goes low.
All control settings, such as OW, IW, BM, BE, RM, PFM, and IP are defined during the master reset cycle.
During a master reset, the output register is initialized to all zeroes. A master reset is required after power up,
before a write operation can take place. MRS is asynchronous.
See Figure 5 for timing information.
*9 TEXAS INSTRUMENTS
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
8POST OFFICE BOX 655303 DALLAS, TEXAS 75265
partial reset (PRS)
A partial reset is accomplished when the PRS input is taken to a low state. As in the case of the master reset,
the internal read and write pointers are set to the first location of the RAM array, PAE goes low, PAF goes high,
and HF goes high.
Whichever mode is active at the time of partial reset remains selected (standard or FWFT mode). If standard
mode is active, FF goes high and EF goes low. If the FWFT mode is active, OR goes high and IR goes low.
Following partial reset, all values held in the offset registers remain unchanged. The programming method
(parallel or serial) active at the time of partial reset also is retained. The output register is initialized to all zeroes.
PRS is asynchronous.
A partial reset is useful for resetting the device during operation when reprogramming programmable-flag
offsets might not be convenient.
See Figure 6 for timing information.
retransmit (RT)
The retransmit operation allows previously read data to be accessed again. There are two modes of retransmit
operation: normal latency and zero latency. There are two stages to retransmit. The first stage is a setup
procedure that resets the read pointer to the first location of memory. The second stage is the actual retransmit,
which consists of reading out the memory contents, starting at the beginning of the memory.
Retransmit setup is initiated by holding RT low during a rising RCLK edge. REN and WEN must be high before
bringing RT low. When zero latency is utilized, REN need not be high before bringing RT low.
If standard mode is selected, the FIFO marks the beginning of the retransmit setup by setting EF low. The
change in level is noticeable only if EF was high before setup. During this period, the internal read pointer is
initialized to the first location of the RAM array.
When EF goes high, retransmit setup is complete and read operations can begin, starting with the first location
in memory. Because standard mode is selected, every word read, including the first word following retransmit
setup, requires a low on REN to enable the rising edge of RCLK.
See Figure 11 for timing information.
If FWFT mode is selected, the FIFO marks the beginning of the retransmit setup by setting OR high. During this
period, the internal read pointer is set to the first location of the RAM array.
When OR goes low, retransmit setup is complete. At the same time, the contents of the first location appear on
the outputs. Because FWFT mode is selected, the first word appears on the outputs and no low on REN is
necessary. Reading all subsequent words requires a low on REN to enable the rising edge of RCLK.
See Figure 12 for timing information.
In retransmit operation, zero-latency mode can be selected using the retransmit latency mode (RM) pin during
a master reset. This can be applied to the standard mode and the FWFT mode.
*5 TEXAS INSTRUMENTS
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
9
POST OFFICE BOX 655303 DALLAS, TEXAS 75265
first-word fall-through/serial in (FWFT/SI)
FWFT/SI is a dual-purpose pin. During master reset, the state of the FWFT/SI input determines whether the
device operates in standard or FWFT mode.
If, at the time of master reset, FWFT/SI is low, standard mode is selected. This mode uses EF to indicate whether
any words are present in the FIFO memory. It also uses FF to indicate whether the FIFO memory has free space
for writing. In standard mode, every word read from the FIFO, including the first, must be requested using REN
and RCLK.
If, at the time of master reset, FWFT/SI is high, FWFT mode is selected. This mode uses OR to indicate whether
there is valid data at the data outputs (Qn). It also uses IR to indicate whether the FIFO memory has free space
for writing. In the FWFT mode, the first word written to an empty FIFO goes directly to Qn after three RCLK rising
edges, therefore, REN = low is not necessary. Subsequent words must be accessed using REN and RCLK.
After master reset, FWFT/SI acts as a serial input for loading PAE and PAF offsets into the programmable
registers. The serial input function can be used only when the serial loading method is selected during master
reset. Serial programming using the FWFT/SI pin functions the same way in both standard and FWFT modes.
write clock (WCLK)
A write cycle is initiated on the rising edge of the WCLK input. Data setup and hold times must be met, with
respect to the low-to-high transition of the WCLK. It is permissible to stop WCLK. Note that while WCLK is idle,
the FF/IR, PAF, and HF flags are not updated. WCLK is capable only of updating HF flag to low. The write and
read clocks can be independent or coincident.
write enable (WEN)
When WEN is low, data may be loaded into the FIFO RAM array on the rising edge of every WCLK cycle if the
device is not full. Data is stored in the RAM array sequentially and independently of any ongoing read operation.
When WEN is high, no new data is written in the RAM array on each WCLK cycle.
To prevent data overflow in the standard mode, FF goes low, inhibiting further write operations. After completion
of a valid read cycle, FF goes high, allowing a write to occur. FF is updated by two WCLK cycles + tsk after the
RCLK cycle.
To prevent data overflow in the FWFT mode, IR goes high, inhibiting further write operations. After completion
of a valid read cycle, IR goes low, allowing a write to occur. The IR flag is updated by two WCLK cycles + tsk
after the valid RCLK cycle.
WEN is ignored when the FIFO is full in either FWFT or standard mode.
read clock (RCLK)
A read cycle is initiated on the rising edge of the RCLK input. Data can be read on the outputs, on the rising edge
of the RCLK input. It is permissible to stop RCLK. While RCLK is idle, the EF/OR, PAE, and HF flags are not
updated. RCLK is capable only of updating the HF flag to high. The write and read clocks can be independent
or coincident.
*9 TEXAS INSTRUMENTS
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
10 POST OFFICE BOX 655303 DALLAS, TEXAS 75265
read enable (REN)
When REN is low, data is loaded from the RAM array into the output register on the rising edge of every RCLK
cycle, if the device is not empty.
When REN is high, the output register holds the previous data and no new data is loaded into the output register.
The data outputs Q0Qn maintain the previous data value.
In standard mode, every word accessed at Qn, including the first word written to an empty FIFO, must be
requested using REN. When the last word has been read from the FIFO, the empty flag (EF) goes low, inhibiting
further read operations. REN is ignored when the FIFO is empty. Once a write is performed, EF goes high,
allowing a read to occur. The EF flag is updated by two RCLK cycles + tsk after the valid WCLK cycle.
In FWFT mode, the first word written to an empty FIFO automatically goes to the outputs Qn, on the third valid
low-to-high transition of RCLK + tsk after the first write. REN need not be asserted low. In order to access all
other words, a read must be executed using REN. The RCLK low-to-high transition after the last word has been
read from the FIFO and OR goes high with a true read (RCLK with REN = low), inhibiting further read operations.
REN is ignored when the FIFO is empty.
serial enable (SEN)
The SEN input is an enable used only for serial programming of the offset registers. The serial programming
method must be selected during master reset. SEN always is used with LD. When these lines are both low, data
at the SI input can be loaded into the program register, with one bit for each low-to-high transition of WCLK.
When SEN is high, the programmable registers retain the previous settings and no offsets are loaded. SEN
functions the same way in standard and FWFT modes.
output enable (OE)
When output enable is asserted (low), the parallel output buffers receive data from the output register. When
OE is high, the output data bus (Qn) goes into the high-impedance state.
load (LD)
LD is a dual-purpose pin. During master reset, the state of the LD input, along with FSEL0 and FSEL1,
determines one of eight default offset values for the PAE and PAF flags, along with the method by which these
offset registers can be programmed, parallel or serial (see Table 2). After master reset, LD enables write
operations to, and read operations from, the offset registers. Only the offset loading method currently selected
can be used to write to the registers. Offset registers can be read only in parallel.
After master reset, LD activates the programming process of the flag offset values PAE and PAF. Pulling LD low
begins a serial loading, or a parallel load, or a read of these offset values.
bus matching (BM, IW, OW)
BM, IW, and OW define the input and output bus widths. During master reset, the state of these pins is used
to configure the device bus sizes (see Table 1 for control settings). All flags operate on the word/byte-size
boundary, as defined by the selection of bus width (see Figure 4 for the bus-matching byte arrangement).
big endian/little endian (BE)
During master reset, a low on BE selects big-endian operation. A high on BE during master reset selects
little-endian format. This function is useful when the following input-to-output bus widths are implemented: ×36
to ×18, ×36 to ×9, ×18 to ×36, and ×9 to ×36. If big-endian mode is selected, the MSB (word) of the long word
written into the FIFO is read out of the FIFO first, followed by the LSB. If little-endian format is selected, the LSB
of the long word written into the FIFO is read out first, followed by the MSB. The desired mode is configured
during master reset by the state of BE (see Figure 4 for bus-matching byte arrangement).
*5 TEXAS INSTRUMENTS
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
11
POST OFFICE BOX 655303 DALLAS, TEXAS 75265
programmable-flag mode (PFM)
During master reset, a low on PFM selects asynchronous programmable-flag timing mode. A high on PFM
selects synchronous programmable-flag timing mode. If asynchronous PAF/PAE configuration is selected
(PFM low during MRS), PAE is asserted low on the low-to-high transition of RCLK. PAE is reset to high on the
low-to-high transition of WCLK. Similarly, PAF is asserted low on the low-to-high transition of WCLK, and PAF
is reset to high on the low-to-high transition of RCLK.
If synchronous PAE/PAF configuration is selected (PFM high during MRS), PAE is asserted and updated on the
rising edge of RCLK only, and not WCLK. Similarly, PAF is asserted and updated on the rising edge of WCLK
only and not RCLK. The mode desired is configured during master reset by the state of the PFM.
interspersed parity (IP)
During master reset, a low on IP selects noninterspersed-parity mode. A high selects interspersed-parity mode.
The IP bit function allows the user to select the parity bit in the word loaded into the parallel port (D0Dn) when
programming the flag offsets. If interspersed-parity mode is selected, the FIFO assumes that the parity bits are
located in bit positions D8, D17, D26, and D35 during the parallel programming of the flag offsets. If
noninterspersed-parity mode is selected, D8, D17, and D28 are assumed to be valid bits and D32, D33, D34,
and D35 are ignored. IP mode is selected during master reset by the state of the IP input pin. Interspersed-parity
control has an effect only during parallel programming of the offset registers. It does not affect the data written
to, and read from, the FIFO.
outputs
full flag/input ready (FF/IR)
FF/IR is a dual-purpose pin. In standard mode, the FF function is selected. When the FIFO is full, FF goes low,
inhibiting further write operations. When FF is high, the FIFO is not full. If no reads are performed after a reset
(either MRS or PRS), FF goes low after D writes to the FIFO (D = 1024 for the SN74V3640, D = 2048 for the
SN74V3650, D = 4096 for the SN74V3660, D = 8192 for the SN74V3670, D = 16384 for the SN74V3680, and
D = 32768 for the SN74V3690).
See Figure 7 for timing information.
In FWFT mode, the IR function is selected. IR goes low when memory space is available for writing in data.
When there is no longer any free space left, IR goes high, inhibiting further write operations. If no reads are
performed after a reset (either MRS or PRS), IR goes high after D writes to the FIFO (D = 1025 for the
SN74V3640, D = 2049 for the SN74V3650, D = 4097 for the SN74V3660, D = 8193 for the
SN74V3670, D = 16385 for the SN74V3680, and D = 32769 for the SN74V3690).
See Figure 9 for timing information.
The IR status not only measures the contents of the FIFO memory, but also counts the presence of a word in
the output register. Thus, in FWFT mode, the total number of writes necessary to deassert IR is one greater than
needed to assert FF in standard mode.
FF/IR is synchronous and updated on the rising edge of WCLK. FF/IR are double register-buffered outputs.
*9 TEXAS INSTRUMENTS
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
12 POST OFFICE BOX 655303 DALLAS, TEXAS 75265
empty flag/output ready (EF/OR)
EF/OR is a dual-purpose pin. In the standard mode, the EF function is selected. When the FIFO is empty, EF
goes low, inhibiting further read operations. When EF is high, the FIFO is not empty.
See Figure 8 for timing information.
In FWFT mode, the OR function is selected. OR goes low at the same time the first word written to an empty
FIFO appears valid on the outputs. OR stays low after the RCLK low-to-high transition that shifts the last word
from the FIFO memory to the outputs. OR goes high only with a true read (RCLK with REN = low). The previous
data stays at the outputs, indicating the last word was read. Further data reads are inhibited until OR goes low
again.
See Figure 10 for timing information.
EF/OR is synchronous and updated on the rising edge of RCLK.
In standard mode, EF is a double register-buffered output. In FWFT mode, OR is a triple register-buffered
output.
programmable almost-full flag (PAF)
PAF goes low when the FIFO reaches the almost-full condition. In standard mode, if no reads are performed
after reset (MRS), PAF goes low after (D m) words are written to the FIFO. The 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. The offset m is the full offset value. The default setting for this value is shown in Table 2.
In FWFT mode, 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. The offset m is the full offset value. The default setting
for this value is shown in Table 2.
See Figure 18 for timing information.
If the asynchronous PAF configuration is selected, PAF is asserted low on the low-to-high transition of WCLK.
PAF is reset to high on the low-to-high transition of RCLK. If the synchronous PAF configuration is selected, PAF
is updated on the rising edge of WCLK.
See Figure 20 for timing information.
programmable almost-empty flag (PAE)
PAE goes low when the FIFO reaches the almost-empty condition. In standard mode, PAE goes low when there
are n words, or fewer, in the FIFO. The offset n is the empty offset value. The default setting for this value is
shown in Table 2.
In FWFT mode, PAE goes low when there are n + 1 words, or fewer, in the FIFO. The default setting for this
value is shown in Table 2.
See Figure 19 for timing information.
If the asynchronous PAE configuration is selected, PAE is asserted low on the low-to-high transition of RCLK.
PAE is reset to high on the low-to-high transition of WCLK. If the synchronous PAE configuration is selected,
PAE is updated on the rising edge of RCLK.
See Figure 21 for timing information.
*5 TEXAS INSTRUMENTS
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
13
POST OFFICE BOX 655303 DALLAS, TEXAS 75265
half-full flag (HF)
HF indicates a half-full FIFO. The rising WCLK edge that fills the FIFO beyond half-full sets HF low. The flag
remains low until the difference between the write and read pointers becomes less than, or equal to, one-half
of the total depth of the device. The rising RCLK edge that accomplishes this condition sets HF high.
In standard mode, if no reads are performed after reset (MRS or PRS), HF goes low after (D/2 + 1) writes to
the FIFO, where D = 1024 for the SN74V3640, D = 2048 for the SN74V3650, D = 4096 for the SN74V3660,
D = 8192 for the SN74V3670, D = 16384 for the SN74V3680, and D = 32768 for the SN74V3690.
In FWFT mode, if no reads are performed after reset (MRS or PRS), HF goes low after [(D 1)/2] + 2 writes
to the FIFO, where D = 1025 for the SN74V3640, D = 2049 for the SN74V3650, D = 4097 for the SN74V3660,
D = 8193 for the SN74V3670, D = 16385 for the SN74V3680, and D = 32769 for the SN74V3690.
See Figure 22 for timing information. Because HF is updated by both RCLK WCLK, it is considered
asynchronous.
data outputs (Q0-Qn)
Q0Q35 are data outputs for 36-bit-wide data. Q0Q17 are data outputs for 18-bit-wide data. Q0Q8 are data
outputs for 9-bit-wide data.
*9 TEXAS INSTRUMENTS
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
14 POST OFFICE BOX 655303 DALLAS, TEXAS 75265
absolute maximum ratings over operating free-air temperature range (unless otherwise noted)
Supply voltage range, VCC 0.5 V to 4.5 V. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Continuous output current, IO (VO = 0 to VCC) ±50 mA. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Storage temperature range, Tstg 55°C to 125°C. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
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 absolute-maximum-rated conditions for extended periods may affect device reliability.
recommended operating conditions
MIN TYP MAX UNIT
VCC Supply voltage (see Note 1) 3.15 3.3 3.45 V
GND Supply voltage 0 0 0 V
VIH High-level input voltage (see Note 2) 2 5.5 V
VIL Low-level input voltage (see Note 3) 0.8 V
TAOperating free-air temperature 0 70 °C
NOTES: 1. VCC = 3.3 V ± 0.15 V, JEDEC JESD8-A compliant
2. Outputs are not 5-V tolerant.
3. 1.5-V undershoots are allowed for 10 ns once per cycle.
electrical characteristics over recommended operating conditions, tCLK = 6 ns, 7.5 ns, 10 ns, and
15 ns (unless otherwise noted)
PARAMETER TEST CONDITIONS MIN TYP MAX UNIT
VOH IOH = 2 mA 2.4 V
VOL IOL = 8 mA 0.4 V
IIVI = VCC to 0.4 V ±1µA
IOZ OE VIH, VO = VCC to 0.4 V ±10 µA
ICC1 See Notes 4, 5, and 6 40 mA
ICC2 See Notes 4 and 7 15 mA
CIN VI = 0, TA = 25°C, f = 1 MHz 10 pF
COUT VO = 0, TA = 25°C, f = 1 MHz, Output deselected (OE VIH) 10 pF
NOTES: 4. Tested with outputs open (IOUT = 0)
5. RCLK and WCLK switch at 20 MHz and data inputs switch at 10 MHz.
6. Typical ICC1 = 4.2 + 1.4 ×fS + 0.02 ×CL ×fS (in mA), with VCC = 3.3 V, TA = 25°C, fS = WCLK frequency = RCLK frequency (in MHz,
using TTL levels), data switching at fS/2, CL = capacitive load (in pF)
7. All inputs = (VCC 0.2 V) or (GND + 0.2 V), except RCLK and WCLK, TA = 25°C, which switch at 20 MHz.
{P TEXAS INSTRUMENTS
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
15
POST OFFICE BOX 655303 DALLAS, TEXAS 75265
timing requirements over recommended ranges of supply voltage and operating free-air
temperature (see Figure 2 through Figure 22)
SN74V3640-6
SN74V3650-6
SN74V3660-6
SN74V3670-6
SN74V3680-6
SN74V3690-6
SN74V3640-7
SN74V3650-7
SN74V3660-7
SN74V3670-7
SN74V3680-7
SN74V3690-7
SN74V3640-10
SN74V3650-10
SN74V3660-10
SN74V3670-10
SN74V3680-10
SN74V3690-10
SN74V3640-15
SN74V3650-15
SN74V3660-15
SN74V3670-15
SN74V3680-15
SN74V3690-15
UNIT
MIN MAX MIN MAX MIN MAX MIN MAX
fclock Clock cycle frequency 166 133.3 100 66.7 MHz
tAData access time 2 4.5 2 5 2 6.5 2 10 ns
tCLK Clock cycle time 6 7.5 10 15 ns
tCLKH Clock high time 2.5 3.5 4.5 6 ns
tCLKL Clock low time 2.5 3.5 4.5 6 ns
tDS Data setup time 1.5 2.5 3.5 4 ns
tDH Data hold time 0.5 0.5 0.5 1 ns
tENS Enable setup time 1.5 2.5 3.5 4 ns
tENH Enable hold time 0.5 0.5 0.5 1 ns
tLDS Load setup time 2 3.5 3.5 4 ns
tLDH Load hold time 0 0.5 0.5 1 ns
tRS Reset pulse duration10 10 10 15 ns
tRSS Reset setup time 15 15 15 15 ns
tRSR Reset recovery time 10 10 10 15 ns
tRSF Reset to flag and output time 15 15 15 15 ns
tRTS Retransmit setup time 2 3.5 3.5 4 ns
tOLZ Output enable to output in low impedance 0 0 0 0 ns
tOE Output enable to output valid 2 4.5 2 6 2 6 2 8 ns
tOHZ Output enable to output in high impedance 2 4.5 2 6 2 6 2 8 ns
tWFF Write clock to FF or IR 4.5 5 6.5 10 ns
tREF Read clock to EF or OR 4.5 5 6.5 10 ns
tPAFA Clock to asynchronous PAF 8.5 12.5 16 20 ns
tPAFS Write clock to synchronous PAF 4.5 5 6.5 10 ns
tPAEA Clock to asynchronous PAE 8.5 12.5 16 20 ns
tPAES Read clock to synchronous PAE 4.5 5 6.5 10 ns
tHF Clock to HF 9 12.5 16 20 ns
tsk1 Skew time between read clock and
write clock for EF/OR and FF/IR 4.5 5 7 9 ns
tsk2 Skew time between read clock and
write clock for PAE and PAF 4.5 7 10 14 ns
All ac timings apply to standard mode and FWFT mode.
Pulse durations less than minimum values are not allowed.
v v ompm Load 4o: :CLK :10 ns, :5 us See a (mum: Load 4o: :CLK = 5 ns, 7.5 us See A and c 3.3 V 330 0 From ompm Under 125‘ 20 pF 51° :1 (see Note B) B. OUTPUT LOAD CIRCUIT FOR1D-ns AND l5-ns SPEED GRADES A. AC TEST LOAD FOR 6415 AND 7.5-ns SPEED GRADE I. 0 0 20 40 60 80 100 I20 I40 |60| C. LUMPED CAPACITIVE LOAD, TYPICAL D *9 TEXAS INSTRUMENTS 16 POST OFFICE EOX $55303 ' DALLAS IEXAS 75285
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
16 POST OFFICE BOX 655303 DALLAS, TEXAS 75265
PARAMETER MEASUREMENT INFORMATION
From Output
Under Test
30 pF
(see Note B)
510
330
3.3 V
Input Pulse Levels
Input Rise/Fall Times
Input Timing Reference Levels
Output Reference Levels
Output Load for tCLK = 10 ns, 15 ns
Output Load for tCLK = 6 ns, 7.5 ns
GND to 3.0 V
3 ns (see Note A)
1.5 V
1.5 V
See B
See A and C
AC TEST CONDITIONS 50
1.5 V
ZO = 50
I/O
A. AC TEST LOAD
FOR 6-ns AND 7.5-ns SPEED GRADES
B. OUTPUT LOAD CIRCUIT
FOR 10-ns AND 15-ns SPEED GRADES
0
1
2
3
4
5
6
0 20 40 60 80 100 120 140 160 180 200
C. LUMPED CAPACITIVE LOAD, TYPICAL DERATING
Capacitance pF
Typical tCD ns
NOTES: A. For 133-MHz operation, input rise/fall times are 1.5 ns.
B. Includes probe and jig capacitance
Figure 2. Load Circuits
functional description
timing modes: FWFT mode vs standard mode
The SN74V3640, SN74V3650, SN74V3660, SN74V3670, SN74V3680, and SN74V3690 support two different
timing modes of operation: standard mode or FWFT mode. The mode is selected during master reset by the
state of the FWFT/SI input.
If, at the time of master reset, FWFT/SI is low, standard mode is selected. This mode uses EF to indicate whether
any words are present in the FIFO. It also uses FF to indicate whether the FIFO has any free space for writing.
In standard mode, every word read from the FIFO, including the first word, must be requested using REN and
RCLK.
If, at the time of master reset, FWFT/SI is high, FWFT mode is selected. This mode uses OR to indicate whether
valid data is at the data outputs (Qn). It also uses IR to indicate whether the FIFO has any free space for writing.
In the FWFT mode, the first word written to an empty FIFO goes directly to Qn after three RCLK rising edges;
REN = low is not necessary. Subsequent words must be accessed using REN and RCLK.
Various signals (both input and output) operate differently, depending on which timing mode is in effect.
*5 TEXAS INSTRUMENTS
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.
*9 TEXAS INSTRUMENTS
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
18 POST OFFICE BOX 655303 DALLAS, TEXAS 75265
standard mode (continued)
If the FIFO is full, the first read operation causes FF to go high. Subsequent read operations cause PAF and
HF to go high at the conditions described in Table 3. If further read operations occur without write operations,
PAE goes low when there are n 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, EF goes low, inhibiting
further read operations. REN is ignored when the FIFO is empty.
When configured in standard mode, the EF and FF outputs are register-buffered outputs.
See Figures 7, 8, 11, and 13 for timing information.
Table 2. Default Programmable Flag Offsets
SN74V3640, SN74V3650 SN74V3660, SN74V3670, SN74V3680, SN74V3690
LD FSEL1 FSEL0 OFFSETS (n, m)LD FSEL1 FSEL0 OFFSETS (n, m)
L H L 511 H L L 1,023
L L H 255 L H L 511
L L L 127 L L H 255
L H H 63 L L L 127
H L L 31 L H H 63
H H L 15 H H L 31
H L H 7 H L H 15
H H H 3 H H H 7
PROGRAM MODE PROGRAM MODE
H X X SerialH X X Serial
L X X Parallel§L X X Parallel§
n = empty offset for PAE, m = full offset for PAF
As well as selecting serial programming mode, one of the default values also is loaded, depending on the state
of FSEL0 and FSEL1.
§As well as selecting parallel programming mode, one of the default values also is loaded, depending on the state
of FSEL0 and FSEL1.
programming flag offsets
Full and empty flag offset values are user programmable. The SN74V3640, SN74V3650, SN74V3660,
SN74V3670, SN74V3680, and SN74V3690 have internal registers for these offsets. Eight default offset values
are selectable during master reset. These offset values are shown in Table 2. Offset values can also be
programmed into the FIFO by serial or parallel loading. The loading method is selected using LD. During master
reset, the state of the LD input determines whether serial or parallel flag offset programming is enabled. A high
on LD during master reset selects serial loading of offset values. A low on LD during master reset selects parallel
loading of offset values.
In addition to loading offset values into the FIFO, it is also possible to read the current offset values. Offset values
can be read via the parallel output port Q0Qn, regardless of the programming mode selected (serial or parallel).
It is not possible to read the offset values in serial fashion.
Figure 3 summarizes the control pins and sequence for both serial and parallel programming modes. A more
detailed description is given in the following paragraphs.
The offset registers may be programmed (and reprogrammed) any time after master reset, regardless of
whether serial or parallel programming has been selected. Valid programming ranges are from 0 to D 1.
Number of w m I FIFO (see 3) *5 TEXAS INSTRUMENTS
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
19
POST OFFICE BOX 655303 DALLAS, TEXAS 75265
synchronous vs asynchronous programmable flag timing selection
The SN74V3640, SN74V3650, SN74V3660, SN74V3670, SN74V3680, and SN74V3690 can be configured
during the master reset cycle, with either synchronous or asynchronous timing for PAF and PAE, by use of the
PFM pin.
If synchronous PAF/PAE configuration is selected (PFM high during MRS), PAF is asserted and updated on the
rising edge of WCLK only and not RCLK. Similarly, PAE is asserted and updated on the rising edge of RCLK
only, and not WCLK (see Figure 17 for synchronous PAF timing and Figure 18 for synchronous PAE timing).
If asynchronous PAF/PAE configuration is selected (PFM low during MRS), PAF is asserted low on the
low-to-high transition of WCLK, and PAF is reset to high on the low-to-high transition of RCLK. Similarly, PAE
is asserted low on the low-to-high transition of RCLK. PAE is reset to high on the low-to-high transition of WCLK.
See Figure 19 for asynchronous PAF timing and Figure 20 for asynchronous PAE timing.
Table 3. Status Flags for Standard Mode
SN74V3640 SN74V3650 SN74V3660 SN74V3670 FF PAF HF PAE EF
0 0 0 0 H H H L L
Number of
1 to n 1 to n 1 to n 1 to n H H H L H
Number
of
Words in (n + 1) to 512 (n + 1) to 1024 (n + 1) to 2048 (n + 1) to 4096 H H H H H
FIFO (see
Note 8) 513 to
[1024 (m + 1)] 1025 to
[2048 (m + 1)] 2049 to
[4096 (m + 1)] 4097 to
[8192 (m + 1)] H H L H H
(1024 m) to 1023 (2048 m) to 2047 (4096 m) to 4095 (8192 m) to 8191 H L L H H
1024 2048 4096 8192 L L L H H
SN74V3680 SN74V3690 FF PAF HF PAE EF
0 0 H H H L L
Number of
Wdi
1 to n 1 to n H H H L H
W
or
d
s
i
n
FIFO (see
(n + 1) to 8192 (n + 1) to 16384 H H H H H
FIFO
(see
Note 8) 8193 to [16384 (m + 1)] 16385 to [32768 (m + 1)] H H L H H
)
(16384 m) to 16383 (32768 m) to 32767 H L L H H
16384 32768 L L L H H
NOTE 8: See Table 2 for values for n, m.
Number 0! Number of *9 TEXAS INSTRUMENTS
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
20 POST OFFICE BOX 655303 DALLAS, TEXAS 75265
Table 4. Status Flags for FWFT Mode
SN74V3640 SN74V3650 SN74V3660 SN74V3670 IR PAF HF PAE OR
0 0 0 0 L H H L H
Number of
1 to (n + 1) 1 to (n + 1) 1 to (n + 1) 1 to (n + 1) L H H L L
Number
of
Words in (n + 2) to 513 (n + 2) to 1025 (n + 2) to 2049 (n + 2) to 4097 L H H H L
FIFO (see
Note 8) 514 to
[1025 (m + 1)] 1026 to
[2049 (m + 1)] 2050 to
[4097 (m + 1)] 4098 to
[8193 (m + 1)] L H L H L
(1025 m) to 1024 (2049 m) to 2048 (4097 m) to 4096 (8193 m) to 8192 L L L H L
1025 2049 4097 8193 H L L H L
SN74V3680 SN74V3690 IR PAF HF PAE OR
0 0 L H H L H
Number of
1 to (n + 1) 1 to (n + 1) L H H L L
Number
of
Words in (n + 2) to 8193 (n + 2) to 16385 L H H H L
FIFO (see
Note 8) 8194 to [16385 (m + 1)] 16386 to
[32769 (m + 1)] L H L H L
(16385 m) to 16384 (32769 m) to 32768 L L L H L
16385 32769 H L L H L
NOTE 8: See Table 2 for values for n, m.
LD WEN REN SEN WCLK RCLK SN74V3640, SN74V3650, SN74V3660,
SN74V3670, SN74V3680, SN74V3690
0 0 1 1 X
Parallel write to registers:
Empty offset (LSB)
Empty offset (MSB)
Full offset (LSB)
Full offset (MSB)
0 1 0 1 X
Parallel read from registers:
Empty offset (LSB)
Empty offset (MSB)
Full offset (LSB)
Full offset (MSB)
0 1 1 0 X
Serial shift into registers:
20 bits for the SN74V3640
22 bits for the SN74V3650
24 bits for the SN74V3660
26 bits for the SN74V3670
28 bits for the SN74V3680
30 bits for the SN74V3690
1 bit for each rising WCLK edge,
starting with empty offset (LSB)
ending with full offset (MSB)
X 1 1 1 X X No operation
1 0 X X XWrite memory
1 X 0 X X Read memory
1 1 1 X X X No operation
NOTES: A. The programming method can be selected only at master reset.
B. Parallel reading of the offset registers is always permitted, regardless of which programming method has been selected.
C. The programming sequence applies to FWFT and standard modes.
Figure 3. Programmable Flag Offset Programming Sequence
Figure 1Figure 2
*5 TEXAS INSTRUMENTS
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
21
POST OFFICE BOX 655303 DALLAS, TEXAS 75265
1st Parallel Offset Write/Read Cycle
Data Inputs/Outputs
D/Q35 D/Q15 D/Q8 D/Q0
EMPTY OFFSET REGISTER (PAE) BIT LOCATIONS
XX X X X X 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 Noninterspersed Parity
XX X X X 15 14 13 12 11 10 9 X 8 7 6 5 4 3 2 1 Interspersed Parity
2nd Parallel Offset Write/Read Cycle
Data Inputs/Outputs
D/Q35 D/Q17 D/Q8 D/Q0
FULL OFFSET REGISTER (PAF) BIT LOCATIONS
XX X X X 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 Noninterspersed Parity
XX X X 16 15 14 13 12 11 10 9 X 8 7 6 5 4 3 2 1 Interspersed Parity
×36 Bus Width
1st Parallel Offset Write/Read Cycle
D/Q17 D/Q15 Data Inputs/Outputs D/Q0
EMPTY OFFSET (LSB) REGISTER (PAE) BIT LOCATIONS
XX X 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 Noninterspersed Parity
X 15 14 13 12 11 10 9 X 8 7 6 5 4 3 2 1 Interspersed Parity
D/Q8
2nd Parallel Offset Write/Read Cycle
D/Q17 D/Q15 Data Inputs/Outputs D/Q0
FULL OFFSET (LSB) REGISTER (PAF) BIT LOCATIONS
XX X 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 Noninterspersed Parity
X 15 14 13 12 11 10 9 X 8 7 6 5 4 3 2 1 Interspersed Parity
D/Q8
×18 Bus Width
Number of bits used:
10 bits for the SN74V3640
11 bits for the SN74V3650
12 bits for the SN74V3660
13 bits for the SN74V3670
14 bits for the SN74V3680
15 bits for the SN74V3690
Note: All unused bits of the
LSB and MSB are dont care.
Figure 3. Programmable Flag Offset Programming Sequence (Continued)
Figure 1Figure 2
*9 TEXAS INSTRUMENTS
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
22 POST OFFICE BOX 655303 DALLAS, TEXAS 75265
1st Parallel Offset Write/Read Cycle
D/Q8 D/Q0
EMPTY OFFSET REGISTER (PAE) BIT LOCATIONS
X8765432 1
2nd Parallel Offset Write/Read Cycle
D/Q8 D/Q0
EMPTY OFFSET REGISTER (PAE) BIT LOCATIONS
X 16 15 14 13 12 11 10 9
3rd Parallel Offset Write/Read Cycle
D/Q8 D/Q0
FULL OFFSET REGISTER (PAF) BIT LOCATIONS
X8765432 1
4th Parallel Offset Write/Read Cycle
D/Q8 D/Q0
FULL OFFSET REGISTER (PAF) BIT LOCATIONS
X 16 15 14 13 12 11 10 9
×9 Bus Width
Number of bits used:
10 bits for the SN74V3640
11 bits for the SN74V3650
12 bits for the SN74V3660
13 bits for the SN74V3670
14 bits for the SN74V3680
15 bits for the SN74V3690
Note: All unused bits of the
LSB and MSB are dont care.
Figure 3. Programmable Flag Offset Programming Sequence (Continued)
serial programming mode
If the serial programming mode has been selected as described previously, programming of PAE and PAF
values can be achieved by using a combination of the LD, SEN, WCLK, and SI inputs. Programming PAE and
PAF proceeds as follows. When LD and SEN are set low, data on the SI input are written, one bit for each WCLK
rising edge, starting with the empty offset LSB and ending with the full offset MSB. This makes a total of 20 bits
for the SN74V3640, 22 bits for the SN74V3650, 24 bits for the SN74V3660, 26 bits for the SN74V3670, 28 bits
for the SN74V3680, and 30 bits for the SN74V3690.
See Figure 15 for the timing information.
Using the serial method, individual registers cannot be programmed selectively. PAE and PAF can show a valid
status only after the complete set of bits (for all offset registers) has been entered. The registers can be
reprogrammed, as long as the complete set of new offset bits is entered. When LD is low and SEN is high, no
serial write to the registers can occur.
*5 TEXAS INSTRUMENTS
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
23
POST OFFICE BOX 655303 DALLAS, TEXAS 75265
serial programming mode (continued)
Write operations to the FIFO are allowed before and during the serial programming sequence. In this case, the
programming of all offset bits need not occur at once. A select number of bits can be written to the SI input and
then, by bringing LD and SEN high, data can be written to FIFO memory via Dn by switching WEN. When WEN
is brought high with LD and SEN restored to a low, the next offset bit in sequence is written to the registers via
SI. If an interruption of serial programming is desired, it is sufficient either to set LD low and deactivate SEN,
or to set SEN low and deactivate LD. When LD and SEN are restored to a low level, serial offset programming
continues.
From the time serial programming begins, neither programmable flag is valid until the full set of bits required
to fill all the offset registers is written. Measuring from the rising WCLK edge that achieves the previous criteria,
PAF is valid after two more rising WCLK edges + tPAF. PAE is valid after the next two rising RCLK edges
+ tPAE + tsk2.
Flag offset values can be read only via parallel output port Qn.
parallel programming mode
If the parallel programming mode has been selected as described previously, programming of PAE and PAF
values can be achieved by using a combination of the LD, WCLK , WEN and Dn inputs. Programming PAE and
PAF proceeds as follows. LD and WEN must be set low. For ×36-bit input bus width, data on the inputs Dn are
written into the Empty Offset register on the first low-to-high transition of WCLK. On the second low-to-high
transition of WCLK, data are written into the Full Offset register. The third transition of WCLK writes, once again,
to the Empty Offset register. For ×18-bit input bus width, data on the inputs Dn are written into the Empty Offset
register (LSB) on the first low-to-high transition of WCLK. On the second low-to-high transition of WCLK, data
are written into the Empty Offset (MSB) register. The third transition of WCLK writes to the Full Offset register
(LSB). The fourth transition of WCLK writes to the Full Offset register (MSB). The fifth transition of WCLK writes,
once again, to the Empty Offset register (LSB). A total of four writes to the offset registers is required to load
values using a ×18 input bus width. For an input bus width of ×9 bits, a total of six write cycles to the offset
registers is required to load values.
See Figures 3 and 16 for timing information.
Writing offsets in parallel employs a dedicated Write Offset register pointer. Reading offsets employs a
dedicated Read Offset register pointer. The two pointers operate independently; however, a read and a write
should not be performed simultaneously to the offset registers. A master reset initializes both pointers to the
Empty Offset register (LSB). A partial reset has no effect on the position of these pointers.
Write operations to the FIFO are allowed before and during the parallel programming sequence. In this case,
the programming of all offset registers need not occur at one time. One, two, or more offset registers can be
written to and then, by bringing LD high, write operations can be redirected to the FIFO memory. When LD is
set low again and WEN is low, the next offset register in sequence is written to. As an alternative to holding WEN
low and switching LD, parallel programming can also be interrupted by setting LD low and switching WEN.
Note that the status of a programmable-flag (PAE or PAF) output is invalid during the programming process.
From the time parallel programming has begun, a programmable-flag output is not valid until the appropriate
offset word has been written to the register(s) pertaining to that flag. Measuring from the rising WCLK edge that
achieves the previous criteria, PAF is valid after two more rising WCLK edges + tPAF. PAE is valid after the next
two rising RCLK edges + tPAE + tsk2.
Reading the offset registers employs a dedicated read offset register pointer. The contents of the offset registers
can be read on the Q0Qn pins when LD is set low and REN is set low. For ×36 output bus width, data are read
via Qn from the Empty Offset register on the first low-to-high transition of RCLK. On the second low-to-high
transition of RCLK, data are read from the Full Offset register. The third transition of RCLK reads, once again,
from the Empty Offset register. For ×18 output bus width, a total of four read cycles is required to obtain the
values of the offset registers, starting with the Empty Offset register (LSB) and finishing with the Full Offset
register (MSB). For ×9 output bus width, a total of six read cycles must be performed on the offset registers.
*9 TEXAS INSTRUMENTS
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
24 POST OFFICE BOX 655303 DALLAS, TEXAS 75265
parallel programming mode (continued)
See Figures 3 and 17 for timing information.
It is permissible to interrupt the offset register read sequence with reads or writes to the FIFO. The interruption
is accomplished by deasserting REN, LD, or both together. When REN and LD are restored to a low level,
reading of the offset registers continues where it left off. It should be noted (and care should be taken from the
fact) that when a parallel read of the flag offsets is performed, the data word that was present on output lines
Qn is overwritten.
Parallel reading of the offset registers always is permitted, regardless of which timing mode (Standard or FWFT
modes) has been selected.
retransmit operation
The retransmit operation allows data that has been read to be accessed again. There are two modes of
retransmit operation: normal latency and zero latency. There are two stages to retransmit. The first stage is a
setup procedure that resets the read pointer to the first location of memory. The second stage is the actual
retransmit, which consists of reading out the memory contents, starting at the beginning of memory.
Retransmit setup is initiated by holding RT low during a rising RCLK edge. REN and WEN must be high before
bringing RT low. When zero latency is utilized, REN need not be high before bringing RT low. At least two words,
but no more than D 2 words should have been written into the FIFO, and read from the FIFO, between reset
(master or partial) and the time of retransmit setup, D = 1024 for the SN74V3640, D = 2048 for the SN74V3650,
D = 4096 for the SN74V3660, D = 8192 for the SN74V3670, D = 16384 for the SN74V3680, and D = 32768 for
the SN74V3690. In FWFT mode, D = 1025 for the SN74V3640, D = 2049 for the SN74V3650, D = 4097 for the
SN74V3660, D = 8193 for the SN74V3670, D = 16385 for the SN74V3680, and D = 32769 for the SN74V3690.
If standard mode is selected, the FIFO marks the beginning of the retransmit setup by setting EF low. The
change in level is noticeable only if EF was high before setup. During this period, the internal read pointer is
initialized to the first location of the RAM array.
When EF goes high, retransmit setup is complete and read operations can begin, starting with the first location
in memory. Because standard mode is selected, every word read, including the first word following retransmit
setup, requires a low on REN to enable the rising edge of RCLK.
See Figure 11 for timing information.
If FWFT mode is selected, the FIFO marks the beginning of the retransmit setup by setting OR high. During this
period, the internal read pointer is set to the first location of the RAM array.
When OR goes low, retransmit setup is complete. At the same time, the contents of the first location appear on
the outputs. Because FWFT mode is selected, the first word appears on the outputs and no low on REN is
necessary. Reading all subsequent words requires a low on REN to enable the rising edge of RCLK.
See Figure 12 for timing information.
For either standard mode or FWFT mode, updating of PAE, HF, and PAF begins with the rising edge of RCLK
that RT is set up on. PAE is synchronized to RCLK, thus, on the second rising edge of RCLK after RT is set up,
PAE is updated. HF is asynchronous, thus, the rising edge of RCLK that RT is set up on updates HF. PAF is
synchronized to WCLK, thus, the second rising edge of WCLK that occurs tsk after the rising edge of RCLK that
RT is set up on updates PAF. RT is synchronized to RCLK.
The retransmit function has the option of two modes of operation, either normal latency or zero latency.
Figures 11 and 12 show normal latency. Figures 13 and 14 show the zero-latency retransmit operation. Zero
latency means, basically, that the first data word to be retransmitted is placed in the output register, with respect
to the RCLK pulse that initiated the retransmit.
I:||:||:|I:| I:||:l|:l|:l a: a: a: a: a: a: a: a: SEE: SEE: SEE: SEE: Ema: ESE: Ema: Ema: INSTRUMENTS *5 TEXAS
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
25
POST OFFICE BOX 655303 DALLAS, TEXAS 75265
BYTE ORDER ON INPUT PORT: D35-D27 D26-D18 D17-D9 D8-D0
A B C D Write to FIFO
BYTE ORDER ON OUTPUT PORT: Q35-Q27 Q26-Q18 Q17-Q9 Q8-Q0
BE BM IW OW A B C D Read from FIFO
X L L L
(a) ×36 INPUT TO ×36 OUTPUT
Q35-Q27 Q26-Q18 Q17-Q9 Q8-Q0
BE BM IW OW X X A B 1st: Read from FIFO
L H L L Q35-Q27 Q26-Q18 Q17-Q9 Q8-Q0
X X C D 2nd: Read from FIFO
(b) ×36 INPUT TO ×18 OUTPUT BIG ENDIAN
Q35-Q27 Q26-Q18 Q17-Q9 Q8-Q0
BE BM IW OW X X C D 1st: Read from FIFO
H H L L Q35-Q27 Q26-Q18 Q17-Q9 Q8-Q0
X X A B 2nd: Read from FIFO
(c) ×36 INPUT TO ×18 OUTPUT LITTLE ENDIAN
Q35-Q27 Q26-Q18 Q17-Q9 Q8-Q0
BE BM IW OW X X X A 1st: Read from FIFO
L H L H Q35-Q27 Q26-Q18 Q17-Q9 Q8-Q0
X X X B 2nd: Read from FIFO
Q35-Q27 Q26-Q18 Q17-Q9 Q8-Q0
X X X C 3rd: Read from FIFO
Q35-Q27 Q26-Q18 Q17-Q9 Q8-Q0
X X X D 4th: Read from FIFO
(d) ×36 INPUT TO ×9 OUTPUT BIG ENDIAN
Q35-Q27 Q26-Q18 Q17-Q9 Q8-Q0
BE BM IW OW X X X D 1st: Read from FIFO
H H L H Q35-Q27 Q26-Q18 Q17-Q9 Q8-Q0
X X X C 2nd: Read from FIFO
Q35-Q27 Q26-Q18 Q17-Q9 Q8-Q0
X X X B 3rd: Read from FIFO
Q35-Q27 Q26-Q18 Q17-Q9 Q8-Q0
X X X A 4th: Read from FIFO
(e) ×36 INPUT TO ×9 OUTPUT LITTLE ENDIAN
Figure 4. Bus-Matching Byte Arrangement
I:||:||:||:| 3%: 3%: 3%: SEE: I:||:||:||:| INSTRUMENTS *4“ TEXAS
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
26 POST OFFICE BOX 655303 DALLAS, TEXAS 75265
BYTE ORDER ON INPUT PORT: D35-D27 D26-D18 D17-D9 D8-D0
X X A B 1st: Write to FIFO
Q35-Q27 Q26-Q18 Q17-Q9 Q8-Q0
X X C D 2nd: Write to FIFO
BYTE ORDER ON OUTPUT PORT: Q35-Q27 Q26-Q18 Q17-Q9 Q8-Q0
BE BM IW OW A B C D Read from FIFO
L H H L
(a) ×18 INPUT TO ×36 OUTPUT BIG ENDIAN
Q35-Q27 Q26-Q18 Q17-Q9 Q8-Q0
BE BM IW OW C D A B Read from FIFO
H H H L
(b) ×18 INPUT TO ×36 OUTPUT LITTLE ENDIAN
BYTE ORDER ON INPUT PORT: Q35-Q27 Q26-Q18 Q17-Q9 Q8-Q0
X X X A 1st: Write to FIFO
Q35-Q27 Q26-Q18 Q17-Q9 Q8-Q0
X X X B 2nd: Write to FIFO
Q35-Q27 Q26-Q18 Q17-Q9 Q8-Q0
X X X C 3rd: Write to FIFO
Q35-Q27 Q26-Q18 Q17-Q9 Q8-Q0
X X X D 4th: Write to FIFO
BYTE ORDER ON OUTPUT PORT: Q35-Q27 Q26-Q18 Q17-Q9 Q8-Q0
BE BM IW OW A B C D Read from FIFO
L H H H
(a) ×9 INPUT TO ×36 OUTPUT BIG ENDIAN
Q35-Q27 Q26-Q18 Q17-Q9 Q8-Q0
BE BM IW OW D C B A Read from FIFO
H H H H
(b) ×9 INPUT TO ×36 OUTPUT LITTLE ENDIAN
Figure 1. Bus-Matching Byte Arrangement (Continued)
If er—‘r: Low. FF : High X \474H INSTRUMENTS *5 TEXAS
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
27
POST OFFICE BOX 655303 DALLAS, TEXAS 75265
If FWFT = High, OR = High
If FWFT = Low, EF = Low
If FWFT = Low, FF = High
If FWFT = High, IR = Low
tRSS
tRSS
tRSS
tRSS
tRSS
tRSS
tRSS
tRSS
tRSS
tRSS
tRSS
tRSR
tRSR
tRSR
tRSR
tRSS
tRSF
tRSF
tRSF
tRSF
tRSF
MRS
REN
FWFT/SI
WEN
FSEL0,
FSEL1
RT
SEN
PAE
PAF,
HF
EF/OR
FF/IR
BM,
OW,
IW
BE
RM
PFM
IP
LD
Q0Qn OE = High
OE = Low
tRS
Figure 2. Master Reset Timing
‘47 4»! INSTRUMENTS *5 TEXAS
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
28 POST OFFICE BOX 655303 DALLAS, TEXAS 75265
If FWFT = Low, EF = Low
tRSR
tRSS
tRSF
tRSS
tRSS
tRSS
tRS
tRSF
tRSF
tRSF
tRSF
PRS
REN
WEN
RT
SEN
PAE
PAF,
HF
EF/OR
FF/IR
Q0Qn
tRSR
If FWFT = High, OR = High
If FWFT = Low, FF = High
If FWFT = High, IR = Low
OE = High
OE = Low
Figure 3. Partial Reset Timing
No Wlile k w A 'CLKm—H% —/ If 4’ 2r w 2r h—vL \ 40¢ p—A \ H ‘ \ IOIOIO19319319319101.3193 - $IOI9IO19319319310331.1910D9191 _ ‘ ‘ ‘ H H w No Wrile /_\_/_\_/_\ /_\/_\/_\/_\/_\ W HH _ \ \{ 3 \[ k7 4’1 1-7 4H *5 TEXAS INSTRUMENTS
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
29
POST OFFICE BOX 655303 DALLAS, TEXAS 75265
tCLKH
tENS tENS
tDS
tWFF
tWFF
tWFF
Data Read Next Data ReadData in Output Register
tENH
tENH
tsk1
(see Note A)
tsk1
(see Note A)
tCLKH
WEN
RCLK
REN
WCLK
1212
Dx Dx + 1
FF
tDS
tWFF
tA
tA
Q0Qn
D0Dn
tDH
tDH
No Write tCLK No Write
NOTES: A. tsk1 is the minimum time between a rising RCLK edge and a rising WCLK edge to ensure that FF goes high (after one
WCLK cycle + tWFF). If the time between the rising edge of the RCLK and the rising edge of the WCLK is less than tsk1, FF
deassertion can be delayed one additional WCLK cycle.
B. LD = high, OE = low, EF = high
Figure 4. Write Cycle and Full Flag Timing (Standard Mode)
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
30 POST OFFICE BOX 655303 DALLAS, TEXAS 75265
tDS
tOLZ
No Operation
RCLK
REN
EF
OE
WEN
1 2
No Operation
Last Word
tsk1
(see Note A)
tref
tOLZ
tOHZ
tENH
tENS
tDH
tENH
tENS
tDS tDH
Last Word
tENS tENH
tCLKH tCLKL
tENS tENH tENH
tA
tref
tA
tref
tA
tOE
WCLK
Q0Qn
D0Dn D0 D1
D0 D1
tCLK
tENS
NOTES: A. tsk1 is the minimum time between a rising WCLK edge and a rising RCLK edge to ensure that EF goes high (after one
RCLK cycle + tref). If the time between the rising edge of WCLK and the rising edge of RCLK is less than tsk1, EF deassertion can
be delayed one additional RCLK cycle.
B. LD = high
C. First-data-word latency: tsk1 + 1TRCLK + tREF
Figure 5. Read Cycle, Empty Flag, and First-Data-Word Latency Timing (Standard Mode)
K] Klil ill>17 ‘ [>1 44% dmx>m EmiEZmzam
3.3-V CMOS FIRST-IN, FIRST-OUT MEMORIES
SN74V3640, SN74V3650, SN74V3660, SN74V3670, SN74V3680, SN74V3690
1024 36, 2048 36, 4096 36, 8192 36, 16384 36, 32768 36
SCAS668A NOVEMBER 2001 REVISED MARCH 2003
×
×
×
×
×
×
POST OFFICE BOX 655303 DALLAS, TEXAS 75265
31
1 1
WCLK
D0D17
tENS
WEN
tDH
tDS tDS
tDS tDS tENH
W1 W2 W3 W4 W(n+2) W(n+3) W(n+4) W
WWW(D-m-2) W(D-m-1) W(D-m) W(D-m+2)
tsk1 (see Note A)
RCLK
REN
Q0Q17
12 3
tA
Data in Output Register W1
tREF
OR
tsk2 (see Note B)
tPAES
PAE
tHF
HF
tPAFS
PAF
tWFF
IR
NOTES: A. tsk1 is the minimum time between a rising WCLK edge and a rising RCLK edge to ensure that OR goes low after two RCLK cycles + tREF. If the time between the rising
edge of WLCK and the rising edge of RCLK is less than tsk1, OR assertion can be delayed one additional RCLK cycle.
B. tsk2 is the minimum time between a rising WCLK edge and a rising RCLK edge to ensure that PAE goes high after one RCLK cycle + tPAES. If the time between the
rising edge of WCLK and the rising edge of RCLK is less than tsk2, PAE deassertion can be delayed one additional RCLK cycle.
C. LD = high, OE = low
D. n = PAE offset, m = PAF offset, D = maximum FIFO depth
E. D = 1025 for the SN74V3640, D = 2049 for the SN74V3650, D = 4097 for the SN74V3660, D = 8193 for the SN74V3670, D = 16385 for the SN74V3680, and D = 32769
for the SN74V3690
F. First-data-word latency: tsk1 + 2tRCLK + tREF
12
2
W(D-m+1) W(D-1) W(D)
D1
22
D1
21D1
23
Figure 6. Write Timing (FWFT Mode)
PRODUCT PREVIEW
44% 453m _zm._.mc2mz._.m
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
32 POST OFFICE BOX 655303 DALLAS, TEXAS 75265
tOE
WCLK
WD
tENH
tENS
WEN
tsk1
(see Note A)
12
tDH
tDS
D0D17
RCLK
tENS tENS
REN
OE
tOHZ tA
tAtAtAtAtA
tREF
Q0Q17
tPAES
tHF
tPAFS
tWFF
tWFF
OR
PAE
HF
PAF
IR
W1 W1 W2 W3 W(m+3)Wm+2 W(m+4) WW W(D-n-1) W(D-n) W(D-n+2) W(D-1) WD
NOTES: A. tsk1 is the minimum time between a rising RCLK edge and a rising WCLK edge to ensure that IR goes low after one WCLK cycle + tWFF. If the time between the rising
edge of RLCK and the rising edge of WCLK is less than tsk1, IR assertion may be delayed an additional WCLK cycle.
B. tsk2 is the minimum time between a rising RCLK edge and a rising WCLK edge to ensure that PAF to goes high after one WCLK cycle + tPAFS. If the time between the
rising edge of RCLK and the rising edge of WCLK is less than tsk2, PAF deassertion may be delayed an additional WCLK cycle.
C. LD = high
D. n = PAE offset, m = PAF offset, D = maximum FIFO depth
E. D = 1025 for the SN74V3640, D = 2049 for the SN74V3650, D = 8193 for the SN74V3670, D = 16385 for the SN74V3680, and D = 32769 for the SN74V3690
tsk2
(see Note B)
2
1
W(D-n+1)
D1
21D1
22
Figure 7. Read Timing (FWFT Mode)
INSTRUMENTS {'3 TEXAS
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
33
POST OFFICE BOX 655303 DALLAS, TEXAS 75265
W2
(see
Note C)
WCLK
RCLK
REN
RT
EF
PAF
HF
PAE
12
12
WEN
tENS tENH tENS tENH
tAtAtA
tsk2
tENS tENH
tREF tREF
tPAES
tHF
tPAFS
Q0Qn Wx Wx + 1
tRTS
tRTS
W1 (see Note C)
NOTES: A. Retransmit setup is complete after EF returns high; only then can a read operation begin.
B. OE = low
C. W1 = first word written to the FIFO after master reset, W2 = second word written to the FIFO after master reset
D. No more than (D 2) words may be written to the FIFO between reset (master or partial) and retransmit setup. Therefore, FF is
high throughout the retransmit setup procedure.
D = 1024 for the SN74V3640, D = 2048 for the SN74V3650, D = 4096 for the SN74V3660, D = 8192 for the SN74V3670, D = 16384
for the SN74V3680, and D = 32768 for the SN74V3690.
E. There must be at least two words written to and two words read from the FIFO before a retransmit operation can be invoked.
F. RM is set high during MRS.
Figure 8. Retransmit Timing (Standard Mode)
PRODUCT PREVIEW
INSTRUMENTS *5 TEXAS
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
34 POST OFFICE BOX 655303 DALLAS, TEXAS 75265
tENS
WCLK
RCLK
REN
RT
OR
PAF
HF
PAE
12
1 2
WEN
34
tENS
tENH
tRTS tENH
tA
tA
tsk2
tENS tENH
tREF
tREF
tPAES
tHF
Q0Qn Wx Wx + 1 W4
tPAFS
tRTS
tAtA
W1 (see Note D) W2 (see Note D) W3 (see Note D)
NOTES: A. Retransmit setup is complete after OR returns low.
B. No more than (D 2) words can be written to the FIFO between reset (master or partial) and retransmit setup. Therefore, IR is
low throughout the retransmit setup procedure.
D = 1025 for the SN74V3640, D = 2049 for the SN74V3650, D = 4097 for the SN74V3660, D = 8193 for the SN74V3670, D = 16385
for the SN74V3680, and D = 32769 for the SN74V3690.
C. OE = low
D. W1, W2, W3 = first, second, and third words written to the FIFO after master reset
E. There must be at least two words written to the FIFO before a retransmit operation can be invoked.
F. RM is set high during MRS.
Figure 9. Retransmit Timing (FWFT Mode)
PRODUCT PREVIEW
\ __________(_____________. fix L INSTRUMENTS {'3 TEXAS
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
35
POST OFFICE BOX 655303 DALLAS, TEXAS 75265
WCLK
RCLK
REN
RT
PAF
HF
PAE
12
12
WEN
3
tENS tENH
tAtAtAtAtA
tsk2
tRTS
tENS
tENH
tHF
tPAES
Q0Qn Wx Wx + 1 W0 W3
EF
(see Note A)
tPAFS
W1 (see Note C) W2 (see Note C)
NOTES: A. If the FIFO is empty at the point of retransmit, EF is updated, based on RCLK (retransmit clock cycle). Valid data appears on the
output.
B. OE = low, enables data to be read on outputs Q0Qn
C. W1 = first word written to the FIFO after master reset, W2 = second word written to the FIFO after master reset
D. No more than (D 2) words may be written to the FIFO between reset (master or partial) and retransmit setup. Therefore, FF is
high throughout the retransmit setup procedure.
D = 1024 for the SN74V3640, D = 2048 for the SN74V3650, D = 4096 for the SN74V3660, D = 8192 for the SN74V3670,
D = 16384 for the SN74V3680, D = 32768 for the SN74V3690.
E. At least two words must be written to and read from the FIFO before a retransmit operation can be invoked.
F. RM is set low during MRS.
Figure 10. Zero-Latency Retransmit Timing (Standard Mode)
PRODUCT PREVIEW
{W1 / xxxxx Hx H‘X ; xxxxx ax {:1wa x1 x Hx \ x \ \ \ 1 T"—'—"—'T""""""""""" ‘ \ ___________J______ INSTRUMENTS *5 TEXAS
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
36 POST OFFICE BOX 655303 DALLAS, TEXAS 75265
W1 W2 (see Note D) W3 (see Note D) W4 (see Note D)
WCLK
RCLK
REN
RT
OR
PAF
HF
PAE
12
12
WEN
45
3
tENS tENH
tsk2
tENS tENH
tHF
tPAES
tPAFS
Q0Qn Wx Wx + 1 W5
tAtAtAtAtA
tRTS
NOTES: A. If the FIFO is empty at the point of retransmit, OR is updated, based on RCLK (retransmit clock cycle). Valid data also appears
on the output.
B. No more than (D 2) words may be written to the FIFO between reset (master or partial) and retransmit setup. Therefore, IR is
low throughout the retransmit setup procedure.
D = 1025 for the SN74V3640, D = 2049 for the SN74V3650, D = 4097 for the SN74V3660, and D = 8193 for the SN74V3670,
D = 16385 for the SN74V3680, and D = 32769 for the SN74V3690.
C. OE = low
D. W1, W2, W3 = first, second, and third words written to the FIFO after master reset.
E. There must be at least two words written to the FIFO before a retransmit operation can be invoked.
F. RM is set low during MRS.
Figure 11. Zero-Latency Retransmit Timing (FWFT Mode)
PRODUCT PREVIEW
WCLK f X W If \ AENSJF—ufi ‘ENH +_J‘ \ \\ 1 /7\ 1 /—‘ \ ‘LDS \ {WILDH L—q \ \ ‘ x m x 1 /7\ 1 /— ‘DSH 44—1 5. 2222* >< bitx="" bin)="" ,1="" x="" x222="" ‘="" see="" ole="" ‘="" \="" l="" 1="" 1‘="" f="" fl="" r="" n="" +1="" w="" w="" p—pl="" \="" v—t="" \="" 1="" —="" w="" ‘="" \="" h="" 1="" w="" w="" \="" —w="" h="" \="" h="" h—a»="" \="" {9101010101010="" 5="" 91610="" c="" 9191="" *5="" texas="" instruments="" p057="" omca="" aox="" $55303="" -="" dallas="" iexas="" 752s5="">
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
37
POST OFFICE BOX 655303 DALLAS, TEXAS 75265
Bit x
(see Note A)
Bit 0Bit x
(see Note A)
WCLK
SEN
SI
LD
tENS tENH tENH
tLDH
tLDS tLDH
tDH
tDS
Empty Offset Full Offset
Bit 0
NOTE A: x = 9 for the SN74V3640, x = 10 for the SN74V3650, x = 11 for the SN74V3660, x = 12 for the SN74V3670, x = 13 for the SN74V3680,
x = 14 for the SN74V3690.
Figure 12. Serial Loading of Programmable Flag Registers (FWFT Mode)
WCLK
LD
WEN
tCLK
tCLKH
tLDS tLDH
tENS
tDS tDH
tENH
tDH
tLDH
tENH
D0D16
tCLKL
NOTE A: This diagram shows programming with an input bus width of 36 bits.
PAF
Offset
Offset
PAE
Figure 13. Parallel Loading of Programmable Flag Registers (Standard and FWFT Modes)
PRODUCT PREVIEW
*5 TEXAS INSTRUMENTS
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
38 POST OFFICE BOX 655303 DALLAS, TEXAS 75265
PAF Offset
Data in Output Register PAE Offset
tLDS
tENH
tLDH
tA
tENS
tA
tCLKL
tCLK
tCLKH
tENH
tLDH
RCLK
LD
REN
Q0Qn
NOTES: A. OE = low
B. This diagram shows reading of offset registers with an output bus width of 36 bits.
Figure 14. Parallel Read of Programmable Flag Registers (Standard and FWFT Modes)
PRODUCT PREVIEW
\/ INSTRUMENTS {'3 TEXAS
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
39
POST OFFICE BOX 655303 DALLAS, TEXAS 75265
tsk2
(see Note C)
D (m + 1) Words in FIFO
(see Note B) D (m + 1)
Words in
FIFO (see
Note B)
WCLK
WEN
PAF
RCLK
REN
1212
tCLKL
tENS tENH
tPAFS tPAES
tENS tENH
D m Words in FIFO
(see Note B)
tCLKH
NOTES: A. m = PAF offset
B. D = maximum FIFO depth
In FWFT mode: D = 1025 for the SN74V3640, D = 2049 for the SN74V3650, D = 4097 for the SN74V3660, and D = 8193 for the
SN74V3670, D = 16385 for the SN74V3680, and D = 32769 for the SN74V3690.
In standard mode: D = 1024 for the SN74V3640, D = 2048 for the SN74V3650, D = 4096 for the SN74V3660, D = 8192 for the
SN74V3670, D = 16384 for the SN74V3680, D = 32768 for the SN74V3690.
C. tsk2 is the minimum time between a rising RCLK edge and a rising WCLK edge to ensure that PAF goes high (after one
WCLK cycle + tPAFS). If the time between the rising edge of RCLK and the rising edge of WCLK is less than tsk2, PAF deassertion
time may be delayed one additional WCLK cycle.
D. PAF is asserted and updated on the rising edge of WCLK only.
E. Select this mode by setting PFM high during master reset.
Figure 15. Synchronous Programmable Almost-Full Flag Timing (Standard and FWFT Modes)
PRODUCT PREVIEW
*9 TEXAS INSTRUMENTS
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
40 POST OFFICE BOX 655303 DALLAS, TEXAS 75265
tCLKL
tENH
n Words in FIFO (see Note B)
n + 1 Words in FIFO (see Note C)
tsk2
(see Note D)
WCLK
WEN
RCLK 12 1 2
REN
tENS
tPAES
n Words in FIFO (see Note B)
n + 1 Words in FIFO (see Note C)
tPAES
tENS tENH
n Words in FIFO (see Note B)
n + 1 Words in FIFO (see Note C)
NOTES: A. n = PAE offset
B. For standard mode
C. For FWFT mode
D. tsk2 is the minimum time between a rising WCLK edge and a rising RCLK edge to ensure that PAE goes high (after one
RCLK cycle + tPAES). If the time between the rising edge of WCLK and the rising edge of RCLK is less than tsk2, PAE deassertion
can be delayed one additional RCLK cycle.
E. PAE is asserted and updated on the rising edge of WCLK only.
F. Select this mode by setting PFM high during master reset.
PAE
tCLKH
Figure 16. Synchronous Programmable Almost-Empty Flag Timing (Standard and FWFT Modes)
PRODUCT PREVIEW
FIFO D “4‘ INSTRUMENTS {'3 TEXAS
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
41
POST OFFICE BOX 655303 DALLAS, TEXAS 75265
D (m + 1) Words in FIFO
D m Words in FIFO
WCLK
WEN
PAF
RCLK
REN
tCLKH
tENS tENH
tPAFA
tPAFA
tENS
D (m + 1) Words in FIFO
tCLKL
NOTES: A. m = PAF offset
B. D = maximum FIFO depth
In FWFT mode: D = 1025 for the SN74V3640, D = 2049 for the SN74V3650, D = 4097 for the SN74V3660, D = 8193 for the
SN74V3670, D = 16385 for the SN74V3680, and D = 32769 for the SN74V3690.
In standard mode: D = 1024 for the SN74V3640, D = 2048 for the SN74V3650, D = 4096 for the SN74V3660, D = 8192 for the
SN74V3670, D = 16384 for the SN74V3680, and D = 32768 for the SN74V3690.
C. PAF is asserted to low on WCLK transition and reset to high on RCLK transition.
D. Select this mode by setting PFM low during master reset.
Figure 17. Asynchronous Programmable Almost-Full Flag Timing (Standard and FWFT Modes)
PRODUCT PREVIEW
FIFO INSTRUMENTS *5 TEXAS
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
42 POST OFFICE BOX 655303 DALLAS, TEXAS 75265
n + 1 Words in FIFO
(see Note B)
n + 2 Words in FIFO
(see Note C)
n Words in FIFO
(see Note B)
n + 1 Words in FIFO
(see Note C)
WCLK
WEN
PAE
RCLK
REN
tCLKL
tENS tENH
tPAEA
n Words in FIFO (see Note B)
n + 1 Words in FIFO (see Note C)
tENS
tPAEA
NOTES: A. n = PAE offset
B. For standard mode
C. For FWFT mode
D. PAE is asserted low on RCLK transition and reset to high on WCLK transition.
E. Select this mode by setting PFM low during master reset.
tCLKH
Figure 18. Asynchronous Programmable Almost-Empty Flag Timing (Standard and FWFT Modes)
PRODUCT PREVIEW
PP INSTRUMENTS {'3 TEXAS
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
43
POST OFFICE BOX 655303 DALLAS, TEXAS 75265
WCLK
WEN
HF
RCLK
REN
tENH
tENS
tENS
+ 1 Words in FIFO (see Note B)
tCLKL
tCLKH
tHF
NOTES: A. In standard mode: D = maximum FIFO depth. D = 1024 for the SN74V3640, D = 2048 for the SN74V3650, D = 4096 for the
SN74V3660, D = 8192 for the SN74V3670, D = 16384 for the SN74V3680, and D = 32768 for the SN74V3690.
B. In FWFT mode: D = maximum FIFO depth. D = 1025 for the SN74V3640, D = 2049 for the SN74V3650, D = 4097 for the
SN74V3660, D = 8193 for the SN74V3670, D = 16385 for the SN74V3680, and D = 32769 for the SN74V3690.
tHF
Words in FIFO (see Note A)
D
2
D 1
2
+ 1 Words in FIFO (see Note B)
Words in FIFO (see Note A)
D
2
D 1
2
+ 1 Words in FIFO
(see Note B)
Words in FIFO
(see Note A)
D
2
D 1
2
Figure 19. Half-Full Flag Timing (Standard and FWFT Modes)
PRODUCT PREVIEW
«40 *9 TEXAS INSTRUMENTS
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
44 POST OFFICE BOX 655303 DALLAS, TEXAS 75265
operating configurations
width-expansion configuration
Word width can be increased by connecting the control signals of multiple devices together. Status flags can
be detected from any one device. The exceptions are the EF and FF functions in standard mode and the IR and
OR functions in FWFT mode. Because of variations in skew between RCLK and WCLK, it is possible for EF/FF
deassertion and IR/OR assertion to vary by one cycle between FIFOs. In standard mode, such problems can
be avoided by creating composite flags, that is, ANDing EF of every FIFO and separately ANDing FF of every
FIFO. In FWFT mode, composite flags can be created by ORing OR of every FIFO and separately ORing IR
of every FIFO.
Figure 23 demonstrates a width expansion using two SN74V3640, SN74V3650, SN74V3660, SN74V3670,
SN74V3680, and SN74V3690 devices. D0D35 from each device form a 72-bit-wide input bus and Q0Q35
from each device form a 72-bit-wide output bus. Any word width can be attained by adding additional
SN74V3640, SN74V3650, SN74V3660, SN74V3670, SN74V3680, and SN74V3690 devices.
(Qm + 1) Qn
Read Clock (RCLK)
Read Enable (REN)
Output Enable (OE)
Write Clock (WCLK)
Retransmit (RT)
Half-Full Flag (HF)
Write Enable (WEN)
Load (LD)
First-Word Fall-Through/Serial Input
(FWFT/SI)
Programmable
Almost-Full Flag (PAF)
Data In
Partial Reset (PRS)
Master Reset (MRS)
m + n
Full Flag/Input Ready 2
(FF/IR)
Full Flag/Input Ready 1
(FF/IR)
Empty Flag/Output Ready 2
(EF/OR)
D0Dm
m
(Dm + 1) Dn
n
Q0Qm
mnm + n Data Out
SN74V3640
SN74V3650
SN74V3660
SN74V3670
SN74V3680
SN74V3690
SN74V3640
SN74V3650
SN74V3660
SN74V3670
SN74V3680
SN74V3690
Programmable
Almost-Empty Flag (PAE)
Empty Flag/Output Ready 1
(EF/OR)
Gate
Gate
NOTES: A. Use an OR gate in FWFT mode and an AND gate in standard mode.
B. Do not connect any output control signals together directly.
C. FIFO 1 and FIFO 2 must be the same depth, but can be different word widths.
(see Note A)
(see Note A)
FIFO 1 FIFO 2
Figure 20. 1024 × 72, 2048 × 72, 4096 × 72, 8192 × 72, 16384 × 72, 32768 × 72
Width-Expansion Block Diagram
PRODUCT PREVIEW
*5 TEXAS INSTRUMENTS
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
45
POST OFFICE BOX 655303 DALLAS, TEXAS 75265
depth-expansion configuration (FWFT mode only)
The SN74V3640 easily can be adapted to applications requiring depths greater than 1024 for the SN74V3640,
2048 for the SN74V3650, 4096 for the SN74V3660, 8192 for the SN74V3670, 16384 for the SN74V3680, and
32768 for the SN74V3690, with an 18-bit bus width. In FWFT mode, the FIFOs can be connected in series (the
data outputs of one FIFO connected to the data inputs of the next), with no external logic necessary. The
resulting configuration provides a total depth equivalent to the sum of the depths associated with each single
FIFO. Figure 24 shows a depth expansion using two SN74V3640, SN74V3650, SN74V3660, SN74V3670,
SN74V3680, and SN74V3690 devices.
Care should be taken to select FWFT mode during master reset for all FIFOs in the depth-expansion
configuration. The first word written to an empty configuration passes from one FIFO to the next (ripple down)
until it finally appears at the outputs of the last FIFO in the chain. No read operation is necessary, but the RCLK
of each FIFO must be free running. Each time the data word appears at the outputs of one FIFO, that devices
OR line goes low, enabling a write to the next FIFO in line.
REN
Data In
Write Enable
Write Clock
SN74V3640
SN74V3650
SN74V3660
SN74V3670
SN74V3680
SN74V3690
FWFT/SI
Transfer Clock
WCLK
WEN
IR
Dn
RCLK
OR
REN
OE
Qn
WCLK
WEN
IR
Dn
RCLK
OR
OE
Qn
Read Clock
Read Enable
Input Ready Output Ready
Output Enable
Data Out
GND
nnn
SN74V3640
SN74V3650
SN74V3660
SN74V3670
SN74V3680
SN74V3690
FWFT/SI FWFT/SI
Figure 21. 2048 × 36, 4096 × 36, 8192 × 36, 16384 × 36, 32768 × 36, 65536 × 36
Depth-Expansion Block Diagram
For an empty-expansion configuration, the amount of time it takes for OR of the last FIFO in the chain to go low
(i.e., valid data to appear on the last FIFOs outputs) after a word has been written to the first FIFO is the sum
of the delays for each FIFO:
(n1) (4 transfer clock) 3tRCLK
Where:
n = number of FIFOs in the expansion
tRCLK = RCLK period
Note that extra cycles should be added for the possibility that the tsk1 specification is not met between WCLK
and the transfer clock, or RCLK and the transfer clock, for the OR flag.
The ripple-down delay is noticeable only for the first word written to an empty-depth-expansion configuration.
There will be no delay evident for subsequent words written to the configuration.
The first free location created by reading from a full-depth-expansion configuration will bubble up from the last
FIFO to the previous one until, finally, it moves into the first FIFO of the chain. Each time a free location is created
in one FIFO of the chain, that FIFOs IR line goes low, enabling the preceding FIFO to write a word to fill it.
PRODUCT PREVIEW
(1)
*9 TEXAS INSTRUMENTS
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
46 POST OFFICE BOX 655303 DALLAS, TEXAS 75265
depth-expansion configuration (FWFT mode only) (continued)
For a full expansion configuration, the amount of time it takes for IR of the first FIFO in the chain to go low after
a word has been read from the last FIFO is the sum of the delays for each individual FIFO:
(n1) (3 transfer clock) 2tWCLK
Where:
n = number of FIFOs in the expansion
tWCLK = WCLK period
Note that extra cycles should be added for the possibility that the tsk1 specification is not met between RCLK
and the transfer clock, or WCLK and the transfer clock, for the IR flag.
The transfer-clock line should be tied to either WCLK or RCLK, whichever is faster. Both these actions result
in data moving as quickly as possible to the end of the chain and moving free locations to the beginning of the
chain.
PRODUCT PREVIEW
(2)
I TEXAS INSTRUMENTS Sample: Sample: Sample:
PACKAGE OPTION ADDENDUM
www.ti.com 4-Feb-2021
Addendum-Page 1
PACKAGING INFORMATION
Orderable Device Status
(1)
Package Type Package
Drawing Pins Package
Qty Eco Plan
(2)
Lead finish/
Ball material
(6)
MSL Peak Temp
(3)
Op Temp (°C) Device Marking
(4/5)
Samples
SN74V3680-15PEU ACTIVE LQFP PEU 128 72 RoHS & Green NIPDAU Level-3-260C-168 HR 0 to 70 V3680-15
SN74V3680-6PEU ACTIVE LQFP PEU 128 72 RoHS & Green NIPDAU Level-3-260C-168 HR 0 to 70 V3680-6
SN74V3690-6PEU ACTIVE LQFP PEU 128 72 RoHS & Green NIPDAU Level-3-220C-168 HR 0 to 70 V3690-6
(1) The marketing status values are defined as follows:
ACTIVE: Product device recommended for new designs.
LIFEBUY: TI has announced that the device will be discontinued, and a lifetime-buy period is in effect.
NRND: Not recommended for new designs. Device is in production to support existing customers, but TI does not recommend using this part in a new design.
PREVIEW: Device has been announced but is not in production. Samples may or may not be available.
OBSOLETE: TI has discontinued the production of the device.
(2) RoHS: TI defines "RoHS" to mean semiconductor products that are compliant with the current EU RoHS requirements for all 10 RoHS substances, including the requirement that RoHS substance
do not exceed 0.1% by weight in homogeneous materials. Where designed to be soldered at high temperatures, "RoHS" products are suitable for use in specified lead-free processes. TI may
reference these types of products as "Pb-Free".
RoHS Exempt: TI defines "RoHS Exempt" to mean products that contain lead but are compliant with EU RoHS pursuant to a specific EU RoHS exemption.
Green: TI defines "Green" to mean the content of Chlorine (Cl) and Bromine (Br) based flame retardants meet JS709B low halogen requirements of <=1000ppm threshold. Antimony trioxide based
flame retardants must also meet the <=1000ppm threshold requirement.
(3) MSL, Peak Temp. - The Moisture Sensitivity Level rating according to the JEDEC industry standard classifications, and peak solder temperature.
(4) There may be additional marking, which relates to the logo, the lot trace code information, or the environmental category on the device.
(5) Multiple Device Markings will be inside parentheses. Only one Device Marking contained in parentheses and separated by a "~" will appear on a device. If a line is indented then it is a continuation
of the previous line and the two combined represent the entire Device Marking for that device.
(6) Lead finish/Ball material - Orderable Devices may have multiple material finish options. Finish options are separated by a vertical ruled line. Lead finish/Ball material values may wrap to two
lines if the finish value exceeds the maximum column width.
Important Information and Disclaimer:The information provided on this page represents TI's knowledge and belief as of the date that it is provided. TI bases its knowledge and belief on information
provided by third parties, and makes no representation or warranty as to the accuracy of such information. Efforts are underway to better integrate information from third parties. TI has taken and
continues to take reasonable steps to provide representative and accurate information but may not have conducted destructive testing or chemical analysis on incoming materials and chemicals.
TI and TI suppliers consider certain information to be proprietary, and thus CAS numbers and other limited information may not be available for release.
I TEXAS INSTRUMENTS
PACKAGE OPTION ADDENDUM
www.ti.com 4-Feb-2021
Addendum-Page 2
In no event shall TI's liability arising out of such information exceed the total purchase price of the TI part(s) at issue in this document sold by TI to Customer on an annual basis.
MECHANICAL DATA Pi} (RinFPim78) 3‘ AST‘C QUAD fl A’EACK NO ES A AH hwec' dwmenswors c'e m m hmeters Dmensonmq Cnd to‘ermcmg per ASM; mammal: Tm drawmq ‘5 sums: :0 change mm: meme 0 FuHs mm" JEDEC M57026 m {I} TEXAS INSTRUMENTS wwwxi .com
IMPORTANT NOTICE AND DISCLAIMER
TI PROVIDES TECHNICAL AND RELIABILITY DATA (INCLUDING DATASHEETS), DESIGN RESOURCES (INCLUDING REFERENCE
DESIGNS), APPLICATION OR OTHER DESIGN ADVICE, WEB TOOLS, SAFETY INFORMATION, AND OTHER RESOURCES “AS IS”
AND WITH ALL FAULTS, AND DISCLAIMS ALL WARRANTIES, EXPRESS AND IMPLIED, INCLUDING WITHOUT LIMITATION ANY
IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT OF THIRD
PARTY INTELLECTUAL PROPERTY RIGHTS.
These resources are intended for skilled developers designing with TI products. You are solely responsible for (1) selecting the appropriate
TI products for your application, (2) designing, validating and testing your application, and (3) ensuring your application meets applicable
standards, and any other safety, security, or other requirements. These resources are subject to change without notice. TI grants you
permission to use these resources only for development of an application that uses the TI products described in the resource. Other
reproduction and display of these resources is prohibited. No license is granted to any other TI intellectual property right or to any third party
intellectual property right. TI disclaims responsibility for, and you will fully indemnify TI and its representatives against, any claims, damages,
costs, losses, and liabilities arising out of your use of these resources.
TI’s products are provided subject to TI’s Terms of Sale (https:www.ti.com/legal/termsofsale.html) or other applicable terms available either
on ti.com or provided in conjunction with such TI products. TI’s provision of these resources does not expand or otherwise alter TI’s
applicable warranties or warranty disclaimers for TI products.IMPORTANT NOTICE
Mailing Address: Texas Instruments, Post Office Box 655303, Dallas, Texas 75265
Copyright © 2021, Texas Instruments Incorporated