SN74ACT3622 256 × 36 × 2 CLOCKED BIDIRECTIONAL FIRST-IN, FIRST-OUT MEMORY SCAS247D – AUGUST 1993 – REVISED APRIL 1998 D D D D D D Free-Running CLKA and CLKB Can Be Asynchronous or Coincident Two Independent Clocked FIFOs Buffering Data in Opposite Directions Mailbox-Bypass Register for Each FIFO Programmable Almost-Full and Almost-Empty Flags Microprocessor Interface Control Logic IRA, ORA, AEA, and AFA Flags Synchronized by CLKA D D D D D D IRB, ORB, AEB, and AFB Flags Synchronized by CLKB Low-Power 0.8 µm Advanced CMOS Technology Supports Clock Frequencies up to 67 MHz Fast Access Times of 11 ns Pin-to-Pin Compatible With the SN74ACT3632 and SN74ACT3642 Package Options Include 120-Pin Thin Quad Flat (PCB) and 132-Pin Plastic Quad Flat (PQ) Packages 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 26 27 28 29 30 B35 B34 B33 B32 GND B31 B30 B29 B28 B27 B26 VCC B25 B24 GND B23 B22 B21 B20 B19 B18 GND B17 B16 VCC B15 B14 B13 B12 GND B7 B8 B9 B10 B11 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 90 89 88 87 86 85 84 83 82 81 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 GND A11 A10 A9 A8 A7 A6 GND A5 A4 A3 VCC A2 A1 A0 GND B0 B1 B2 B3 B4 B5 GND B6 VCC A35 A34 A33 A32 VCC A31 A30 GND A29 A28 A27 A26 A25 A24 A23 GND A22 VCC A21 A20 A19 A18 GND A17 A16 A15 A14 A13 VCC A12 120 119 118 117 116 115 114 113 112 111 110 109 108 107 106 105 104 103 102 101 100 99 98 97 96 95 94 93 92 91 GND CLKA ENA W/RA CSA IRA ORA VCC AFA AEA MBF2 MBA RST1 FS0 GND FS1 RST2 MBB MBF1 VCC AEB AFB ORB IRB GND CSB W/RB ENB CLKB VCC PCB PACKAGE (TOP VIEW) 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. Copyright 1998, 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. POST OFFICE BOX 655303 • DALLAS, TEXAS 75265 1 SN74ACT3622 256 × 36 × 2 CLOCKED BIDIRECTIONAL FIRST-IN, FIRST-OUT MEMORY SCAS247D – AUGUST 1993 – REVISED APRIL 1998 NC NC VCC CLKB ENB W/RB CSB GND IRB ORB AFB AEB VCC MBF1 MBB RST2 FS1 GND FS0 RST1 MBA MBF2 AEA AFA VCC ORA IRA CSA W/RA ENA CLKA GND NC PQ PACKAGE† (TOP VIEW) 17 16 15 14 13 12 11 10 9 NC B35 B34 B33 B32 GND B31 B30 B29 B28 B27 B26 VCC B25 B24 GND B23 B22 B21 B20 B19 B18 GND B17 B16 VCC B15 B14 B13 B12 GND NC NC 8 7 6 5 4 3 2 18 126 124 122 120 118 1 132 130 128 129 121 119 131 127 125 123 117 116 19 115 20 114 21 113 22 112 23 111 24 110 25 109 26 108 27 107 28 106 29 105 30 104 31 103 32 102 33 101 34 100 35 99 36 98 37 97 38 96 39 95 40 94 41 93 42 92 43 91 44 90 45 89 46 88 47 87 48 86 49 85 84 50 NC B11 B10 B9 B8 B7 VCC B6 GND B5 B4 B3 B2 B1 B0 GND A0 A1 A2 VCC A3 A4 A5 GND A6 A7 A8 A9 A10 A11 GND NC NC 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 NC – No internal connection † Uses Yamaichi socket IC51-1324-828 2 POST OFFICE BOX 655303 • DALLAS, TEXAS 75265 NC NC A35 A34 A33 A32 VCC A31 A30 GND A29 A28 A27 A26 A25 A24 A23 GND A22 VCC A21 A20 A19 A18 GND A17 A16 A15 A14 A13 VCC A12 NC SN74ACT3622 256 × 36 × 2 CLOCKED BIDIRECTIONAL FIRST-IN, FIRST-OUT MEMORY SCAS247D – AUGUST 1993 – REVISED APRIL 1998 description The SN74ACT3622 is a high-speed, low-power CMOS clocked bidirectional FIFO memory. It supports clock frequencies up to 67 MHz with read access times of 11 ns. Two independent 256 × 36 dual-port SRAM FIFOs on the chip buffer data in opposite directions. Each FIFO has flags to indicate empty and full conditions and two programmable flags almost full (AF) and almost empty (AE) to indicate when a selected number of words is stored in memory. Communication between each port can bypass the FIFOs via two 36-bit mailbox registers. Each mailbox register has a flag to signal when new mail has been stored. Two or more devices can be used in parallel to create wider datapaths. The SN74ACT3622 is a clocked FIFO, which means each port employs a synchronous interface. All data transfers through a port are gated to the low-to-high transition of a port clock by enable signals. The clocks for each port are independent of one another and can be asynchronous or coincident. The enables for each port are arranged to provide a simple bidirectional interface between microprocessors and/or buses with synchronous control. The input-ready (IRA, IRB) flag and almost-full (AFA, AFB) flag of a FIFO are two-stage synchronized to the port clock that writes data to its array. The output-ready (ORA, ORB) flag and almost-empty (AEA, AEB) flag of a FIFO are two-stage synchronized to the port clock that reads data from its array. Offset values for the AF and AE flags of the FIFO can be programmed from port A. The SN74ACT3622 is characterized for operation from 0°C to 70°C. For more information on this device family, see the application report FIFO Mailbox-Bypass Registers: Using Bypass Registers to Initialize DMA Control (literature number SCAA007) and Metastability Performance of Clocked FIFOs (literature number SCZA004). POST OFFICE BOX 655303 • DALLAS, TEXAS 75265 3 SN74ACT3622 256 × 36 × 2 CLOCKED BIDIRECTIONAL FIRST-IN, FIRST-OUT MEMORY SCAS247D – AUGUST 1993 – REVISED APRIL 1998 functional block diagram MBF1 RST1 FIFO1, Mail1 Reset Logic 256 × 36 SRAM Write Pointer 36 Read Pointer Status-Flag Logic IRA AFA ORB AEB FIFO1 36 FS0 FS1 A0 – A35 Output Register Port-A Control Logic Input Register Mail1 Register CLKA CSA W/RA ENA MBA ProgrammableFlag Offset Registers 10 B0 – B35 FIFO2 Status-Flag Logic Output Register Read Pointer IRB AFB 36 Write Pointer 256 × 36 SRAM Input Register ORA AEA Mail2 Register MBF2 4 POST OFFICE BOX 655303 • DALLAS, TEXAS 75265 FIFO2, Mail2 Reset Logic RST2 Port-B Control Logic CLKB CSB W/RB ENB MBB SN74ACT3622 256 × 36 × 2 CLOCKED BIDIRECTIONAL FIRST-IN, FIRST-OUT MEMORY SCAS247D – AUGUST 1993 – REVISED APRIL 1998 Terminal Functions TERMINAL NAME I/O A0 – A35 I/O AEA O (port A) Port-A almost-empty flag. Programmable flag synchronized to CLKA. AEA is low when the number of words in FIFO2 is less than or equal to the value in the almost-empty A offset register, X2. AEB O (port B) Port-B almost-empty flag. Programmable flag synchronized to CLKB. AEB is low when the number of words in FIFO1 is less than or equal to the value in the almost-empty B offset register, X1. AFA O (port A) Port-A almost-full flag. Programmable flag synchronized to CLKA. AFA is low when the number of empty locations in FIFO1 is less than or equal to the value in the almost-full A offset register, Y1. AFB O (port B) Port-B almost-full flag. Programmable flag synchronized to CLKB. AFB is low when the number of empty locations in FIFO2 is less than or equal to the value in the almost-full B offset register, Y2. B0 – B35 I/O CLKA I Port-A clock. CLKA is a continuous clock that synchronizes all data transfers through port A and can be asynchronous or coincident to CLKB. IRA, ORA, AFA, and AEA are all synchronized to the low-to-high transition of CLKA. CLKB I Port-B clock. CLKB is a continuous clock that synchronizes all data transfers through port B and can be asynchronous or coincident to CLKA. IRB, ORB, AFB, and AEB are synchronized to the low-to-high transition of CLKB. CSA I Port-A chip select. CSA must be low to enable a low-to-high transition of CLKA to read or write data on port A. The A0 – A35 outputs are in the high-impedance state when CSA is high. CSB I Port-B chip select. CSB must be low to enable a low-to-high transition of CLKB to read or write data on port B. The B0 – B35 outputs are in the high-impedance state when CSB is high. ENA I Port-A enable. ENA must be high to enable a low-to-high transition of CLKA to read or write data on port A. ENB I Port-B enable. ENB must be high to enable a low-to-high transition of CLKB to read or write data on port B. FS1, FS0 I Flag offset selects. The low-to-high transition of a FIFO’s reset input latches the values of FS0 and FS1. If either FS0 or FS1 is high when a reset input goes high, one of three preset values is selected as the offset for the FIFO AF and AE flags. If both FIFOs are reset simultaneously and both FS0 and FS1 are low when RST1 and RST2 go high, the first four writes to FIFO1 program the almost-full and almost-empty offsets for both FIFOs. IRA O (port A) Input-ready flag. IRA is synchronized to the low-to-high transition of CLKA. When IRA is low, FIFO1 is full and writes to its array are disabled. IRA is set low when FIFO1 is reset and is set high on the second low-to-high transition of CLKA after reset. IRB O (port B) Input-ready flag. IRB is synchronized to the low-to-high transition of CLKB. When IRB is low, FIFO2 is full and writes to its array are disabled. IRB is set low when FIFO2 is reset and is set high on the second low-to-high transition of CLKB after reset. MBA I Port-A mailbox select. A high level on MBA chooses a mailbox register for a port-A read or write operation. When the A0 – A35 outputs are active, a high level on MBA selects data from the mail2 register for output and a low level selects FIFO2 output-register data for output. MBB I Port-B mailbox select. A high level on MBB chooses a mailbox register for a port-B read or write operation. When the B0 – B35 outputs are active, a high level on MBB selects data from the mail1 register for output and a low level selects FIFO1 output-register data for output. MBF1 O Mail1 register flag. MBF1 is set low by a low-to-high transition of CLKA that writes data to the mail1 register. Writes to the mail1 register are inhibited while MBF1 is low. MBF1 is set high by a low-to-high transition of CLKB when a port-B read is selected and MBB is high. MBF1 is set high when FIFO1 is reset. MBF2 O Mail2 register flag. MBF2 is set low by a low-to-high transition of CLKB that writes data to the mail2 register. Writes to the mail2 register are inhibited while MBF2 is low. MBF2 is set high by a low-to-high transition of CLKA when a port-A read is selected and MBA is high. MBF2 is also set high when FIFO2 is reset. ORA O (port A) Output-ready flag. ORA is synchronized to the low-to-high transition of CLKA. When ORA is low, FIFO2 is empty and reads from its memory are disabled. Ready data is present on the output register of FIFO2 when ORA is high. ORA is forced low when FIFO2 is reset and goes high on the third low-to-high transition of CLKA after a word is loaded to empty memory. DESCRIPTION Port-A data. The 36-bit bidirectional data port for side A. Port-B data. The 36-bit bidirectional data port for side B. POST OFFICE BOX 655303 • DALLAS, TEXAS 75265 5 SN74ACT3622 256 × 36 × 2 CLOCKED BIDIRECTIONAL FIRST-IN, FIRST-OUT MEMORY SCAS247D – AUGUST 1993 – REVISED APRIL 1998 Terminal Functions (continued) TERMINAL NAME I/O DESCRIPTION ORB O (port B) Output-ready flag. ORB is synchronized to the low-to-high transition of CLKB. When ORB is low, FIFO1 is empty and reads from its memory are disabled. Ready data is present on the output register of FIFO1 when ORB is high. ORB is forced low when FIFO1 is reset and goes high on the third low-to-high transition of CLKB after a word is loaded to empty memory. RST1 I FIFO1 reset. To reset FIFO1, four low-to-high transitions of CLKA and four low-to-high transitions of CLKB must occur while RST1 is low. The low-to-high transition of RST1 latches the status of FS0 and FS1 for AFA and AEB offset selection. FIFO1 must be reset upon power up before data is written to its RAM. RST2 I FIFO2 reset. To reset FIFO2, four low-to-high transitions of CLKA and four low-to-high transitions of CLKB must occur while RST2 is low. The low-to-high transition of RST2 latches the status of FS0 and FS1 for AFB and AEA offset selection. FIFO2 must be reset upon power up before data is written to its RAM. W/RA I Port-A write/read select. A high on W/RA selects a write operation and a low selects a read operation on port A for a low-to-high transition of CLKA. The A0 – A35 outputs are in the high-impedance state when W/RA is high. W/RB I Port-B write/read select. A low on W/RB selects a write operation and a high selects a read operation on port B for a low-to-high transition of CLKB. The B0 – B35 outputs are in the high-impedance state when W/RB is low. detailed description reset The FIFO memories of the SN74ACT3622 are reset separately by taking their reset (RST1, RST2) inputs low for at least four port-A clock (CLKA) and four port-B clock (CLKB) low-to-high transitions. The reset inputs can switch asynchronously to the clocks. A FIFO reset initializes the internal read and write pointers and forces the input-ready (IRA, IRB) flag low, the output-ready (ORA, ORB) flag low, the almost-empty (AEA, AEB) flag low, and the almost-full (AFA, AFB) flag high. Resetting a FIFO also forces the mailbox (MBF1, MBF2) flag of the parallel mailbox register high. After a FIFO is reset, its IR flag is set high after two clock cycles to begin normal operation. A FIFO must be reset after power up before data is written to its memory. A low-to-high transition on a FIFO reset (RST1, RST2) input latches the value of the flag-select (FS0, FS1) inputs for choosing the almost-full and almost-empty offset programming method (see almost-empty flag and almost-full flag offset programming). almost-empty flag and almost-full flag offset programming Four registers in the SN74ACT3622 are used to hold the offset values for the AE and AF flags. The port-B almost-empty (AEB) flag offset register is labeled X1 and the port-A almost-empty (AEA) flag offset register is labeled X2. The port-A almost-full (AFA) flag offset register is labeled Y1 and the port-B almost-full (AFB) flag offset register is labeled Y2. The index of each register name corresponds to its FIFO number. The offset registers can be loaded with preset values during the reset of a FIFO or they can be programmed from port A (see Table 1). 6 POST OFFICE BOX 655303 • DALLAS, TEXAS 75265 SN74ACT3622 256 × 36 × 2 CLOCKED BIDIRECTIONAL FIRST-IN, FIRST-OUT MEMORY SCAS247D – AUGUST 1993 – REVISED APRIL 1998 almost-empty flag and almost-full flag offset programming (continued) Table 1. Flag Programming FS1 FS0 RST1 RST2 X1 AND Y1 REGISTERS† X2 AND Y2 REGISTERS‡ H H ↑ X 64 X H H X ↑ X 64 H L ↑ X 16 X H L X ↑ X 16 L H ↑ X 8 X L H X ↑ X 8 L L ↑ ↑ Programmed from port A Programmed from port A † X1 register holds the offset for AEB; Y1 register holds the offset for AFA. ‡ X2 register holds the offset for AEA; Y2 register holds the offset for AFB. To load the FIFO AE flag and AF flag offset registers with one of the three preset values listed in Table 1, at least one of the flag-select inputs must be high during the low-to-high transition of its reset input. For example, to load the preset value of 64 into X1 and Y1, FS0 and FS1 must be high when FIFO1 reset (RST1) returns high. Flag-offset registers associated with FIFO2 are loaded with one of the preset values in the same way with FIFO2 reset (RST2). When using one of the preset values for the flag offsets, the FIFOs can be reset simultaneously or at different times. To program the X1, X2, Y1, and Y2 registers from port A, both FIFOs should be reset simultaneously with FS0 and FS1 low during the low-to-high transition of the reset inputs. After this reset is complete, the first four writes to FIFO1 do not store data in RAM but load the offset registers in the order Y1, X1, Y2, X2. Each offset register uses port-A inputs (A7 – A0). The highest numbered input is used as the most-significant bit of the binary number in each case. Valid programming values for the registers range from 1 to 252. After all the offset registers are programmed from port A, the port-B input-ready (IRB) flag is set high and both FIFOs begin normal operation. FIFO write/read operation The state of the port-A data (A0 – A35) outputs is controlled by the port-A chip select (CSA) and the port-A write/read select (W/RA). The A0 – A35 outputs are in the high-impedance state when either CSA or W/RA is high. The A0 – A35 outputs are active when both CSA and W/RA are low. Data is loaded into FIFO1 from the A0 – A35 inputs on a low-to-high transition of CLKA when CSA is low, W/RA is high, ENA is high, MBA is low, and IRA is high. Data is read from FIFO2 to the A0 – A35 outputs by a low-to-high transition of CLKA when CSA is low, W/RA is low, ENA is high, MBA is low, and ORA is high (see Table 2). FIFO reads and writes on port A are independent of any concurrent port-B operation. Table 2. Port-A Enable Function Table CSA W/RA ENA MBA CLKA A0 – A35 OUTPUTS PORT FUNCTION H X X X X In high-impedance state None L H L X X In high-impedance state None L H H L ↑ In high-impedance state FIFO1 write L H H H ↑ In high-impedance state Mail1 write L L L L X Active, FIFO2 output register None L L H L ↑ Active, FIFO2 output register FIFO2 read L L L H X Active, mail2 register None L L H H ↑ Active, mail2 register Mail2 read (set MBF2 high) POST OFFICE BOX 655303 • DALLAS, TEXAS 75265 7 SN74ACT3622 256 × 36 × 2 CLOCKED BIDIRECTIONAL FIRST-IN, FIRST-OUT MEMORY SCAS247D – AUGUST 1993 – REVISED APRIL 1998 FIFO write/read operation (continued) The port-B control signals are identical to those of port A, with the exception that the port-B write/read select (W/RB) is the inverse of the port-A write/read select (W/RA). The state of the port-B data (B0 – B35) outputs is controlled by the port-B chip select (CSB) and the port-B write/read select (W/RB). The B0 – B35 outputs are in the high-impedance state when either CSB is high or W/RB is low. The B0 – B35 outputs are active when CSB is low and W/RB is high. Data is loaded into FIFO2 from the B0 – B35 inputs on a low-to-high transition of CLKB when CSB is low, W/RB is low, ENB is high, MBB is low, and IRB is high. Data is read from FIFO1 to the B0 – B35 outputs by a low-to-high transition of CLKB when CSB is low, W/RB is high, ENB is high, MBB is low, and ORB is high (see Table 3). FIFO reads and writes on port B are independent of any concurrent port-A operation. Table 3. Port-B Enable Function Table CSB W/RB ENB MBB CLKB B0 – B35 OUTPUTS PORT FUNCTION H X X X X In high-impedance state None L L L X X In high-impedance state None L L H L ↑ In high-impedance state FIFO2 write L L H H ↑ In high-impedance state Mail2 write L H L L X Active, FIFO1 output register None L H H L ↑ Active, FIFO1 output register FIFO1 read L H L H X Active, mail1 register None L H H H ↑ Active, mail1 register Mail1 read (set MBF1 high) The setup- and hold-time constraints to the port clocks for the port-chip selects and write/read selects are only for enabling write and read operations and are not related to high-impedance control of the data outputs. If a port enable is low during a clock cycle, the port-chip select and write/read select may change states during the setup- and hold-time window of the cycle. When a FIFO OR flag is low, the next data word is sent to the FIFO output register automatically by the low-to-high transition of the port clock that sets the OR flag high. When the OR flag is high, an available data word is clocked to the FIFO output register only when a FIFO read is selected by the port’s chip select, write/read select, enable, and mailbox select. synchronized FIFO flags Each FIFO is synchronized to its port clock through at least two flip-flop stages. This is done to improve flag-signal reliability by reducing the probability of metastable events when CLKA and CLKB operate asynchronously to one another. ORA, AEA, IRA, and AFA are synchronized to CLKA. ORB, AEB, IRB, and AFB are synchronized to CLKB. Tables 4 and 5 show the relationship of each port flag to FIFO1 and FIFO2. 8 POST OFFICE BOX 655303 • DALLAS, TEXAS 75265 SN74ACT3622 256 × 36 × 2 CLOCKED BIDIRECTIONAL FIRST-IN, FIRST-OUT MEMORY SCAS247D – AUGUST 1993 – REVISED APRIL 1998 synchronized FIFO flags (continued) Table 4. FIFO1 Flag Operation NUMBER OF WORDS IN FIFO1†‡ SYNCHRONIZED TO CLKB SYNCHRONIZED TO CLKA ORB AEB AFA IRA 0 L L H H 1 to X1 H L H H (X1 + 1) to [256 – (Y1 + 1)] H H H H (256 – Y1) to 255 H H L H 256 H H L L † X1 is the almost-empty offset for FIFO1 used by AEB. Y1 is the almost-full offset for FIFO1 used by AFA. Both X1 and Y1 are selected during a reset of FIFO1 or programmed from port A. ‡ When a word loaded to an empty FIFO is shifted to the output register, its previous FIFO memory location is free. Table 5. FIFO2 Flag Operation NUMBER OF WORDS IN FIFO2†‡ SYNCHRONIZED TO CLKA ORA AEA SYNCHRONIZED TO CLKB AFB IRB 0 L L H H 1 to X2 H L H H (X2 + 1) to [256 – (Y2 + 1)] H H H H (256 – Y2) to 255 H H L H 256 H H L L † X2 is the almost-empty offset for FIFO2 used by AEA. Y2 is the almost-full offset for FIFO2 used by AFB. Both X2 and Y2 are selected during a reset of FIFO2 or programmed from port A. ‡ When a word loaded to an empty FIFO is shifted to the output register, its previous FIFO memory location is free. output-ready flags (ORA, ORB) The OR flag of a FIFO is synchronized to the port clock that reads data from its array. When the OR flag is high, new data is present in the FIFO output register. When the OR flag is low, the previous data word is present in the FIFO output register and attempted FIFO reads are ignored. A FIFO read pointer is incremented each time a new word is clocked to its output register. From the time a word is written to a FIFO, it can be shifted to the FIFO output register in a minimum of three cycles of the OR flag synchronizing clock; therefore, an OR flag is low if a word in memory is the next data to be sent to the FIFO output register and three cycles of the port clock that reads data from the FIFO have not elapsed since the time the word was written. The OR flag of the FIFO remains low until the third low-to-high transition of the synchronizing clock occurs, simultaneously forcing the OR flag high and shifting the word to the FIFO output register. A low-to-high transition on an OR flag synchronizing clock begins the first synchronization cycle of a write if the clock transition occurs at time tsk1, or greater, after the write. Otherwise, the subsequent clock cycle can be the first synchronization cycle (see Figures 7 and 8). POST OFFICE BOX 655303 • DALLAS, TEXAS 75265 9 SN74ACT3622 256 × 36 × 2 CLOCKED BIDIRECTIONAL FIRST-IN, FIRST-OUT MEMORY SCAS247D – AUGUST 1993 – REVISED APRIL 1998 input-ready flags (IRA, IRB) The IR flag of a FIFO is synchronized to the port clock that writes data to its array. When the IR flag is high, a memory location is free in the SRAM to receive new data. No memory locations are free when the IR flag is low and attempted writes to the FIFO are ignored. Each time a word is written to a FIFO, its write pointer is incremented. From the time a word is read from a FIFO, its previous memory location is ready to be written in a minimum of two cycles of the IR flag synchronizing clock; therefore, an IR flag is low if less than two cycles of the IR flag synchronizing clock have elapsed since the next memory write location has been read. The second low-to-high transition on the IR flag synchronizing clock after the read sets the IR flag high. A low-to-high transition on an IR flag synchronizing clock begins the first synchronization cycle of a read if the clock transition occurs at time tsk1, or greater, after the read. Otherwise, the subsequent clock cycle can be the first synchronization cycle (see Figures 9 and 10). almost-empty flags (AEA, AEB) The AE flag of a FIFO is synchronized to the port clock that reads data from its array. The AE state is defined by the contents of register X1 for AEB and register X2 for AEA. These registers are loaded with preset values during a FIFO reset or programmed from port A (see almost-empty flag and almost-full flag offset programming). An AE flag is low when its FIFO contains X or fewer words and is high when its FIFO contains (X + 1) or more words. A data word present in the FIFO output register has been read from memory. Two low-to-high transitions of the AE flag synchronizing clock are required after a FIFO write for its AE flag to reflect the new level of fill; therefore, the AE flag of a FIFO containing (X + 1) or more words remains low if two cycles of its synchronizing clock have not elapsed since the write that filled the memory to the (X + 1) level. An AE flag is set high by the second low-to-high transition of its synchronizing clock after the FIFO write that fills memory to the (X + 1) level. A low-to-high transition of an AE flag synchronizing clock begins the first synchronization cycle if it occurs at time tsk2, or greater, after the write that fills the FIFO to (X + 1) words. Otherwise, the subsequent synchronizing clock cycle can be the first synchronization cycle (see Figures 11 and 12). almost-full flags (AFA, AFB) The AF flag of a FIFO is synchronized to the port clock that writes data to its array. The AF state is defined by the contents of register Y1 for AFA and register Y2 for AFB. These registers are loaded with preset values during a FIFO reset or programmed from port A (see almost-empty flag and almost-full flag offset programming). An AF flag is low when the number of words in its FIFO is greater than or equal to (256 – Y). An AF flag is high when the number of words in its FIFO is less than or equal to [256 – (Y + 1)]. A data word present in the FIFO output register has been read from memory. Two low-to-high transitions of the AF flag synchronizing clock are required after a FIFO read for its AF flag to reflect the new level of fill; therefore, the AF flag of a FIFO containing [256 – (Y + 1)] or fewer words remains low if two cycles of its synchronizing clock have not elapsed since the read that reduced the number of words in memory to [256 – (Y + 1)]. An AF flag is set high by the second low-to-high transition of its synchronizing clock after the FIFO read that reduces the number of words in memory to [256 – (Y + 1)]. A low-to-high transition of an AF flag synchronizing clock begins the first synchronization cycle if it occurs at time tsk2, or greater, after the read that reduces the number of words in memory to [256 – (Y + 1)]. Otherwise, the subsequent synchronizing clock cycle can be the first synchronization cycle (see Figures 13 and 14). 10 POST OFFICE BOX 655303 • DALLAS, TEXAS 75265 SN74ACT3622 256 × 36 × 2 CLOCKED BIDIRECTIONAL FIRST-IN, FIRST-OUT MEMORY SCAS247D – AUGUST 1993 – REVISED APRIL 1998 mailbox registers Each FIFO has a 36-bit bypass register to pass command and control information between port A and port B without putting it in queue. The mailbox-select (MBA, MBB) inputs choose between a mail register and a FIFO for a port data transfer operation. 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 and 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 with MBB high. Writing data to a mail register sets its corresponding flag (MBF1 or MBF2) low. Attempted writes to a mail register are ignored while the mail flag is low. When data outputs of a port are active, the data on the bus comes from the FIFO output register when the port-mailbox-select input is low and from the mail register when the port-mailbox-select input is high. The mail1 register flag (MBF1) is set high by a low-to-high transition on CLKB when a port-B read is selected by CSB, W/RB, and ENB and with MBB high. The mail2 register flag (MBF2) is set high by a low-to-high transition on CLKA when a port-A read is selected by CSA, W/RA, and ENA and 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. CLKA th(RS) CLKB th(FS) tsu(RS) RST1 FS1, FS0 tsu(FS) ÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏ ÏÏÏÏÏÏÏÏÏÏÏÏ ÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏ ÏÏÏÏÏÏÏÏÏÏÏÏ ÌÌÌÌÌÌÌÌÌÌÌ ÌÌÌÌÌÌÌÌÌÌÌ ÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌ ÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌ ÌÌÌÌÌÌÌ ÌÌÌÌÌÌÌ ÎÎÎÎÎÎÎ ÎÎÎÎÎÎÎ ÎÎÎÎÎÎÎ ÎÎÎÎÎÎÎ 0,1 tpd(C-IR) IRA tpd(C-IR) tpd(C-OR) ORB tpd(R-F) AEB tpd(R-F) AFA tpd(R-F) MBF1 Figure 1. FIFO1 Reset Loading X1 and Y1 With a Preset Value of Eight† † FIFO2 is reset in the same manner to load X2 and Y2 with a preset value. POST OFFICE BOX 655303 • DALLAS, TEXAS 75265 11 SN74ACT3622 256 × 36 × 2 CLOCKED BIDIRECTIONAL FIRST-IN, FIRST-OUT MEMORY SCAS247D – AUGUST 1993 – REVISED APRIL 1998 CLKA 4 tsu(FS) RST1, RST2 ÏÏ ÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏ ÏÏ ÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏ ÎÎÎÎÎÎÎÎÎÎÎÏÏÏÏÏÏÏÏÏÏÏÏÏÏ ÌÌÌÌÌÌ ÎÎÎÎÎÎÎÎÎÎÎ ÏÏÏÏ ÏÏÏ ÏÏÏ ÏÏÏÏ ÌÌÌÌÌÌ ÏÏÏÏÏÏÏÏÏÏÏ ÏÏÏÏÏÏÏÏÏÏÏÏ ÏÏÏÏÏ ÏÏÏÏÏÏÏÏÏÏÏ ÏÏÏÏÏÏÏÏÏÏÏÏ ÏÏÏÏÏ th(FS) FS1, FS0 0,0 tpd(C-IR) IRA tsu(EN) tsk1† th(EN) ENA tsu(D) th(D) A0 – A35 AFA Offset (Y1) AEB Offset (X1) AFB Offset (Y2) AEA Offset (X2) CLKB First Word to FIFO1 1 2 tpd(C-IR) IRB † tsk1 is the minimum time between the rising CLKA edge and a rising CLKB edge for IRB to transition high in the next cycle. If the time between the rising edge of CLKA and rising edge of CLKB is less than tsk1, IRB may transition high one cycle later than shown. NOTE A: CSA = L, W/RA = H, MBA = L. It is not necessary to program offset register on consecutive clock cycles. Figure 2. Programming the AF Flag and AE Flag Offset Values After Reset tc tw(CLKL) tw(CLKH) CLKA IRA th(EN) tsu(EN) CSA ÎÎÎÎÎÎÎÎ ÌÌÌÌÌÌÌÌ ÎÎÎÎÎÎÎÎ ÏÏÏÏÏÏÏ tsu(EN) W/RA tsu(EN) MBA tsu(EN) ENA tsu(D) A0 – A35 ‡ Written to FIFO1 W1‡ ÏÏÏ ÏÏÏ ÌÌÌÌÌÌ ÏÏÏ ÎÎÎÎÎÎ ÏÏÏÏÏÏ ÌÌÌÌÌÌÌ ÎÎÎÎÎÎ ÏÏÏÏÏÏ ÏÏÏÏÏÏÏÏÏÏÏÏÏÏ th(EN) th(EN) th(EN) th(EN) tsu(EN) th(D) W2‡ Figure 3. Port-A Write-Cycle Timing for FIFO1 12 th(EN) tsu(EN) POST OFFICE BOX 655303 • DALLAS, TEXAS 75265 No Operation SN74ACT3622 256 × 36 × 2 CLOCKED BIDIRECTIONAL FIRST-IN, FIRST-OUT MEMORY SCAS247D – AUGUST 1993 – REVISED APRIL 1998 tc tw(CLKL) tw(CLKH) CLKB IRB tsu(EN) CSB ÌÌÌÌÌÌÌÌ ÌÌÌÌÌÌÌÌ ÌÌÌÌÌÌÌÌ ÌÌÌÌÌÌÌÌ ÎÎÎÎÎÎÎÎ ÏÏÏÏÏÏÏÏ tsu(EN) W/RB tsu(EN) MBB tsu(EN) ENB tsu(D) B0 – B35 ÏÏÏ ÏÏÏ ÏÏÏ ÎÎÎÎÎÎ ÏÏÏ ÎÎÎÎÎÎ ÏÏÏ ÎÎÎÎÎÎ ÏÏÏ ÎÎÎÎÎÎ ÏÏÏÏÏÏÏ ÌÌÌÌÌÌ ÎÎÎÎÎÎ ÏÏÏÏÏÏ ÏÏÏÏÏÏÏÏÏÏÏÏÏÏ th(EN) th(EN) th(EN) th(EN) th(EN) tsu(EN) th(EN) tsu(EN) th(D) W1† W2† No Operation † Written to FIFO2 Figure 4. Port-B Write-Cycle Timing for FIFO2 tc tw(CLKH) tw(CLKL) CLKB ORB CSB ÎÎÎÎ ÎÎÎÎ ÎÎÎÎÎÎÎÎ ÏÏÏÏÏÏÏ ÌÌÌÌÌÌ ÎÎÎÎÎÎÎÎ ÏÏÏÏÏÏÏ ÌÌÌÌÌÌ ÏÏÏ ÏÏÏ W/RB tsu(EN) MBB th(EN) tsu(EN) th(EN) tsu(EN) ENB tpd(M-DV) B0 – B35 ta ta ten W1‡ W2‡ ÌÌÌÌÌÌ ÌÌÌÌÌÌ ÎÎÎÎÎÎ ÎÎÎÎÎÎ No Operation th(EN) tdis W3‡ ‡ Read from FIFO1 Figure 5. Port-B Read-Cycle Timing for FIFO1 POST OFFICE BOX 655303 • DALLAS, TEXAS 75265 13 SN74ACT3622 256 × 36 × 2 CLOCKED BIDIRECTIONAL FIRST-IN, FIRST-OUT MEMORY SCAS247D – AUGUST 1993 – REVISED APRIL 1998 tc tw(CLKH) tw(CLKL) CLKA ORA ÌÌÌÌ ÌÌÌÌ ÎÎÎÎÎÎÎÎ ÏÏÏÏÏÏ ÌÌÌÌÌÌ ÎÎÎÎÎÎÎÎ ÏÏÏÏÏÏ ÌÌÌÌÌÌ ÏÏ ÏÏ CSA W/RA tsu(EN) MBA th(EN) tsu(EN) th(EN) tsu(EN) ENA tpd(M-DV) A0 – A35 ta ta ten W1† W2† † Read from FIFO2 Figure 6. Port-A Read-Cycle Timing for FIFO2 14 POST OFFICE BOX 655303 • DALLAS, TEXAS 75265 No Operation W3† ÎÎÎÎÎ ÎÎÎÎÎ ÎÎÎÎÎ ÎÎÎÎÎ th(EN) tdis SN74ACT3622 256 × 36 × 2 CLOCKED BIDIRECTIONAL FIRST-IN, FIRST-OUT MEMORY SCAS247D – AUGUST 1993 – REVISED APRIL 1998 tc tw(CLKH) tw(CLKL) CLKA CSA W/RA MBA Low High tsu(EN) ÌÌÌÌ ÎÎÎÎ ÎÎÎÎ ÏÏÏÏ tsu(EN) ENA IRA A0 – A35 High tsu(D) ÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎ ÌÌÌÌ ÌÌÌÌ ÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏ th(EN) th(EN) th(D) W1 tc tw(CLKL) tsk1† tw(CLKH) 1 CLKB 2 3 tpd(C-OR) tpd(C-OR) Old Data in FIFO1 Output Register ORB CSB Low W/RB High MBB Low ÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎ ÌÌÌÌÌÌÌÌÌ ÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎ ÌÌÌÌÌÌÌÌÌ tsu(EN) ENB th(EN) ta B0 – B35 Old Data in FIFO1 Output Register W1 † tsk1 is the minimum time between a rising CLKA edge and a rising CLKB edge for ORB to transition high and to clock the next word to the FIFO1 output register in three CLKB cycles. If the time between the rising CLKA edge and rising CLKB edge is less than tsk1, the transition of ORB high and load of the first word to the output register may occur one CLKB cycle later than shown. Figure 7. ORB-Flag Timing and First Data-Word Fall Through When FIFO1 Is Empty POST OFFICE BOX 655303 • DALLAS, TEXAS 75265 15 SN74ACT3622 256 × 36 × 2 CLOCKED BIDIRECTIONAL FIRST-IN, FIRST-OUT MEMORY SCAS247D – AUGUST 1993 – REVISED APRIL 1998 tc tw(CLKH) tw(CLKL) CLKB CSB Low W/RB Low tsu(EN) ÌÌÌÌÌ ÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎ ÎÎÎÎÌÌÌÌÌ ÎÎÎÎÌÌÌÌÌ ÏÏÏÏÏ ÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏ th(EN) MBB tsu(EN) th(EN) ENB IRB High tsu(D) B0 – B35 th(D) W1 tc tw(CLKL) tsk1† tw(CLKH) 1 CLKA 2 3 tpd(C-OR) tpd(C-OR) Old Data in FIFO2 Output Register ORA CSA Low W/RA Low MBA Low ÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÌÌÌÌÌÌÌÌÌ ÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÌÌÌÌÌÌÌÌÌ tsu(EN) th(EN) ENA ta A0 – A35 Old Data in FIFO2 Output Register W1 † tsk1 is the minimum time between a rising CLKB edge and a rising CLKA edge for ORA to transition high and to clock the next word to the FIFO2 output register in three CLKA cycles. If the time between the rising CLKB edge and rising CLKA edge is less than tsk1, the transition of ORA high and load of the first word to the output register may occur one CLKA cycle later than shown. Figure 8. ORA-Flag Timing and First Data-Word Fall Through When FIFO2 Is Empty 16 POST OFFICE BOX 655303 • DALLAS, TEXAS 75265 SN74ACT3622 256 × 36 × 2 CLOCKED BIDIRECTIONAL FIRST-IN, FIRST-OUT MEMORY SCAS247D – AUGUST 1993 – REVISED APRIL 1998 tc tw(CLKH) tw(CLKL) CLKB CSB Low W/RB High MBB Low ÎÎÎ ÌÌÌÌ ÎÎÎ ÌÌÌÌ tsu(EN) ENB ORB High th(EN) ta B0 – B35 Previous Word in FIFO1 Output Register Next Word From FIFO1 tsk1† tc tw(CLKH) tw(CLKL) 1 CLKA 2 tpd(C-IR) CSA W/RA MBA tpd(C-IR) FIFO1 Full IRA Low ÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌ ÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌ ÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎ ÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎ ÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏ ÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏ High tsu(EN) tsu(EN) ENA tsu(D) A0 – A35 ÎÎÎÎÎÎÎÎÎ ÎÎÎÎÎÎÎÎÎ ÌÌÌÌÌÌÌÌÌ ÌÌÌÌÌÌÌÌÌ ÏÏÏÏÏÏÏÏ ÏÏÏÏÏÏÏÏ th(EN) th(EN) th(D) To FIFO1 † tsk1 is the minimum time between a rising CLKB edge and a rising CLKA edge for IRA to transition high in the next CLKA cycle. If the time between the rising CLKB edge and rising CLKA edge is less than tsk1, IRA may transition high one CLKA cycle later than shown. Figure 9. IRA-Flag Timing and First Available Write When FIFO1 Is Full POST OFFICE BOX 655303 • DALLAS, TEXAS 75265 17 SN74ACT3622 256 × 36 × 2 CLOCKED BIDIRECTIONAL FIRST-IN, FIRST-OUT MEMORY SCAS247D – AUGUST 1993 – REVISED APRIL 1998 tc tw(CLKH) tw(CLKL) CLKA CSA Low W/RA Low MBA Low ÎÎÎÎ ÌÌÌ ÎÎÎÎ ÌÌÌ tsu(EN) ENA ORA th(EN) High ta A0 – A35 Previous Word in FIFO2 Output Register Next Word From FIFO2 tsk1† tc tw(CLKH) tw(CLKL) 1 CLKB 2 tpd(C-IR) CSB tpd(C-IR) FIFO2 Full IRB Low ÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌ ÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌÌ ÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎ ÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎÎ ÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏ ÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏ W/RB Low tsu(EN) MBB tsu(EN) ENB tsu(D) B0 – B35 ÎÎÎÎÎÎÎÎ ÎÎÎÎÎÎÎÎ ÌÌÌÌÌÌÌÌ ÌÌÌÌÌÌÌÌ ÏÏÏÏÏÏÏÏ ÏÏÏÏÏÏÏÏ th(EN) th(EN) th(D) To FIFO2 † tsk1 is the minimum time between a rising CLKA edge and a rising CLKB edge for IRB to transition high in the next CLKB cycle. If the time between the rising CLKA edge and rising CLKB edge is less than tsk1, IRB may transition high one CLKB cycle later than shown. Figure 10. IRB-Flag Timing and First Available Write When FIFO2 Is Full 18 POST OFFICE BOX 655303 • DALLAS, TEXAS 75265 SN74ACT3622 256 × 36 × 2 CLOCKED BIDIRECTIONAL FIRST-IN, FIRST-OUT MEMORY SCAS247D – AUGUST 1993 – REVISED APRIL 1998 CLKA ÎÎÎÎÎÌÌÌÌÌ ÎÎÎÎÎÌÌÌÌÌ tsu(EN) ENA th(EN) tsk2† CLKB 1 2 tpd(C-AE) tpd(C-AE) AEB X1 Words in FIFO1 ÎÎÎÎÎÌÌÌÌÌ ÎÎÎÎÎÌÌÌÌÌ (X1 + 1) Words in FIFO1 tsu(EN) ENB th(EN) † tsk2 is the minimum time between a rising CLKA edge and a rising CLKB edge for AEB to transition high in the next CLKB cycle. If the time between the rising CLKA edge and rising CLKB edge is less than tsk2, AEB may transition high one CLKB cycle later than shown. NOTE A: FIFO1 write (CSA = L, W/RA = H, MBA = L), FIFO1 read (CSB = L, W/RB = H, MBB = L). Data in the FIFO1 output register has been read from the FIFO. Figure 11. Timing for AEB When FIFO1 Is Almost Empty CLKB ÎÎÎÎÎ ÌÌÌÌ ÎÎÎÎÎ ÌÌÌÌ tsu(EN) ENB th(EN) tsk2‡ CLKA 1 2 tpd(C-AE) AEA X2 Words in FIFO2 tpd(C-AE) (X2 + 1) Words in FIFO2 tsu(EN) ÎÎÎÎÎÌÌÌÌÌ ÎÎÎÎÎÌÌÌÌÌ ENA th(EN) ‡ tsk2 is the minimum time between a rising CLKB edge and a rising CLKA edge for AEA to transition high in the next CLKA cycle. If the time between the rising CLKB edge and rising CLKA edge is less than tsk2, AEA may transition high one CLKA cycle later than shown. NOTE A: FIFO2 write (CSB = L, W/RB = L, MBB = L), FIFO2 read (CSA = L, W/RA = L, MBA = L). Data in the FIFO2 output register has been read from the FIFO. Figure 12. Timing for AEA When FIFO2 Is Almost Empty POST OFFICE BOX 655303 • DALLAS, TEXAS 75265 19 SN74ACT3622 256 × 36 × 2 CLOCKED BIDIRECTIONAL FIRST-IN, FIRST-OUT MEMORY SCAS247D – AUGUST 1993 – REVISED APRIL 1998 tsk2† CLKA ÎÎÎÎÎ ÌÌÌÌÌ ÎÎÎÎÎ ÌÌÌÌÌ tsu(EN) ENA 1 2 th(EN) tpd(C-AF) tpd(C-AF) (256 – Y1) Words in FIFO1 AFA [256 – (Y1 + 1)] Words in FIFO1 ÎÎÎÎÎ ÌÌÌÌÌ ÎÎÎÎÎ ÌÌÌÌÌ CLKB tsu(EN) ENB th(EN) † tsk2 is the minimum time between a rising CLKA edge and a rising CLKB edge for AFA to transition high in the next CLKA cycle. If the time between the rising CLKA edge and rising CLKB edge is less than tsk2, AFA may transition high one CLKB cycle later than shown. NOTE A: FIFO1 write (CSA = L, W/RA = H, MBA = L), FIFO1 read (CSB = L, W/RB = H, MBB = L). Data in the FIFO1 output register has been read from the FIFO. Figure 13. Timing for AFA When FIFO1 Is Almost Full tsk2‡ CLKB ÎÎÎÎÎÌÌÌÌÌ ÎÎÎÎÎÌÌÌÌÌ tsu(EN) ENB 1 tpd(C-AF) AFB [256 – (Y2 + 1)] Words in FIFO2 CLKA tpd(C-AF) (256 – Y2) Words in FIFO2 ÎÎÎÎÎÌÌÌÌÌ ÎÎÎÎÎÌÌÌÌÌ tsu(EN) ENA 2 th(EN) th(EN) ‡ tsk2 is the minimum time between a rising CLKB edge and a rising CLKA edge for AFB to transition high in the next CLKB cycle. If the time between the rising CLKB edge and rising CLKA edge is less than tsk2, AFB may transition high one CLKA cycle later than shown. NOTE A: FIFO2 write (CSB = L, W/RB= L, MBB = L), FIFO2 read (CSA = L, W/RA = L, MBA = L). Data in the FIFO2 output register has been read from the FIFO. Figure 14. Timing for AFB When FIFO2 Is Almost Full 20 POST OFFICE BOX 655303 • DALLAS, TEXAS 75265 SN74ACT3622 256 × 36 × 2 CLOCKED BIDIRECTIONAL FIRST-IN, FIRST-OUT MEMORY SCAS247D – AUGUST 1993 – REVISED APRIL 1998 CLKA th(EN) tsu(EN) CSA W/RA MBA ENA ÎÎÎÎÎÎÎ ÎÎÎÎÎÎÎ ÎÎÎÎÎÎÎ ÎÎÎÎÎÎÎ ÎÎÎÎÎÎÎ ÎÎÎÎÎÎÎ ÏÏÏÏÏÏÏ ÏÏÏÏÏÏÏ th(D) tsu(D) A0 – A35 ÏÏÏ ÏÏÏ ÏÏÏ ÏÏÏ ÏÏÏ ÏÏÏ ÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏ ÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏ W1 CLKB tpd(C-MF) tpd(C-MF) MBF1 CSB W/RB ÎÎÎÎ MBB ÌÌÌÌÌÌ ÎÎÎÎ ÌÌÌÌ ÏÏÏÏ ÏÏÏÏ tsu(EN) ENB ten B0 – B35 th(EN) tpd(M-DV) tpd(C-MR) tdis W1 (remains valid in mail1 register after read) FIFO1 Output Register Figure 15. Timing for Mail1 Register and MBF1 Flag POST OFFICE BOX 655303 • DALLAS, TEXAS 75265 21 SN74ACT3622 256 × 36 × 2 CLOCKED BIDIRECTIONAL FIRST-IN, FIRST-OUT MEMORY SCAS247D – AUGUST 1993 – REVISED APRIL 1998 CLKB th(EN) tsu(EN) CSB ÌÌÌÌÌÌÌÌ ÎÎÎÎÎÎÎÎ ÎÎÎÎÎÎÎÎ ÎÎÎÎÎÎÎÎ ÎÎÎÎÎÎÎÎ ÏÏÏÏÏÏÏÏ ÏÏÏÏÏÏÏÏ W/RB MBB ENB tsu(D) B0 – B35 W1 ÏÏÏ ÏÏÏ ÏÏÏ ÏÏÏ ÏÏÏ ÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏ ÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏÏ th(D) CLKA tpd(C-MF) tpd(C-MF) MBF2 CSA ÎÎÎÎÎ W/RA MBA ÌÌÌÌÌÌ ÎÎÎÎ ÌÌÌÌ ÏÏÏÏ ÏÏÏÏ tsu(EN) ENA ten A0 – A35 th(EN) tpd(M-DV) tpd(C-MR) W1 (remains valid in mail2 register after read) FIFO2 Output Register Figure 16. Timing for Mail2 Register and MBF2 Flag 22 tdis POST OFFICE BOX 655303 • DALLAS, TEXAS 75265 SN74ACT3622 256 × 36 × 2 CLOCKED BIDIRECTIONAL FIRST-IN, FIRST-OUT MEMORY SCAS247D – AUGUST 1993 – REVISED APRIL 1998 absolute maximum ratings over operating free-air temperature range (unless otherwise noted)† Supply voltage range, VCC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . – 0.5 V to 7 V Input voltage range, VI (see Note 1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . – 0.5 V to VCC + 0.5 V Output voltage range, VO (see Note 1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . – 0.5 V to VCC + 0.5 V Input clamp current, IIK (VI < 0 or VI > VCC) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ± 20 mA Output clamp current, IOK (VO < 0 or VO > VCC) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ± 50 mA Continuous output current, IO (VO = 0 to VCC) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ± 50 mA Continuous current through VCC or GND . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ± 400 mA Package thermal impedance, θJA (see Note 2): PCB package . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28°C/W PQ package . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46°C/W Storage temperature range, Tstg . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . – 65°C to 150°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. NOTES: 1. The input and output voltage ratings may be exceeded provided the input and output current ratings are observed. 2. The package thermal impedance is calculated in accordance with JESD 51. recommended operating conditions MIN MAX 4.5 5.5 UNIT VCC VIH Supply voltage VIL IOH Low-level input voltage 0.8 V High-level output current –4 mA IOL TA Low-level output current 8 mA 70 °C High-level input voltage 2 Operating free-air temperature 0 POST OFFICE BOX 655303 • DALLAS, TEXAS 75265 V V 23 SN74ACT3622 256 × 36 × 2 CLOCKED BIDIRECTIONAL FIRST-IN, FIRST-OUT MEMORY SCAS247D – AUGUST 1993 – REVISED APRIL 1998 electrical characteristics over recommended operating free-air temperature range (unless otherwise noted) PARAMETER TEST CONDITIONS MIN TYP† VOH VOL VCC = 4.5 V, VCC = 4.5 V, IOH = – 4 mA IOL = 8 mA II IOZ VCC = 5.5 V, VCC = 5.5 V, VI = VCC or 0 VO = VCC or 0 ICC VCC = 5.5 V, VI = VCC – 0.2 V or 0 CSA = VIH A0 – A35 0 CSB = VIH B0 – B35 0 CSA = VIL CSB = VIL ∆ICC‡ VCC = 5.5 5 5 V, V One O input i t att 3 3.4 4V V, Other in uts at VCC or GND inputs Co VI = 0, VO = 0, UNIT V 0.5 V ±5 µA ±5 µA 400 µA A0 – A35 1 mA B0 – B35 1 All other inputs Ci MAX 2.4 1 f = 1 MHz 4 pF f = 1 MHz 8 pF † All typical values are at VCC = 5 V, TA = 25°C. ‡ This is the supply current when each input is at one of the specified TTL voltage levels rather than 0 V or VCC. timing requirements over recommended ranges of supply voltage and operating free-air temperature (see Figures 1 through 17) ’ACT3622-15 MIN fclock tc Clock frequency, CLKA or CLKB tw(CLKH) tw(CLKL) tsu(D) tsu(EN) tsu(RS) tsu(FS) th(D) th(EN) th(RS) th(FS) MAX ’ACT3622-20 MIN 66.7 Clock cycle time, CLKA or CLKB MAX ’ACT3622-30 MIN 50 MAX 33.4 UNIT MHz 15 20 30 ns Pulse duration, CLKA and CLKB high 6 8 10 ns Pulse duration, CLKA and CLKB low 6 8 10 ns Setup time, A0 – A35 before CLKA↑ and B0 – B35 before CLKB↑ 4 5 6 ns 4.5 5 6 ns Setup time, CSA, W/RA, ENA, and MBA before CLKA↑; CSB, W/RB, ENB, and MBB before CLKB↑ Setup time, RST1 or RST2 low before CLKA↑ or CLKB↑§ Setup time, FS0 and FS1 before RST1 and RST2 high Hold time, A0 – A35 after CLKA↑ and B0 – B35 after CLKB↑ Hold time, CSA, W/RA, ENA, and MBA after CLKA↑; CSB, W/RB, ENB, and MBB after CLKB↑ Hold time, RST1 or RST2 low after CLKA↑ or CLKB↑§ Hold time, FS0 and FS1 after RST1 and RST2 high 5 6 7 ns 7.5 8.5 9.5 ns 0 0 0 ns 0 0 0 ns 4 4 5 ns 1 2 2 ns tsk1¶ Skew time between CLKA↑ and CLKB↑ for ORA, ORB, IRA, and IRB 7.5 9 11 ns tsk2¶ Skew time between CLKA↑ and CLKB↑ for AEA, AEB, AFA, and AFB 12 16 20 ns § Requirement to count the clock edge as one of at least four needed to reset a FIFO ¶ Skew time is not a timing constraint for proper device operation and is included only to illustrate the timing relationship between CLKA cycle and CLKB cycle. 24 POST OFFICE BOX 655303 • DALLAS, TEXAS 75265 SN74ACT3622 256 × 36 × 2 CLOCKED BIDIRECTIONAL FIRST-IN, FIRST-OUT MEMORY SCAS247D – AUGUST 1993 – REVISED APRIL 1998 switching characteristics over recommended ranges of supply voltage and operating free-air temperature, CL = 30 pF (see Figures 1 through 17) ’ACT3622-15 PARAMETER MIN MAX 66.7 ’ACT3622-20 MIN MAX 50 ’ACT3622-30 MIN MAX 33.4 UNIT fmax ta CLKA or CLKB Access time, CLKA↑ to A0 – A35 and CLKB↑ to B0 – B35 3 11 3 13 3 15 MHz ns tpd(C-IR) tpd(C-OR) Propagation delay time, CLKA↑ to IRA and CLKB↑ to IRB 2 8 2 10 2 12 ns Propagation delay time, CLKA↑ to ORA and CLKB↑ to ORB 1 8 1 10 1 12 ns tpd(C-AE) tpd(C-AF) Propagation delay time, CLKA↑ to AEA and CLKB↑ to AEB 1 8 1 10 1 12 ns Propagation delay time, CLKA↑ to AFA and CLKB↑ to AFB 1 8 1 10 1 12 ns 0 8 0 10 0 12 ns 3 13.5 3 15 3 17 ns tpd(C-MR) Propagation delay time, CLKA↑ to MBF1 low or MBF2 high and CLKB↑ to MBF2 low or MBF1 high Propagation delay time, CLKA↑ to B0 – B35† and CLKB↑ to A0 – A35‡ tpd(M-DV) Propagation delay time, MBA to A0 – A35 valid and MBB to B0 – B35 valid 3 11 3 13 3 15 ns tpd(R-F) Propagation delay time, RST1 low to AEB low, AFA high, and MBF1 high, and RST2 low to AEA low, AFB high, and MBF2 high 1 15 1 20 1 30 ns ten Enable time, CSA and W/RA low to A0 – A35 active and CSB low and W/RB high to B0 – B35 active 2 12 2 13 2 14 ns tdis Disable time, CSA or W/RA high to A0 – A35 at high impedance and CSB high or W/RB low to B0 – B35 at high impedance 1 11 1 12 1 14 ns tpd(C-MF) † Writing data to the mail1 register when the B0 – B35 outputs are active and MBB is high ‡ Writing data to the mail2 register when the A0 – A35 outputs are active and MBA is high POST OFFICE BOX 655303 • DALLAS, TEXAS 75265 25 SN74ACT3622 256 × 36 × 2 CLOCKED BIDIRECTIONAL FIRST-IN, FIRST-OUT MEMORY SCAS247D – AUGUST 1993 – REVISED APRIL 1998 PARAMETER MEASUREMENT INFORMATION 5V 1.1 kΩ From Output Under Test 680 Ω 30 pF (see Note A) LOAD CIRCUIT 3V Timing Input 1.5 V GND tw 3V Data, Enable Input 1.5 V 3V 1.5 V Low-Level Input GND 1.5 V 1.5 V GND VOLTAGE WAVEFORMS PULSE DURATIONS VOLTAGE WAVEFORMS SETUP AND HOLD TIMES Output Enable 1.5 V GND th tsu 3V High-Level Input 1.5 V 3V 1.5 V 1.5 V GND tPLZ tPZL Low-Level Output ≈3V 1.5 V VOL 3V ≈0V tpd tpd VOH 1.5 V 1.5 V GND tPZH High-Level Output 1.5 V Input VOH In-Phase Output 1.5 V 1.5 V VOL tPHZ VOLTAGE WAVEFORMS PROPAGATION DELAY TIMES VOLTAGE WAVEFORMS ENABLE AND DISABLE TIMES NOTES: A. Includes probe and jig capacitance B. tPZL and tPZH are the same as ten. C. tPLZ and tPHZ are the same as tdis. Figure 17. Load Circuit and Voltage Waveforms 26 POST OFFICE BOX 655303 • DALLAS, TEXAS 75265 SN74ACT3622 256 × 36 × 2 CLOCKED BIDIRECTIONAL FIRST-IN, FIRST-OUT MEMORY SCAS247D – AUGUST 1993 – REVISED APRIL 1998 TYPICAL CHARACTERISTICS SUPPLY CURRENT vs CLOCK FREQUENCY I CC(f) – Supply Current – mA 300 fdata = 1/2 fclock TA = 75°C CL = 0 pF 250 VCC = 5.5 V 200 VCC = 5 V 150 VCC = 4.5 V 100 50 0 0 10 20 30 40 50 60 70 fclock – Clock Frequency – MHz Figure 18 POST OFFICE BOX 655303 • DALLAS, TEXAS 75265 27 IMPORTANT NOTICE Texas Instruments and its subsidiaries (TI) reserve the right to make changes to their products or to discontinue any product or service without notice, and advise customers to obtain the latest version of relevant information to verify, before placing orders, that information being relied on is current and complete. All products are sold subject to the terms and conditions of sale supplied at the time of order acknowledgement, including those pertaining to warranty, patent infringement, and limitation of liability. TI warrants performance of its semiconductor products to the specifications applicable at the time of sale in accordance with TI’s standard warranty. Testing and other quality control techniques are utilized to the extent TI deems necessary to support this warranty. Specific testing of all parameters of each device is not necessarily performed, except those mandated by government requirements. CERTAIN APPLICATIONS USING SEMICONDUCTOR PRODUCTS MAY INVOLVE POTENTIAL RISKS OF DEATH, PERSONAL INJURY, OR SEVERE PROPERTY OR ENVIRONMENTAL DAMAGE (“CRITICAL APPLICATIONS”). TI SEMICONDUCTOR PRODUCTS ARE NOT DESIGNED, AUTHORIZED, OR WARRANTED TO BE SUITABLE FOR USE IN LIFE-SUPPORT DEVICES OR SYSTEMS OR OTHER CRITICAL APPLICATIONS. INCLUSION OF TI PRODUCTS IN SUCH APPLICATIONS IS UNDERSTOOD TO BE FULLY AT THE CUSTOMER’S RISK. In order to minimize risks associated with the customer’s applications, adequate design and operating safeguards must be provided by the customer to minimize inherent or procedural hazards. TI assumes no liability for applications assistance or customer product design. TI does not warrant or represent that any license, either express or implied, is granted under any patent right, copyright, mask work right, or other intellectual property right of TI covering or relating to any combination, machine, or process in which such semiconductor products or services might be or are used. TI’s publication of information regarding any third party’s products or services does not constitute TI’s approval, warranty or endorsement thereof. Copyright 1999, Texas Instruments Incorporated