10
IDT72V3613 3.3V, CMOS CLOCKED FIFO WITH
BUS-MATCHING AND BYTE SWAPPING 64 x 36 COMMERCIAL TEMPERATURE RANGE
NOTE:
1. X is the value in the Almost-Empty flag and Almost-Full flag Offset register
SYNCHRO- SYNCHRO-
NIZED NIZED
TO CLKB TO CLKA
EF AE AF FF
0LLHH
1 to X H L H H
(X+ 1) to [64 - (X + 1)] HHHH
(64 - X) to 63 H H L H
64 H H L L
NUMBER OF 36-BIT
WORDS IN THE FIFO
(1)
TABLE 4 – FIFO FLAG OPERATION
are ignored. When reading the FIFO with a byte or word size on port B, EF is
set LOW when the fourth byte or second word of the last long word is read.
The FIFO read pointer is incremented each time a new word is clocked to
its output register. The state machine that controls the EF monitors a write-pointer
and read-pointer comparator that indicates when the FIFO memory status is
empty, empty+1, or empty+2. A word written to the FIFO can be read to the
FIFO output register in a minimum of three port B clock (CLKB) cycles.
Therefore, an EF is LOW if a word in memory is the next data to be sent to the
FIFO output register and two CLKB cycles have not elapsed since the time the
word was written. The EF of the FIFO is set HIGH by the second LOW-to-HIGH
transition of CLKB, and the new data word can be read to the FIFO output
register in the following cycle.
A LOW-to-HIGH transition on CLKB begins the first synchronization cycle
of a write if the clock transition occurs at time tSKEW1 or greater after the write.
Otherwise, the subsequent CLKB cycle can be the first synchronization cycle
(see Figure 10).
FULL FLAG (FF)
The FIFO Full Flag is synchronized to the port clock that writes data to its
array (CLKA). When the FF is HIGH, a FIFO memory location is free to receive
new data. No memory locations are free when the FF is LOW and attempted
writes to the FIFO are ignored.
Each time a word is written to the FIFO, its write-pointer is incremented. The
state machine that controls the FF monitors a write-pointer and read-pointer
comparator that indicates when the FIFO memory status is full, full-1, or full-2.
From the time a word is read from the FIFO, its previous memory location is ready
to be written in a minimum of three CLKA cycles. Therefore, a FF is LOW if less
than two CLKA cycles have elapsed since the next memory write location has
been read. The second LOW-to-HIGH transition on the FF synchronizing clock
after the read sets the FF HIGH and data can be written in the following clock cycle.
A LOW-to-HIGH transition on CLKA begins the first synchronization cycle
of a read if the clock transition occurs at time t
SKEW1 or greater after the read.
Otherwise, the subsequent clock cycle can be the first synchronization cycle
(see Figure 11).
ALMOST-EMPTY FLAG (AE)
The FIFO Almost-Empty flag is synchronized to the port clock that reads data
from its array (CLKB). The state machine that controls the AE flag monitors a
write-pointer and read-pointer comparator that indicates when the FIFO
memory status is almost-empty, almost-empty+1, or almost-empty+2. The
almost-empty state is defined by the value of the Almost-Full and Almost-Empty
Offset register (X). This register is loaded with one of four preset values during
a device reset (see reset above). The AE flag is LOW when the FIFO contains
X or less long words in memory and is HIGH when the FIFO contains (X+1)
or more long words.
Two LOW-to-HIGH transitions on the port B Clock (CLKB) are required after
a FIFO write for the AE flag to reflect the new level of fill. Therefore, the AE flag
of a FIFO containing (X+1) or more long words remains LOW if two CLKB cycles
have not elapsed since the write that filled the memory to the (X+1) level. The
AE flag is set HIGH by the second CLKB LOW-to-HIGH transition after the FIFO
write that fills memory to the (X+1) level. A LOW-to-HIGH transition of CLKB
begins the first synchronization cycle if it occurs at time t
SKEW2 or greater after
the write that fills the FIFO to (X+1) long words. Otherwise, the subsequent CLKB
cycle can be the first synchronization cycle (see Figure 12).
ALMOST FULL FLAG (AF)
The FIFO Almost-Full flag is synchronized to the port clock that writes data
to its array (CLKA). The state machine that controls an AF flag monitors a write-
pointer and read-pointer comparator that indicates when the FIFO memory
status is almost -full, almost- full-1, or almost-full-2. The almost-full state is defined
by the value of the Almost-Full and Almost-Empty Offset register (X). This register
is loaded with one of four preset values during a device reset (see Reset section).
The AF flag is LOW when the FIFO contains (64-X) or more long words in
memory and is HIGH when the FIFO contains [64-(X+1)] or less long words.
Two LOW-to-HIGH transitions on the port A Clock (CLKA) are required after
a FIFO read for the AF flag to reflect the new level of fill. Therefore, the AF flag
of a FIFO containing [64-(X+1)] or less words remains LOW if two CLKA cycles
have not elapsed since the read that reduced the number of long words in
memory to [64-(X+1)]. The AF flag is set HIGH by the second CLKA LOW-to-
HIGH transition after the FIFO read that reduces the number of long words in
memory to [64-(X+1)]. A LOW-to-HIGH transition on CLKA begins the first
synchronization cycle if it occurs at time t
SKEW2 or greater after the read that
reduces the number of long words in memory to [64-(X+1)]. Otherwise, the
subsequent CLKA cycle can be the first synchronization cycle (see Figure 13).
MAILBOX REGISTERS
Two 36-bit bypass registers (mail1, mail2) are on the IDT72V3613 to pass
command and control information between port A and port B without putting it
in queue. A LOW-to-HIGH transition on CLKA writes A0-A35 data to the mail1
register when a port A write is selected by CSA, W/RA, and ENA with MBA HIGH.
A LOW-to-HIGH transition on CLKB writes B0-B35 data to the mail2 register
when a port B write is selected by CSB, W/RB and ENB, and both SIZ0 and
SIZ1 are HIGH. Writing data to a mail register sets its corresponding flag (MBF1
or MBF2) LOW. Attempted writes to a mail register are ignored while its mail
flag is LOW.
When the port B data (B0-B35) outputs are active, the data on the bus comes
from the FIFO output register when either one or both SIZ1 and SIZ0 are LOW
and from the mail1 register when both SIZ1 and SIZ0 are HIGH. The Mail1
Register Flag (MBF1) is set HIGH by a rising CLKB edge when a port B read
is selected by CSB, W/RB, and ENB, and both SIZ1 and SIZ0 HIGH. The Mail2
Register Flag (MBF2) is set HIGH by a rising CLKA edge when a port A read
is selected by CSA, W/RA, and ENA with MBA HIGH. The data in a mail register
remains intact after it is read and changes only when new data is written to the
register. See Figure 14 and 15 for relevant mail register and mail register flag
timing diagrams.
DYNAMIC BUS SIZING
The port B bus can be configured in a 36-bit long word, 18-bit word, or 9-
bit byte format for data read from the FIFO. Word- and byte-size bus selections
can utilize the most significant bytes of the bus (Big-Endian) or least significant
bytes of the bus (Little-Endian). Port B bus-size can be changed dynamically
and synchronous to CLKB to communicate with peripherals of various bus widths.
11
IDT72V3613 3.3V, CMOS CLOCKED FIFO WITH
BUS-MATCHING AND BYTE SWAPPING 64 x 36 COMMERCIAL TEMPERATURE RANGE
The levels applied to the port B bus-size select (SIZ0, SIZ1) inputs and the
Big-Endian select (BE) input are stored on each CLKB LOW-to-HIGH transition.
The stored port B bus-size selection is implemented by the next rising edge on
CLKB according to Figure 2.
Only 36-bit long-word data is written to or read from the FIFO memory on
the IDT72V3613. Bus-matching operations are done after data is read from the
FIFO RAM. Port B bus sizing does not apply to mail register operations.
BUS-MATCHING FIFO READS
Data is read from the FIFO RAM in 36-bit long-word increments. If a long-
word bus-size is implemented, the entire long word immediately shifts to the
FIFO output register upon a read. If byte or word size is implemented on port
B, only the first one or two bytes appear on the selected portion of the FIFO
output register, with the rest of the long word stored in auxiliary registers. In
this case, subsequent FIFO reads with the same bus-size implementation
output the rest of the long word to the FIFO output register in the order shown
by Figure 2.
Each FIFO read with a new bus-size implementation automatically unloads
data from the FIFO RAM to its output register and auxiliary registers. Therefore,
implementing a new port B bus-size and performing a FIFO read before all bytes
or words stored in the auxiliary registers have been read results in a loss of the
unread data in these registers.
When reading data from FIFO in byte or word format, the unused B0-B35
outputs are indeterminate.
BYTE SWAPPING
The byte-order arrangement of data read from the FIFO can be changed
synchronous to the rising edge of CLKB. Byte-order swapping is not available
for mail register data. Four modes of byte-order swapping (including no swap)
can be done with any data port size selection. The order of the bytes are
rearranged within the long word, but the bit order within the bytes remains
constant.
Byte arrangement is chosen by the port B Swap select (SW0, SW1) inputs
on a CLKB rising edge that reads a new long word from the FIFO. The byte
order chosen on the first byte or first word of a new long word read from the FIFO
is maintained until the entire long word is transferred, regardless of the SW0 and
SW1 states during subsequent reads. Figure 4 is an example of the byte-order
swapping available for long word reads. Performing a byte swap and bus-size
simultaneously for a FIFO read first rearranges the bytes as shown in Figure
4, then outputs the bytes as shown in Figure 2.
PORT-B MAIL REGISTER ACCESS
In addition to selecting port B bus sizes for FIFO reads, the port B bus Size
select (SIZ0, SIZ1) inputs also access the mail registers. When both SIZ0 and
SIZ1 are HIGH, the mail1 register is accessed for a port B long-word read and
the mail2 register is accessed for a port B long-word write. The mail register is
accessed immediately and any bus-sizing operation that can be underway is
unaffected by the mail register access. After the mail register access is complete,
the previous FIFO access can resume in the next CLKB cycle. The logic diagram
in Figure 3 shows the previous bus-size selection is preserved when the mail
registers are accessed from port B. A port B bus-size is implemented on each
rising CLKB edge according to the states of SIZ0_Q, SIZ1_Q, and BE_Q.
PARITY CHECKING
The port A data inputs (A0-A35) and port B data inputs (B0-B35) each have
four parity trees to check the parity of incoming (or outgoing) data. A parity failure
on one or more bytes of the port A data bus is reported by a low level on the
port A Parity Error Flag (PEFA). A parity failure on one or more bytes of the
port B data inputs that are valid for the bus-size implementation is reported by
a low level on the port B Parity Error Flag (PEFB). Odd or Even parity checking
can be selected, and the Parity Error Flags can be ignored if this feature is not
desired.
Parity status is checked on each input bus according to the level of the Odd/
Even parity (ODD/EVEN) select input. A parity error on one or more valid bytes
of a port is reported by a LOW level on the corresponding port Parity Error Flag
(PEFA, PEFB) output. Port A bytes are arranged as A0-A8, A9-A17, A18-A26,
and A27-A35, and port B bytes are arranged as B0-B8, B9-B17, B18-B26, and
B27-B35, and its valid bytes are those used in a port B bus size implementation.
When Odd/Even parity is selected, a port Parity Error Flag (PEFA, PEFB) is
LOW if any byte on the port has an odd/even number of LOW levels applied
to its bits.
The four parity trees used to check the A0-A35 inputs are shared by the
mail2 register when parity generation is selected for port-A reads (PGA = HIGH).
When a port A read from the mail2 register with parity generation is selected with
CSA LOW, ENA HIGH, W/RA LOW, MBA HIGH, and PGA HIGH, the port A
Parity Error Flag (PEFA) is held HIGH regardless of the levels applied to the
A0-A35 inputs. Likewise, the parity trees used to check the B0-B35 inputs are
shared by the mail1 register when parity generation is selected for port B reads
(PGB = HIGH). When a port B read from the mail1 register with parity generation
is selected with CSB LOW, ENB HIGH, W/RB LOW, both SIZ0 and SIZ1 HIGH,
and PGB HIGH, the port B Parity Error Flag (PEFB) is held HIGH regardless
of the levels applied to the B0-B35 inputs.
PARITY GENERATION
A HIGH level on the port A Parity Generate select (PGA) or port B Parity
Generate select (PGB) enables the IDT72V3613 to generate parity bits for port
reads from a FIFO or mailbox register. Port A bytes are arranged as A0-A8,
A9-A17, A18-A26, and A27-A35, with the most significant bit of each byte used
as the parity bit. Port B bytes are arranged as B0-B8, B9-B17, B18-B26, and
B27-B35, with the most significant bit of each byte used as the parity bit. A write
to a FIFO or mail register stores the levels applied to all nine inputs of a byte
regardless of the state of the Parity Generate select (PGA, PGB) inputs. When
data is read from a port with parity generation selected, the lower eight bits of
each byte are used to generate a parity bit according to the level on the ODD/
EVEN select. The generated parity bits are substituted for the levels originally
written to the most significant bits of each byte as the word is read to the data
outputs.
Parity bits for FIFO data are generated after the data is read from the FIFO
memory and before the data is written to the output register. Therefore, the port
A Parity Generate select (PGA) and Odd/Even parity select (ODD/EVEN) have
setup and hold time constraints to the port A Clock (CLKA) and the port B Parity
Generate select (PGB) and ODD/EVEN select have setup and hold time
constraints to the port B Clock (CLKB). These timing constraints only apply for
a rising clock edge used to read a new long word to the FIFO output register
(see Figure 16 and 17).
The circuit used to generate parity for the mail1 data is shared by the port
B bus (B0-B35) to check parity and the circuit used to generate parity for the
mail2 data is shared by the port A bus (A0-A35) to check parity. The shared
parity trees of a port are used to generate parity bits for the data in a mail register
when the port Chip Select (CSA, CSB) is LOW, Enable (ENA, ENB) is HIGH,
and Write/Read select (W/RA, W/RB) input is LOW, the mail register is selected
(MBA HIGH for port A; both SIZ0 and SIZ1 are HIGH for port B), and port Parity
Generate select (PGA, PGB) is HIGH. Generating parity for mail register data
does not change the contents of the register. Parity Generation timing, when
reading from a mail register, can be found in Figure 18 and 19.
12
IDT72V3613 3.3V, CMOS CLOCKED FIFO WITH
BUS-MATCHING AND BYTE SWAPPING 64 x 36 COMMERCIAL TEMPERATURE RANGE
Figure 2. Dynamic Bus Sizing
A35 A27 A26 A18 A17 A9 A8 A0
B35 B27 B26 B18 B17 B9 B8 B0
A
A
A
C
A
B
B
B
D
B
C
C
C
A
D
D
D
B
(a) LONG WORD SIZE
(b) WORD SIZE
BIG-ENDIAN
(c) WORD SIZE LITTLE-ENDIAN
(d) BYTE SIZE
BIG-ENDIAN
Write to FIFO
Read from FIFO
1st: Read from FIFO
2nd: Read from FIFO
1st: Read from FIFO
2nd: Read from FIFO
C
D
1st: Read from FIFO
2nd: Read from FIFO
3rd: Read from FIFO
4th: Read from FIFO
BE SIZ1 SIZ0
BE SIZ1 SIZ0
L L H
BE SIZ1 SIZ0
H L H
BE SIZ1 SIZ0
L H L
X L L
BYTE ORDER ON PORT A:
4661 fig 01
BYTE ORDER ON PORT B:
B35 B27 B26 B18 B17 B9 B8 B0
B35 B27 B26 B18 B17 B9 B8 B0
B35 B27 B26 B18 B17 B9 B8 B0
B35 B27 B26 B18 B17 B9 B8 B0
B35 B27 B26 B18 B17 B9 B8 B0
B35 B27 B26 B18 B17 B9 B8 B0
B35 B27 B26 B18 B17 B9 B8 B0
B35 B27 B26 B18 B17 B9 B8 B0

72V3613L15PF

Mfr. #:
Manufacturer:
Description:
IC FIFO CLOCK 64X36 15NS 120TQFP
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union