Embedded memory block with FIFO mode for programmable logic device

- Altera Corporation

An programmable logic device has an enhanced embedded array block for the efficient implementation of logic functions including a random access memory and a first-in, first-out memory. A read address register and a write address register are implemented within the embedded array block. The address registers are coupled with a memory array in the embedded array block without using a resources from a programmable interconnect scheme. The first-in, first-out memory may operate as a dual-port FIFO, without cycle-sharing on the interconnect lines.

Skip to: Description  ·  Claims  ·  References Cited  · Patent History  ·  Patent History
Description
BACKGROUND OF THE INVENTION

The present invention relates generally to the field of integrated circuits and their operation, and more specifically to devices known in the industry as programmable logic devices. In particular, one embodiment of the present invention provides a programmable logic device with enhancements for efficient implementation of a first-in, first-out (FIFO) memory device.

Programmable logic devices have found particularly wide application in the industry. Their versatility, low design cost, and ease of use have combined to make these devices widely used in the logic design process. Programmable logic devices (sometimes referred to as PLDs, PALs, PLAs, FPLAs, EPLDs, EEPLDs, LCAs, or FPGAs,) are well known integrated circuits that combine the advantages of fixed integrated circuits with the flexibility of custom-designed integrated circuits.

The distinguishing feature of a programmable logic device is the ability of a user to electronically program a standard, off-the-shelf part to perform logic functions to meet the user's individual needs. Their use is well-known in the industry and are described, for example, in U.S. Pat. No. 4,617,479, which is incorporated herein by reference for all purposes. Such devices are currently represented, for example, by Altera's MAX.RTM. series of PLDs and Altera's FLEX.RTM. series of embedded PLDs.

A technique by which programmable logic devices have been implemented uses multiple blocks of configurable logic which are interconnected by some type of interconnection system. These configurable logic blocks are electronically programmable to provide desired logic functions. In order to provide efficient implementation of different functions, the configurable logic blocks are sometimes specially designed for certain applications. For example, one type of configurable logic block is a logic array block (LAB). LABs are designed to be useful in implementing generalized logic functions. Another type is an embedded array block (EAB). EABs are specially designed for implementing memories and other specialized logic functions. Often, different types of configurable logic blocks are provided within a single programmable logic device. This gives a user flexibility in realizing desired logic functions.

The configurable logic blocks are typically coupled together by an interconnection system. For example, a popular programmable logic device provides an interconnect grid to connect different configurable logic blocks to each other and also to input/output ports. This interconnect grid typically comprises sets of horizontal conductors and vertical conductors which are programmably connected to the configurable logic blocks and the input/output ports.

In addition to the interconnect grid, often each of the configurable logic blocks have local interconnect systems. These local interconnects are conductors which provide either fixed or programmable routing of signals within the configurable logic block.

Altera's FLEX.RTM. 10K line is an example of a product that provides both logic array blocks and embedded array blocks in a single programmable logic device. The embedded array blocks and logic array blocks are coupled by an innovative interconnect system. The FLEX.RTM. 10K line is described, for example, in the Altera Data Book, June 1996 and U.S. Pat. Nos. 5,241,224 and 4,871,930, which are included herein by reference for all purposes.

A common application for which a programmable logic device may be used is a first in, first-out (FIFO) memory. A FIFO is a particular memory scheme in which data is read out from the memory in the same order in which it was written into the memory. As is well known in the art, the implementation of such a device may include, for example, two counters and a memory array. One of the counters is a pointer to the next address from which data is to be read, while the second counter is a pointer to the next address to which data is to be written.

According to the present state of the art, multiple configurable logic blocks are used to design such a FIFO in a programmable logic device. Typically, for example, the counters are implemented in a logic array block or other configurable logic block. The memory array is implemented in a second configurable logic block, for example, an embedded array block. In such an arrangement, two sets of address lines are routed from the counters in the logic array block to the memory array in the embedded array block.

Routing of signals throughout a programmable logic device is a significant issue. Often, the number of available conductors is limited. The space required for introducing more conductors is significant. In a generalized device such as a programmable logic device, it is particularly desirable that the number of interconnections be as low as possible, while still allowing the user to implement common functions. By keeping the number of interconnections at a minimum, more of the space is available for implementing logic functions.

It is apparent from the above, that an improved programmable logic device is desirable. The present invention recognizes the desirability of implementing a FIFO memory in a programmable logic device while saving the number of conductors of the interconnect system that must be utilized.

SUMMARY OF THE INVENTION

The present invention provides a configurable logic block for use in a programmable logic device which allows for the implementation of a first-in, first-out memory while saving programmable interconnect lines.

In accordance with the present invention is a configurable logic block for a programmable logic device that is configurable as a first-in, first-out memory in a first mode (i.e. FIFO mode). The configurable logic block comprises a memory array having a plurality of memory cells arranged in a random access memory format with address lines for uniquely addressing each of the memory cells. The configurable logic block further comprises a first register which is coupled to the address lines of the memory array. The first register contains the write address for the memory array when in the FIFO mode. A second register is coupled to address lines of the memory array and contains the read address for the memory when in the FIFO mode. The first and second registers may be implemented, for example, using counters. Finally, the configurable logic block has a local interconnect that is coupled to the memory array, the first register, and the second register.

In one embodiment, the memory array has separate write address lines coupled with the first register and read address lines coupled with the second register, thereby forming a dual-port memory. Another embodiment of the present invention has an address input multiplexer that selectively couples the first register and the second register to the address lines of the memory arrays. During a write phase, the first register is connected to the address lines and during a read phase the second register is connected to the address lines.

According to the present invention, to save interconnect lines, the first register and the second register may be coupled to the address lines of the memory array without using the local interconnect. The local interconnect is used to provide control signals to the first and second register, along with control signals for the memory array.

The configurable logic blocks described above may be programmably cascaded and combined together to create larger blocks of memory. In this manner, different sizes of memories may be created, depending on the needs of the user.

The configurable logic block of the present invention may be implemented as part of a programmable logic device. For example, the programmable logic device may have a first type of configurable logic block that provides general logic, and a second type of configurable logic block that is configurable as a random access memory or as a FIFO as described above. These two types of configurable logic blocks may be located within an interconnection grid that allows each of the blocks to be programmably coupled together.

Further features of the invention, its nature and various advantages will be more apparent from the accompanying drawings and the following detailed description of the preferred embodiments.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a diagram of a digital system incorporating a programmable logic device;

FIG. 2 is a block diagram of a programmable logic device;

FIG. 3 is a more detailed diagram of a logic array block (LAB) in a programmable logic device;

FIG. 4 is a more detailed diagram of an embedded array block (EAB) in a programmable logic device;

FIG. 5 is a block diagram of a first-in, first-out memory implemented in a programmable logic device;

FIG. 6 is a block diagram of a first-in, first-out memory implemented in the enhanced programmable logic device of the present invention;

FIG. 7 is a diagram of a first-in, first-out memory with the read address register and the write address register multiplexed to a single address port;

FIG. 8 is a diagram of a first-in, first-out memory with the read address register and the write address register coupled to separate read address and write address ports;

FIG. 9 is a diagram of a first-in, first-out memory with an enhanced write address register that is operable as a counter or as a data register; and

FIG. 10 is a diagram of a first-in, first-out memory with the read address counter and the write address counter duplicated in a logic array block.

DESCRIPTION OF THE PREFERRED EMBODIMENT

FIG. 1 illustrates a typical environment in which the present invention may be embodied. A digital system has a processing unit 101 which is coupled with a memory 105 and an input/output device 111. A personal computer is one example of such a digital system. However, a wide variety of electronics and consumer products will find beneficial use from the present invention. For example, the present invention will be useful in digital systems in the areas of telecommunications, switches, networking systems, and many other applications.

Processing unit 101 contains one or more programmable logic devices 121 of the type described in the present invention. In other embodiments of this invention, one or more programmable logic devices 121 are contained within input/output device 111 or memory 105.

The digital system of FIG. 1 may be embodied on a single board, on multiple boards, or even within multiple enclosures. Furthermore, the system may have any multiple or combination of the elements shown. For example, a digital system may have multiple processing units 101, or no processing unit 101 at all. One of the advantages of programmable logic device 121 is its logical flexibility. Consequently, one of skill in the art can readily see many applications for utilizing such a device within a variety of digital systems.

By way of example, FIG. 2 depicts the layout an Altera FLEX.RTM. 10K embedded programmable logic device. This is one example of a device for which the present invention is well suited. The device is comprised of logic arrays blocks 220, embedded array blocks 240, interconnect grid 260, and input/output elements 280. Logic array blocks 220 are depicted in more detail in FIG. 3 and embedded array blocks 240 are shown in FIG. 4.

Interconnect grid 260 is comprised of sets of horizontal conductors 262 and sets of vertical conductors 264 that are configured in a grid pattern. Within interconnect grid 260 is an array of logic array blocks 220 and embedded array blocks 240. Each of these blocks are programmably connectable to horizontal conductors 262 and vertical conductors 264 of interconnect grid 260. Interconnect grid 260 is also programmably connectable to input/output elements 280. By programming a connection between input/output elements 280, logic array blocks 220 and embedded array blocks 240 through horizontal conductors 262 and vertical conductors 264, the user may create desired logical functions. Interconnect grid 260 is described in detail, for example, in U.S. Pat. No. 5,260,610, which is incorporated herein by reference for all purposes.

Referring to FIG. 3, an example of logic array block 220 is depicted. Logic array block 220 is a configurable logic block which can be configured to provide general logic functions. Each logic array block 220 has a set of logic elements 300 which perform the logical operations. Each logic element 300 provides desired logical outputs based on the inputs provided to it. For example, logic element 300 may be a look-up table, a set of AND-gates, NAND-gates, OR-gates and/or NOR-gates that provide sum of products terms, product of sum terms, or other methods of producing desired logical functions.

In the example of FIG. 3, logic array block 220 contains a set of eight logic elements 300. Each of logic elements 300 has four inputs 302 and one output 304. There are also separate carry-in inputs 306, cascade-in inputs 308 and other control inputs 309 which simplify the chaining of multiple logic array blocks 220 together. The output 304 of a logic element 300 is determined by looking up in a configurable table the desired output for each combination of inputs.

Each logic array block 220 also has an LAB local interconnect 310 which provides local connections between logic elements 300 and also local connections between horizontal conductors 262 of interconnect grid 260 and inputs to the logic elements 300. LAB local interconnect 310 is programmably configurable to allow flexibility to the user in designing logic function.

The outputs of logic elements 300 are also programmable coupled to horizontal conductors 262 and vertical conductors 264 of interconnect grid 260. By this structure, the output of the LAB may be routed to other configurable logic blocks 300 within the programmable logic device.

The structure of the logic array block is described in more detail in, for example, the Altera Data Book, June 1996, and U.S. Pat. No. 5,260,611, which are incorporated herein by reference for all purposes.

FIG. 4 is a diagram of an example of embedded array block 240. It is a configurable logic block which is comprised of a memory array 410; a local interconnect 430; input registers 450, 454, and 460; an output register 470; and numerous routing multiplexers 452, 456, 462, 472, and 490. Local interconnect 430 routes data, address, and control information within embedded array block 240. It is programmably connectable to interconnect grid 260.

Embedded array block 240 may be operated either synchronously or asynchronously. Synchronous operation is that in which the write enable input (WE) to memory array 410 is timed with respect to the system clock. The user does not have to be concerned with separate timing specifications for the memory array 410 and need only meet the setup and hold times of the system clock. For asynchronous operation, the user provides the write enable input (WE) and the data and address input signals must meet the required timing specifications in relation to the write enable signal. Internal registers 450, 454, 460, and 470 are provided which allow the input signals to be latched for synchronous operation or bypassed for asynchronous operation. The details of this arrangement are described below.

Memory array 410 is comprised of a plurality of memory cells arranged as a random access memory. Memory array 410 may be programmably configurable to different sizes. For example, it may be programmably configurable as a 256.times.8, 512.times.4, 1024.times.2 or 2,048.times.1 memory block. A two-bit register (not shown) may be provided whereby each of the four configurations is identified by different combinations of bits in the two-bit register. More configurations may be implemented by increasing the size of the register to allow each configuration to be uniquely identified. Furthermore, it is anticipated that larger or smaller memory arrays may be implemented without departing from the spirit of the present invention.

The first number in the configuration descriptions above (i.e. 256.times.8) is the depth of the memory array. The depth of the memory array is the number of memory locations that are addressable. The second number is the width of the memory array or the number of bits in each memory location. For example, a 256.times.8 memory block is a memory block that contains 256 eight-bit memory locations. Similarly a 2,048.times.1 memory block contains 2,048 unique one-bit locations. A user of embedded array block 240 may programmably configure memory array 410 to be whichever size is more applicable to the application for which it is being used. As would be recognized by one of skill in the art, the number of address lines used to uniquely address each of these configurations is 8, 9, 10, and 11 respectively. For example, eight address lines are needed to uniquely address 256 locations.

Data is input to memory array 410 on data-in lines of memory array 410 via local interconnect 430. These data-in lines are coupled either directly to local interconnect 430 or though a data input register 450. Whether the connection is direct or through data input register 450, is determined by a routing multiplexer 452 which is programmably configurable by the user. This provides the user with a choice of synchronous operation by using data input register 450, or asynchronous operation by bypassing it.

Similarly, the address is input on the address lines of memory array 410 through local interconnect 430 either directly or through an address input register 454. Whether the address lines are connected directly to local interconnect 430, or pass through address input register 454 is determined programmably by the user through a second routing multiplexer 456.

Memory array 410 also has a write enable input (WE). When this signal is asserted, the data on the data-in lines is written to whatever address of memory array 410 is specified on the address lines. The write enable signal is generated by global control signals and control signals from the local interconnect 430. As with the data and address signals, using routing multiplexer 462, the user may select either a direct signal or one that has been latched in write enable register 460.

The output data is latched into data output register 470. A routing multiplexer 480 selectively connects either the latched data or the raw output data to interconnect output multiplexer 490. Interconnect output multiplexer 490 routes the signal to either horizontal conductors 262 or vertical conductors 264 of interconnect grid 260.

Data is written to memory array 410 by placing the data on the data-in lines, a write address on the address lines and asserting the write enable line. Data is read from memory array 410 by placing a read address on the address lines and sampling the data output lines.

Referring to FIG. 5, a block diagram of a known implementation of a FIFO is depicted for the programmable logic device of FIG. 2 using the embedded array block 240 that is shown in FIG. 4. Embedded array block 240 has a local interconnect 502, input control logic 504 (which contains all of the routing logic and registers between local interconnect 502 and memory array 506), memory array 506, and output control logic 508 (which contains the data output register and routing control).

Logic array block 220 is configured as a read address counter 512 and a write address counter 514. The function of read address counter 512 is to maintain the address of the next address location from which data is to be read. Each time data is read from the FIFO, read address counter 512 is incremented. Similarly, the write address counter maintains the address of the next address location to which data is to be written. Each time that data is written to an address, write address counter 514 is incremented.

Control signals for memory array 506, read counter 512 and the write address counter 514 are generated from read/write control logic 520. Typically, these functions require a read clock (RDclk), a read enable line (RDena), a write clock (WRclk), a write enable line (WRena) and a reset line (RESET). When the reset line is asserted, both address counters 512 and 514 are reset to an initial value. When the write enable line and the write clock line are simultaneously asserted, the data is written into the first address of memory array 530 and write address counter 514 is incremented.

When the read clock is asserted when the read enable line is active, memory array 506 places the data that is located at the address pointed to by read address counter 512 on data out line 532 and the read address counter 512 is incremented. Additional logic (not shown) is typically provided in order to prevent reading from an empty FIFO and writing to a full FIFO. Often, it is desirable to know when the FIFO is nearly full to give the user advanced warning before it is entirely full. For example, an application in which data is written to memory array 506 in blocks of data must know in advance to tell the sender to stop sending when there is only enough room for one more block of data. These functions can be implemented in several ways as is clear to one of skill in the art.

One way of determining the status of a FIFO is to compare the values in read address counter 512 and write address counter 514. Read address counter 512 will be equal to write address counter 514 when the FIFO is either empty or full. If only a write operation has just occurred and the counters are equal, the FIFO must be full. If only a read operation has just occurred, the FIFO must be empty. If a read and a write operation have both just occured, the FIFO remains in whatever state it was before, full, empty, or neither. of course, other methods of determining the status for the FIFO will be readily apparent to one of skill in the art.

Another state that may be of interest is when the FIFO is nearly full. If a comparison of read address counter 512 and write address counter 514 shows the difference to be less than a defined value, then the FIFO is nearly full. The defined value may be programmable so that the application software is able to vary how full the FIFO is when it is warned of a nearly full condition by the hardware. A person of skill in the art can readily conceive of many alternative ways of accomplishing the same result. For example, a separate counter may be used that keeps track of the number of data values in the FIFO and the status may be derived from the value in the separate counter.

As specified above, embedded array block 240 is configurable to have from 256 addresses to 2,048 addresses. Hence, from 8 to 11 address lines are needed to uniquely identify each address location, depending upon the configuration of memory array 506. Since both read address counter 512 and write address counter 514 are used in the implementation of a FIFO, 16 to 22 address lines extend from the address counters 512 and 514 in logic array block 220 to the address lines of memory array 506 in embedded array block 240. Furthermore, along with the address lines, data and control lines also extend from logic array block 220 to embedded array block 500. It is desirable to not use so many interconnect lines. By reducing the number of interconnect lines, more room is available on the device for additional logic.

Past innovative designs have resolved this problem by multiplexing the read address counter and the write address counter within logic array block 220. Address multiplexer 540 allows read address counter 512 to be coupled to the interconnect lines during one-half of the clock cycle and the write address to be coupled to the interconnect lines during the other half of the cycle. By sharing interconnect lines in this way, the number of interconnect lines needed to provide memory array 506 with address information is cut in half.

Referring now to FIG. 6, a block diagram of an embodiment of a programmable logic device of the present invention is depicted. The programmable logic device has an embedded array block 610 and a logic array block 620. Embedded array block 610 has a read address register 630 and a write address register 640. The outputs of read address register 630 and write address register 640 are coupled to the address lines of memory array 650 through input control logic 660.

Logic array block 620 is configured with read/write control logic 670 to generate the necessary control lines for a FIFO. Typically, these include a read enable line (RDena), a read clock (RDclk), a write enable line (WRena), a write clock (WRclk) and a reset line (RESET). The output of the read/write control logic is coupled with input control logic 660, read address register 630, and write address register 640 through interconnect grid 260 and local interconnect 690.

Because read address register 630 and write address register 640 are located within embedded array block 610, the control lines mentioned above and the data lines are the only connections that must be made through the local interconnect 690 or interconnection grid 260. This allows for a more compact and efficient FIFO design.

FIG. 7 shows a more detailed diagram of embodiment of the present invention. An embedded array block 700 is a configurable logic block for use in a programmable logic device. Embedded array block 700 has two modes. The first mode is as a RAM memory that is randomly accessible to any address the user specifies on the address lines. The second mode is as a FIFO. An enhanced input address register 710 has two operating modes depending on the mode of embedded array block 700. When in RAM mode, enhanced input data register 710 operates as described above with reference to FIG. 4. That is, the address lines of memory array 714 are selectively coupled by routing multiplexer 730, either directly from local interconnect 720 or through enhanced input data register 710.

When in FIFO mode, enhanced input data register 710 operates as a counter to provide the function of a write address counter. As a counter, enhanced input data register 710 accepts control input from local interconnect 720. Its output is selectively coupled to the address lines of memory array 714 through routing multiplexer 730.

Embedded array block 700 also includes a read address counter 750. Read address counter 750 receives control input from local interconnect 720 and its output is selectively coupled to the address lines of memory array 714 through routing multiplexer 730.

By this arrangement, there is no need to use interconnect grid 260 or local interconnect 720 to couple the address lines from logic array block 220 to embedded array block 700. Write address counter 710 and read address counter 750 are located physically close to where the information they hold will be used. This saves on interconnection resources. It also improves the delay time associated with the address lines.

FIG. 8 shows another embodiment of the present invention that is a further improvement on the state of the art. An embedded array block 800 is a configurable logic block with an enhanced memory array 810. Enhanced memory array 810 has additional address inputs which allow it to be used as a simultaneous dual-port memory. That is, separate read and write address ports are available and enhanced memory array 810 can perform a write operation simultaneously with a read operation.

Embedded array block 800 also has a read address register 820 and a write address register 830. In RAM mode, the addresses are provided from data input register 840. However, when in FIFO mode, memory array 810 has its read address lines coupled to read address register 820 and its write address lines coupled to write address register 830. The control lines necessary for read address register 820 and write address register 830 are provided through local interconnect 850 and interconnect grid 260. Write address routing multiplexer 860 and read address routing multiplexer 862 select the source of the read address and the write address. In RAM mode the addresses come from data input register 840 or local interconnect 850. In FIFO mode, the addresses are provided by address counters 820 and 830.

Several advantageous features are readily apparent in the embodiment of the present invention shown in FIG. 8. As mentioned previously, the number of interconnect lines utilized by both local interconnect 850 and interconnection grid 260 in the implementation of a FIFO are minimized. Furthermore, in this embodiment, embedded array block 800 is operable as a simultaneous dual-port FIFO.

A dual-port FIFO is desirable in many applications. The key feature of a dual-port FIFO is that data may be written to the FIFO and read from the FIFO simultaneously. Separate read address lines and write address lines are provided so that each can be addressed individually.

Referring now to FIG. 9, another embodiment of the present invention is depicted. Additional logic is added to input data register 840 (shown in FIG. 8) to create an enhanced input data register 900 as shown in FIG. 9. The additional logic allows enhanced input data register 900 to operate in two separate modes. In RAM mode, it operates as a data register that latches whatever data is presented at the input. In the FIFO mode, enhanced data register 900 operates as a counter, incrementing its value by one for each clock pulse when the increment (INC) line is asserted.

This has the advantage of saving space in embedded array block 910. Since the write counter function is not used in RAM mode, and the input data register function is not used in FIFO mode, the extra register is a redundancy that is eliminated in this embodiment.

FIG. 10 depicts yet another embodiment of the present invention. Therein, read address register 1010 and write address register 1020 of embedded array block 1030 are duplicated in logic array block 1040. In some applications, it is desirable to extract address information from read address register 1010 and write address register 1020 to determine the status of the FIFO such as when it is empty, full or nearly full.

In order to save interconnect lines in interconnect grid 260 and local interconnect 1050 as described above, address counters 1010 and 1020 remain within embedded array block 1030. Hence, the information contained in address counters 1010 and 1020 is not available outside of embedded array block 1030. By duplicating address registers 1010 and 1020 outside of embedded array block 1030, the information contained in them is accessible, without using precious resources of local interconnect 1050 and interconnect grid 260.

Logic array block 1040 is configured to contain status logic 1060. Status logic 1060 monitors duplicate read address register 1070 and duplicate write address register 1080. The outputs of status register 1060 are status flags indicating the status of the FIFO. For example, the output in this embodiment indicates when the FIFO is nearly full. Other embodiments, for example, indicate when the FIFO is full or empty. The status may be determined, for example, in the manner described above.

It will be understood that the foregoing embodiments are merely illustrative of the principles of this invention. Various modifications can be made by those skilled in the art without departing from the scope and spirit of the invention. For example, the size of the memory array can be altered, the logic can be spread around to multiple logic array blocks, and variations can be made to the interconnections. The examples given above are intended to aid in the understanding of the present invention, and are not intended to imply any limitation, other than those specified in the claims.

Claims

1. A configurable logic block in a programmable logic device integrated circuit comprising:

a memory array, wherein said memory array comprises a plurality of memory cells arranged in a random access memory format and address lines to address each of said plurality of memory cells;
a first register coupled to said address lines of said memory array, wherein in a FIFO mode, said configurable logic block operates as a first-in, first-out memory and said first register contains a write address;
a second register coupled to said address lines of said memory array, wherein in said FIFO mode, said second register contains a read address; and
a local interconnect having a plurality of conductors which are programmably coupled to said memory array, said first register, and said second register, wherein said first and second registers are coupled to said address lines of said memory array without passing through said local interconnect.

2. The configurable logic block of claim 1, wherein in said FIFO mode, said first register is configured as a counter and said second register is configured as a counter.

3. The configurable logic block of claim 1 wherein said address lines of said memory array further comprise:

a write address port, said write address port being coupled to said first register when in said FIFO mode; and
a read address port, said read address port being coupled to said second register when in said FIFO mode.

4. The configurable logic block of claim 1 further comprising:

an address input multiplexer, said first register being selectively coupled to said address lines of said memory array through said address input multiplexer during a write phase, and said second register being selectively coupled to said address lines of said memory array through said address input multiplexer during a read phase.

5. The configurable logic block of claim 4 wherein said local interconnect is selectively coupled to said address lines through said address input multiplexer.

6. The configurable logic block of claim 3 wherein said memory array further comprises:

a data-in port for storing data to a write address of said memory array specified in said write address lines; and
a data-out port for reading data from a read address of said memory array specified in said read address lines, wherein data is readable on said data-out port concurrently with data being stored on said data-in port.

7. The configurable logic block of claim 1 wherein said local interconnect provides control signals to said first register, said second register, and said memory array.

8. The configurable logic block of claim 7 wherein said control signals include a read enable signal, a write enable signal, a read clock, a write clock, and a reset signal.

9. The configurable logic block of claim 1 wherein said memory array is configurable with respect to a width of said memory array and a depth of said memory array.

10. The configurable logic block of claim 1 wherein a write enable input to said memory array is synchronously timed with respect to a clock signal.

11. The configurable logic block of claim 1 wherein a data input and address input to said memory array are asynchronously timed with respect to a write enable input to said memory array.

12. The configurable logic block of claim 1 wherein said first register is operable as a counter when in said FIFO mode, and as a data register in a mode other than said FIFO mode.

13. A programmable logic device comprising a plurality of configurable logic blocks as recited in claim 1, wherein said plurality of configurable logic blocks may be programmably coupled together to create a larger configurable logic block.

14. A programmable integrated circuit comprising:

an interconnect grid comprising a plurality of horizontal conductors and a plurality of vertical conductors, wherein said vertical conductors may be programmably coupled to said horizontal conductors;
a plurality of logic array blocks programmably coupled to said interconnect grid; and
an embedded array block, programmably coupled to said interconnect grid, wherein said embedded array block is configurable as a RAM in a RAM mode and a FIFO in a FIFO mode and comprises:
a memory array, wherein said memory array comprises a plurality of memory cells arranged in a random access memory format and address lines to address said memory array;
a first register coupled to said address lines of said memory array, wherein said first register stores a write address when said embedded array block is in said FIFO mode;
a second register coupled to said address lines of said memory array, wherein said second register stores a read address when said embedded array block is in said FIFO mode; and
a local interconnect, wherein said local interconnect is programmably coupled to said interconnect grid, first register and said second register, and said first register and second register are coupled to said address lines of said memory array without passing through said local interconnect.

15. The programmable integrated circuit of claim 14 wherein when said embedded array block is in said FIFO mode, said first register and said second register are operable as counters.

16. The programmable integrated circuit of claim 15 wherein when said embedded array block is in said RAM mode, said first register is configured as a D-type register.

17. The programmable integrated circuit of claim 14 wherein said address lines of said memory array further comprise:

write address lines, said write address lines being coupled to said first register when said embedded array block is in said FIFO mode; and
read address lines, said read address lines being coupled to said second register when said embedded array block is in said FIFO mode.

18. The programmable integrated circuit of claim 14 further comprising:

an address input multiplexer, wherein while said embedded array block is in said FIFO mode, said address input multiplexer selectively couples said address lines of said memory array to said first register during a write phase and to said second register during a read phase.

19. The programmable integrated circuit of claim 17 wherein said memory further comprises:

a data-in port for storing data to a write address of said FIFO specified in said write address lines; and
a data-out port for reading data from a read address of said FIFO specified in said read address lines, wherein data is readable on said data-out port concurrently with data being stored on said data-in port.

20. The programmable integrated circuit of claim 14 wherein one of said plurality of logic array blocks is configured to duplicate said first register and said second register, and to provide a status flag representative of a status of said memory array.

21. The programmable integrated circuit of claim 20 wherein said status flag is asserted when said memory array is nearly full.

22. The programmable integrated circuit of claim 14 wherein said memory array is configurable with respect to a width of said memory array and a depth of said memory array.

23. The programmable integrated circuit of claim 14 wherein said memory array is operated as a synchronous memory.

24. The programmable integrated circuit of claim 14 wherein said memory array is operated as an asynchronous memory.

25. A digital system having a programmable integrated circuit as recited in claim 14.

26. A programmable integrated circuit comprising:

an interconnect grid;
a first array block, programmably coupled to said interconnect grid;
a second array block, programmably coupled to said interconnect grid, is configurable as a RAM in a RAM mode and a FIFO in a FIFO mode, said second array block comprising:
a memory array, said memory array having a plurality of memory cells arranged in a random access memory format and address lines to address said memory array;
a first register coupled to said address lines of said memory array, said first register containing a write address when said second array block is in said FIFO mode;
a second register coupled to said address lines of said memory array, said second register containing a read address when said second array block is in said FIFO mode; and
a local interconnect, said local interconnect being programmably coupled to said interconnect grid, first register, and second register, wherein said first register and said second register are coupled to said address lines of said memory array without passing through said local interconnect.

27. The programmable integrated circuit of claim 26 wherein when said second array block is in said FIFO mode, said first register and said second register are configured as counters.

28. The programmable integrated circuit of claim 26 wherein said address lines of said memory array further comprise:

write address lines, said write address lines being coupled to said first register when said second array block is in said FIFO mode; and
read address lines, said read address lines being coupled to said second register when said second array block is in said FIFO mode.

29. The programmable integrated circuit of claim 28 wherein said memory further comprises:

a data-in port for storing data to a write address of said FIFO specified in said write address lines; and
a data-out port for reading data from a read address of said FIFO specified in said read address lines, wherein data is readable on said data-out port concurrently with data being stored on said data-in port.

30. A programmable integrated circuit comprising:

an interconnect grid comprising a plurality of horizontal conductors and a plurality of vertical conductors, wherein said vertical conductors may be programmably coupled to said horizontal conductors;
a plurality of logic array blocks programmably coupled to said interconnect grid; and
an embedded array block, programmably coupled to said interconnect grid wherein said embedded array block is configurable as a RAM in a RAM mode and a FIFO in a FIFO mode and said embedded array block comprises:
a memory array, wherein said memory array comprises a plurality of memory cells arranged in a random access memory format and address lines to address said memory array;
a first register coupled to said address lines of said memory array, wherein said first register stores a write address when said embedded array block is in said FIFO mode;
a second register coupled to said address lines of said memory array, wherein said second register stores a read address when said embedded array block is in said FIFO mode; and
a local interconnect, wherein said local interconnect is programmably coupled to said interconnect grid, first register, and second register, wherein one of said plurality of logic array blocks is configured to duplicate said first register and said second register, and to provide a status flag representative of a status of said memory array.

31. The programmable integrated circuit of claim 30 wherein when said embedded array block is in said RAM mode, said first register is configured as a D-type register.

32. The programmable integrated circuit of claim 30 wherein address lines of said memory array further comprise:

write address lines, said write address lines being coupled to said first register when said embedded array block is in said FIFO mode; and
read address lines, said read address lines being coupled to said second register when said embedded array block is in said FIFO mode.

33. The programmable integrated circuit of claim 30 further comprising:

an address input multiplexer, wherein while said embedded array block is in said FIFO mode, said address input multiplexer selectively couples said address lines of said memory array to said first register during a write phase and to said second register during a read phase.

34. The programmable integrated circuit of claim 32 wherein said memory further comprises:

a data-in port for storing data to a write address of said FIFO specified in said write address lines; and
a data-out port for reading data from a read address of said FIFO specified in said read address lines, wherein data is readable on said data-out port concurrently with data being stored on said data-in port.

35. The programmable integrated circuit of claim 30 wherein said status flag is asserted when said memory array is nearly full.

36. The programmable integrated circuit of claim 30 wherein said memory array is configurable with respect to a width of said memory array and a depth of said memory array.

37. The programmable integrated circuit of claim 30 wherein said memory array is operated as a synchronous memory.

38. The programmable integrated circuit of claim 30 wherein said memory array is operated as an asynchronous memory.

39. A digital system having a programmable integrated circuit as recited in claim 30.

40. A programmable logic integrated circuit comprising:

a programmable interconnect array;
a plurality of configurable logic blocks programmably coupled to the programmable interconnect array; and
a plurality of configurable memory blocks, programmably coupled to the programmable interconnect array, wherein a configurable memory block is operable as a random access memory in a RAM mode and a first-in, first-out memory in a FIFO mode and comprises:
a local interconnect;
a memory array comprising a read address input and write address input;
a first register coupled to the local interconnect, wherein in the FIFO mode, the first register stores a write address and is coupled to the read address input of the memory array without passing through the local interconnect; and
a second register coupled to the local interconnect, wherein in the FIFO mode, the second register stores a read address and is coupled to the write address input of the memory array without passing through the local interconnect.

41. The programmable logic integrated circuit of claim 40 wherein a configurable memory block further comprises:

a first multiplelxer coupled between the first register and the read address input of the memory array; and
a second multiplexer coupled between the second register and the write address input of the memory array.

42. The programmable logic integrated circuit of claim 41 wherein a configurable memory block further comprises:

a third register coupled to the local interconnect;
a third multiplexer selectively coupling the third register or the local interconnect to the first and second multiplexers, wherein in the RAM mode, the third multiplexer is coupled to the read and write address inputs of the memory array.

43. The programmable logic integrated circuit of claim 40 wherein the first and second registers are counters.

44. The programmable logic integrated circuit of claim 40 wherein the memory array is a dual-port memory.

45. The programmable logic integrated circuit of claim 40 wherein the memory array is a synchronous memory.

46. The programmable logic integrated circuit of claim 40 wherein the memory array is an asynchronous memory.

47. The programmable logic integrated circuit of claim 40 wherein the memory array may be organized as 256 rows of 8 bits, 512 rows of 4 bits, 1024 rows of 2 bits, or 2048 rows of 1 bit.

48. The programmable logic integrated circuit of claim 43 wherein increment inputs to the first and second registers are coupled to the local interconnect.

49. The programmable logic integrated circuit of claim 40 wherein the memory array comprises SRAM memory cells.

50. The programmable logic integrated circuit of claim 42 wherein clock inputs to the first, second, and third registers are coupled together.

Referenced Cited
U.S. Patent Documents
RE34363 August 31, 1993 Freeman
RE34444 November 16, 1993 Kaplinsky
3473160 October 1969 Wahlstrom
4020469 April 26, 1977 Manning
4124899 November 7, 1978 Birkner et al.
4293783 October 6, 1981 Patil
4546273 October 8, 1985 Osman
4609986 September 2, 1986 Hartmann et al.
4617479 October 14, 1986 Hartmann et al.
4642487 February 10, 1987 Carter
4670749 June 2, 1987 Freeman
4677318 June 30, 1987 Veenstra
4706216 November 10, 1987 Carter
4713792 December 15, 1987 Hartmann et al.
4717912 January 5, 1988 Harvey et al.
4758985 July 19, 1988 Carter
4780846 October 25, 1988 Tanabe et al.
4825414 April 25, 1989 Kawata
4831591 May 16, 1989 Imazeki et al.
4855958 August 8, 1989 Ikeda
4870302 September 26, 1989 Freeman
4871930 October 3, 1989 Wong et al.
4899067 February 6, 1990 So et al.
4912342 March 27, 1990 Wong et al.
4940909 July 10, 1990 Mulder et al.
4975601 December 4, 1990 Steele
5042004 August 20, 1991 Agrawal et al.
5121006 June 9, 1992 Pedersen
5241224 August 31, 1993 Pedersen et al.
5247478 September 21, 1993 Gupta et al.
5258668 November 2, 1993 Cliff et al.
5260610 November 9, 1993 Pedersen et al.
5260611 November 9, 1993 Cliff et al.
5274600 December 28, 1993 Ward et al.
5294975 March 15, 1994 Norman et al.
5313119 May 17, 1994 Cooke et al.
5317212 May 31, 1994 Wahlstrom
5329460 July 12, 1994 Agrawal et al.
5338982 August 16, 1994 Kawana
5343406 August 30, 1994 Freeman et al.
5343437 August 30, 1994 Johnson et al.
5350954 September 27, 1994 Patel
5352940 October 4, 1994 Watson
5357132 October 18, 1994 Turner
5362999 November 8, 1994 Chiang
5365125 November 15, 1994 Goetting et al.
5375086 December 20, 1994 Wahlstrom
5406525 April 11, 1995 Nicholes
5414377 May 9, 1995 Freidin
5432719 July 11, 1995 Freeman et al.
5550782 August 27, 1996 Cliff et al.
5560123 October 1, 1996 Freidin et al.
5570040 October 29, 1996 Lytle et al.
5572148 November 5, 1996 Lytle et al.
5668771 September 16, 1997 Cliff et al.
5804986 September 8, 1998 Jones
5809281 September 15, 1998 Steele et al.
B14617479 September 1993 Hartmann et al.
Foreign Patent Documents
0410759 A2 January 1991 EPX
0420389 A1 April 1991 EPX
0507507 A2 October 1992 EPX
01091525 April 1989 JPX
WO 95/16993 June 1995 WOX
Other references
  • Cartier. "Implementing FIFOs in XC4000E RAM". Xilinx, Inc., Oct. 9, 1995, pp. 1-15. Actel Corp., "Integrator Series FPGAs 1200 XL and 3200DX Famile," Apr. 1996, pp. 1-7 to 1-72. Actel Corp., "Actel's Reprogrammable SPGAs," Preliminary Advance Information, Oct. 10, 1996, pp. 1-25. Lattice Semiconductor Corp., "ispLSI and pLSI 6192, High Density Programmable Logic With Dedicated Memory and Register/Counter Modules," 1996, Data Book, pp. 2-287 to 2-347. Lattice Semiconductor Corp., "6000 Family Architectural Description," 1996, Data Book, pp. 2-39 to 2-41. AT&T Microelectronics, "Optimized Reconfigurable Cell Array (ORCA) Series Field-Programmable Gate Arrays," Advance Data Sheet, Feb. 1993, pp. 1-87. AT&T Microelectronics, "Optimized Reconfigurable Cell Array (ORCA) 2C Series Field-Programmable Gate Arrays (ATT2C12, ATT2C15, and ATT2C22)," Preliminary Data Sheet, Apr. 1994, pp. 1-103. Altera Corp., "Configuring FLEX 10K Devices," Dec. 1995, Version 1, Application Note 59, pp. 1-24. Altera Corp., "Embedded Programmable Logic Family FLEX 10K," Data Sheet, Jul. 1995, Version 1, pp. 1-55. Altera Corp., "Implementing FIFO Buffers in FLEX 10K Devices," Jan. 1996, Version 1, Application Note 66, pp. 1-12. Altera Corp., "MAX 9000 Programmable Logic Device Family," Data Book, Mar. 1995, version 2, pp. 119-152, (Presentation of the book included pp. iii-viii). Xilinx Corp., "XC4000, XC4000A, XC4000H Logic Cell Array Families," 1994, Revised Apr. 1995, pp. 2-7 to 2-102 (Presentation of the book included). Plus Logic, "FPSL5110 Intelligent Data Buffer," Data Sheet, pp. 1-3. Dave Bursky, "Combination RAM/PLD Opens New Application Options, Packing 2048 Bits Of RAM Plus Four 500-Gate Configurable Logic Blocks Lets An EPLD Compete With Standard Cells, Arrays," Product Innovation, Electronic Design, May 23, 1991, pp. 138 and 140. EDN Design Feature, "Embedded Memory Enhances Programmable Logic For Complex, Compact Designs," Nov. 7, 1996, pp. 91, 92, 94, 96, 98, 100, 101, 102, 106. Chip Express Press Release, "The Chip Express QYH500 Laser Gate Array (LPGA) Family Now Supports 3-Volt Custom Designs," Santa Clara, CA, May 17, 1996, www.chipexpress.com/corporate/pressreleases/voltage.html, one page. Chip Express Press Release, "Chip Express Unviels a 200,000 Gate LPGA Family with Configurable Embedded SRAM: The CX2000 New Gate Array Architecture Eases Deep Sub-micron Designs," www.chipexpress.com, corporate/pressreleases/cx2000.html, Las Vegas, NV, Jun. 3, 1996, one page. Chip Express Press Release, "Chip Express Announces Low-Production Volume ONEMASK.RTM. Gate Arrays Screened to Military Standard 883, Rapid-Turn Laser-Prototyping Used by the Military," Product & Services, Technical Press Releases, www.chipexpress.com/products/pressreleases/onemask.html, Santa Clara, CA, Aug. 21, 1995, pp. 1-2. Chip Express Press Release, "Technical Overview: RAM Block Diagrams," Product & Services, Technical Information, Nov. 25, 1996, www.chipexpress.com/products/appnotes/ramblock.htm., pp. 1-2. Chip Express Press Release, "CX2000, 0.6.mu. High-Performance, Fast-Turn ASIC," www.chipexpress.com/products/datasheets/cx2000.htlm, Dec. 12, 1996, pp. 1-3. Altera Corp., "MAX 5000," Data Book, Aug. 1993, version 1, pp. 149-160, (presentation of the book included pp. iii-ix). Altera Corp., "Implementing RAM Functions in FLEX 10K Devices," Application Note 52, Nov. 1995, Version 1, pp. 1-8. Dave Bursky, "CPDLs Add Dedicated Memory Counters To Up Performance," Electronic Design, Mar. 4, 1996, pp. 141-142. Masumoto, Rodney T., "Configurable On-Chip RAM Incorporated into High Speed Logic Array," IEEE Custom Integrated Circuits Conference, Jun. 1985, CH2157-6/85/0000-0240, pp. 240-243. Landry, Steve, "Application-Specific ICs, Relying on RAM, Implement Almost Any Logic Function," Electronic Design, Oct. 31, 1985, pp. 123-130. Bursky, Dave, "Shrink Systems with One-Chip Decoder, EPROM, and RAM," Electronic Design, Jul. 28, 1988, pp. 91-94. Kawana, Keiichi et al., "An Efficient Logic Block Interconnect Architecture for User-Reprogrammable Gate Array," IEEE 1990 Custom Integrated Circuits Conference, May 1990, CH2860-5/90/0000-0164, pp. 31.3.1-4. Plus Logic "FPSL5110 Intelligent Data Buffer" Product Brief, Plus Logic, Inc., San Jose, California, Oct. 1990, pp. 1-6. Shubat, Alexander et al., "A Family of User-Programmable Peripherals with a Functional Unit Architecture," IEEE Jor. of Solid-State Circuits, vol. 27, No. 4, Apr. 1992, 0018-9200/92$03.00, pp. 515-529. "AT&T's Orthogonal ORCA Targets the FPGA Future," 8029 Electronic Engineering, 64, No. 786, Jun. 1992, Woolwich, London, GB, pp. 9-10. Bursky, Dave, "FPGA Advances Cut Delays, Add Flexibility," Electronic Design, 40, No. 20, Oct. 1, 1992, Cleveland, OH, pp. 35-43. Smith, Daniel, "Intel's FLEXlogic FPGA Architecture," IEEE 1063-6390/93, Wilton [29], 1993 pp. 378-384. Bursky, Dave, "Denser, Faster FPGAs Vie for Gate-Array Applications," 2328 Electronic Design, 41, No. 11, May 27, 1993, Cleveland, OH, pp. 55-75. Ngai, Kai-Kit Tony, "An SRAM-Programmable Field-Reconfigurable Memory," UMI Dissertation Services, Jun. 1994, University of Toronto, pp. i-68.
Patent History
Patent number: 5977791
Type: Grant
Filed: Apr 14, 1997
Date of Patent: Nov 2, 1999
Assignee: Altera Corporation (San Jose, CA)
Inventor: Kerry S. Veenstra (San Jose, CA)
Primary Examiner: Jon Santamauro
Law Firm: Townsend and Townsend and Crew LLP
Application Number: 8/834,426
Classifications