Abstract:
A data stream smoothing circuit wherein a FIFO memory receives data from the DRAM, and a memory status circuit provides a memory-full status signal when the FIFO memory contains a selected amount of data from the DRAM. A refresh timer generates a refresh request signal whenever DRAM refresh should be performed. When the refresh request signal is generated, a refresh control circuit refreshes a row of data in the DRAM upon occurrence of the next memory-full status signal.

Description:
This is a continuation of application Ser. No. 07/410,767, filed Sep. 21, 1989, now abandoned. 
    
    
     BACKGROUND OF THE INVENTION 
     1. Field of the Invention 
     This invention relates to integrated circuit testing devices, and more particularly to the use of a FIFO memory to promote uniform communication of test data from a dynamic random access memory (DRAM) to a device under test. 
     2. Description of the Related Art 
     As large scale integrated circuit (LSI) components become more complex, the need for larger local memory in LSI component testers increases accordingly. For example, state of the art LSI component testers must have the capability of storing up to eight million or more vectors in local memory. The increase is caused by the ever increasing length of test patterns for complex devices, especially those which are CAD generated. Because of such memory requirements, it is desirable to use dynamic random access memories (DRAM&#39;s) as the components used in building the local memories because they provide the largest amount of storage per dollar. 
     One obstacle which must be overcome when using DRAM&#39;s for test data is that they need to be refreshed periodically, and this requirement interferes with the need for a continuous data stream by the testing unit. In the past, this problem has been overcome by using two buffers between local memory and the test station. One buffer is loaded from local memory, while the other one is emptied out. By the time the second buffer is empty, the first has been filled. Thereafter, the first buffer is emptied while the second buffer is being filled. See U.S. Pat. No. 4,451,918 issued to Gillette. However, this solution requires a substantial amount of duplication of circuitry and complex control circuitry. 
     Another obstacle which must be overcome when using DRAMS for test data is that a DRAM running in one of the fast access modes (e.g., static column mode, page mode. nibble mode, etc.) can do only a limited number of fast accesses before it must revert to a normal, slower write or read cycle. For example, when a 256k × 4 DRAM is accessed in static column mode, a longer access time results every time a new row is addressed, i.e., after 512 cycles (row × column = 512 × 512 =256k). While the static column mode cycles can be 60 ns, the longer cycle which occurs when crossing a row boundary is at least twice as long. This amounts to a break in the smooth data stream. 
     SUMMARY OF THE INVENTION 
     The present invention is directed to the use of a FIFO memory for communicating data from a DRAM to a testing device in a continuous data stream despite interruptions for refresh cycles or long memory access cycles. Unnecessary duplication of circuitry is eliminated, together with the added control circuitry required of such duplicate systems. 
     In one embodiment of the present invention, a FIFO memory receives data from the DRAM. and a memory status circuit provides a memory-full status signal when the FIFO memory contains a selected amount of data from the DRAM. A refresh timer generates a refresh request signal whenever DRAM refresh should be performed. When the refresh request signal is generated, a refresh control circuit refreshes a row of data in the DRAM upon occurrence of the next memory-full status signal. 
    
    
     BRIEF DESCRIPTION OF THE DRAWINGS 
     FIG. 1 is a block diagram of a particular embodiment of an LSI testing device according to the present invention. 
     FIG. 2 is a block diagram of a particular embodiment of the FIFO memory and memory status circuit shown in FIG. 1. 
     FIG. 3 is a block diagram of a particular embodiment of the DRAM access and refresh circuit shown in FIG. 1. 
     FIG. 4 is a block diagram of a particular embodiment of the memory access counter shown in FIG. 3. 
    
    
     DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS 
     FIG. 1 is a block diagram of a memory test system 10 according to the present invention. Test system 10 includes a DRAM 14 for storing data used in the testing process, a FIFO memory 18 for receiving the data from DRAM 14 over a bus 22, a memory control circuit 26 which communicates with FIFO memory 18 over a bus 30 for monitoring the status of FIFO memory 18, and a DRAM address/refresh circuit 34 for receiving FIFO memory status information from memory control circuit 26 over a bus 38 and for controlling the addressing and refresh of DRAM 14 through a bus 42. The data in FIFO memory 18 is communicated to a test station 46 over a bus 50 at a substantially uninterrupted rate. Test station 46 formats the data from FIFO memory 18 and communicates the formatted data to a device under test 54 over a bus 58 for testing the device. 
     FIG. 2 is a more detailed block diagram of FIFO memory 18 and memory control circuit 26. In the preferred embodiment, FIFO memory 18 comprises a plurality of latches 62 for moving data from DRAM 14 to test station 46. Memory control circuit 26 comprises a read address register 66, a write address register 70 and a memory status circuit 74. Read address register 66 comprises a plurality of flip-flops 78 which are interconnected to form a shifter wherein the output of the last flip-flop is coupled to the input of the first flip-flop so that a binary sequence may be shifted in a continuous ring. In this embodiment, only one active bit (a one) exists in the address register at any one time, and the remaining bits are all zero. There is one flip-flop 78 per latch 62 in FIFO memory 18, and the flip-flop which contains the active bit determines which latch 62 has been read most recently. The bit configuration in read address register 66 is communicated to memory status circuit 74 over a bus 82. 
     Write address register 70 comprises a plurality of flip-flops 84 which are connected together and function in the same way as read address register 66. In this case, the single active bit within write address register 70 corresponds to the most recently written to latch 62 in FIFO memory 18. The bit configuration of write address register 70 is communicated to memory status circuit 74 over a bus 88. Buses 82 and 88 form a part of bus 30 in FIG. 1. 
     Memory status circuit 74 receives the bit patterns from read address register 66 and write address register 70 and determines, from the relative location of the most recently read from and written to latches, the state of FIFO memory 18. In particular, memory status circuit 74 determines whether or not FIFO memory is &#34;full&#34; through the use of suitable combinational logic. In this embodiment, FIFO memory 18 is full whenever 8, 9 or 10 latches 62 in FIFO memory 18 contain data that has yet to be sent to test station 46. When memory status circuit 74 determines that FIFO memory 18 is full, it provides a memory-full status signal on bus 38 to DRAM access/refresh circuit 34. 
     FIG. 3 is a more detailed block diagram of DRAM access/refresh circuit 34. DRAM access/refresh circuit 34 comprises a memory access control circuit 92, a refresh timer 96, a refresh counter 100 and a memory access counter 112. Refresh timer 96 provides a &#34;refresh due&#34; signal on a bus 104 whenever DRAM 14 should be refreshed. The time interval after which the refresh due signal is generated typically is determined by the size of the DRAM and the amount of time by which the entire DRAM must be refreshed. For example, if the entire memory must be refreshed every eight milliseconds, and if the DRAM contains 512 rows of data, then a refresh due signal must be generated at least 512 times within the eight millisecond period. Refresh counter 100 is a modulo-n counter where n equals the number of rows in DRAM 14. The value of refresh counter 100 is communicated to memory access control circuit 92 over a bus 108 for sequentially refreshing each row in DRAM 14. Memory access counter 112 provides DRAM address signals to memory access control circuit 92 over a bus 116. As shown in FIG. 4, memory access counter 112 comprises a column counter 120 and a row counter 124. Column counter 120 provides the least significant bits (LSB&#39;s) of the DRAM address, and row counter 124 provides the most significant bits (MSB&#39;s) of the DRAM address. Row counter 124 operates in response to carry-out signals received from column counter 120 over a bus 128. The values of column counter 120 and row counter 124 are output on bus 116. 
     In operation, memory access control circuit 92 generates DRAM read accesses in response to address signals received over bus 116 whenever FIFO memory 18 is less than full. Additionally, memory access control circuit 92 operates to refresh DRAM 14 in response to the memory status signal received from bus 38, the refresh due signal received from bus 104, and the row address received on bus 108. When a refresh due signal is received from refresh timer 96, memory access control 92 waits until the appropriate memory-full signal is received from memory control circuit 26. When this occurs, memory access control 92 refreshes the row in DRAM 14 addressed by row counter 100, typically by performing a memory access to that location. 
     In this manner, data may be communicated from DRAM 14 to FIFO memory 18 at the DRAM data rate and thereafter read out of FIFO memory 18 at the rate required by test station 46, even if the two data rates are different. Data is communicated from DRAM 14 to FIFO memory 18 as long as FIFO memory is less than full. Refresh accesses are allowed when FIFO memory 18 is full. 
     While the above is a complete description of a preferred embodiment of the present invention, various modifications may be employed. For example, the FIFO can also be used for DRAM loading with a higher data source rate uninterrupted by refresh requests. In this case the FIFO is filled at a constant rate, and the FIFO logic generates DRAM write accesses whenever the FIFO is more than empty. This manner of loading local memory allows the use of a synchronous source bus, and no handshakes are required. Consequently, the scope of the invention should not be limited except as described in the claims.