This invention relates to a single instruction multiple data array cell for processing a direct access memory data stream.
The high performance required for real-time processing in communications and multimedia applications stresses processor architectures in many different ways. The Single Instruction Multiple Data (SIMD) parallel-processing model that exploits the application's properties of natural parallelism is considered the most acceptable way to deliver the high performance need for both today's and future applications. The SIMD model assumes a plurality of processing cells. Each cell may include various combinations of hardware: address generators, multipliers, arithmetic logic units (ALUs), memory, registers, and sequencers. Generally, as the investment in hardware increases, the speed of processing goes up, but so does the power requirement, cost, and die area required. Cost and area are always considerations in hand held devices such as personal digital assistants (PDAs), cell phones, and other wireless handset terminals. Many different approaches have been used to address these problems. One approach, known as the very long instruction word (VLIW), VLIW architecture increases the speed by packing multiple operations into a single instruction word, which is then executed in parallel as a very wide instruction unit. However, this requires a very large register capacity and memory to store those instructions. The programming limitations of VLIW processors require engineers to use very low assembly programming to achieve high performance. Such programming requires specialized knowledge of the hardware architecture, which can be extremely complex. An alternative architecture to VLIW is Single Instruction Multiple Data (SIMD). This model assumes an array of processing cells each executing the same sequence of instruction on their local data. The key advantages of this approach are a reduction in overall hardware complexity, design regularity, the enhancement of computing resources and simplified path to software development. These come from the fact that only a single instruction-decode-and-dispatch is required. An example for such an array is the reconfigurable ALU array, offered by Elixent Limited of Bristol, England, which uses an array of four bit ALUs and register/buffer blocks. The ALUs are interwoven with adjacent cross bar switches. This results in a highly reconfigurable array but requires a large die area, a long time to accomplish the reconfiguring and a large number of buses. Yet another reconfigurable approach, the PACT, XPP, parallel processes the data by using processing array elements (PAE) where each of the PAE's uses an ALU and a few registers but is limited to only ALU types of operations without multiplication. In still another approach, using a multiple instruction multiple data (MIMD) array, each cell includes a full digital signal processor (DSP) that can change from a simple DSP up to a VLIW type; each DSP includes data address registers (DAGs), a compute block comprising at least one ALU, a shifter and a 16-bit multiplier with a register file, an instruction decoder and a sequencer. These systems are fast and versatile but they require very high power and very large die area. See the reconfigurable ALU array (RAA) at www.elixent.com. See also the XPP architecture at www.PACTCORP.com.
It is therefore an object of this invention to provide an improved single instruction multiple data (SIMD) array cell for processing a data stream.
It is a further object of this invention to provide a SIMD array cell which uses less die area.
It is a further object of this invention to provide a SIMD array cell which eliminates the need for data address generators (DAG's) and all the associated Base, Index, Length, and Modify (B, I, L, M) registers.
It is a further object of this invention to provide a SIMD array cell which eliminates the need for a multiplier circuit by using a shift and add/subtract circuit.
It is a further object of this invention to provide a SIMD array cell which eliminates the need for registers in the arithmetic logic circuit by storing the data directly in memory.
It is a further object of this invention to provide a SIMD array cell which eliminates the need for loop logic and the associated registers by operating with absolute addresses.
It is a further object of this invention to provide a SIMD array cell which uses less power by replacing multiplication with additions/subtractions and very short shifts.
It is a further object of this invention to provide a SIMD array cell which powers down cells not required for a particular operation.
It is a further object of this invention to provide a SIMD array cell which eliminates the need for an in cell sequencer by using a single instruction-decode-and-dispatch mechanism.
The invention results from the realization that a truly improved single instruction multiple data array for processing a data stream, which is faster, and uses less power and less die area, can be achieved using a plurality of cells, which need no address generators or associated registers, each of which cells have a memory that stores a predetermined region of the data stream, a location register for representing the size and location of that region, a unique identification number and an arithmetic logic unit responsive in a load mode to the identification number and a single command word common to all cells to compute the unique start position for its cell for receiving the predetermined region of the direct memory access data stream. In an execution mode the command word includes an address field applicable to all cells, a data field and an instruction to be performed by the arithmetic logic unit. The arithmetic logic unit in each cell performs the instruction directly on the local value at that address in its memory with the data in the data field.
This invention features a single instruction multiple data (SIMD) array cell for processing a data stream, the array including a plurality of cells, each cell including a memory circuit for storing a predetermined region of the data stream, a location register circuit for representing the size and location of the predetermined region of the data stream, a unique identification number stored in its ID register circuit and an arithmetic logic unit responsive to the identification number and a single command common to all cells in a load mode to compute a unique start position for its cell for receiving the predetermined region of the data stream.
In a preferred embodiment, the arithmetic logic unit may include an adder circuit. The arithmetic logic unit may include a shifter circuit for performing multiplication and accumulation in combination with the adder circuit. The arithmetic logic unit may include an arithmetic logic circuit. The command word may include in an execution mode an address field applicable to all cells. The arithmetic logic unit may operate directly on the values stored at that address in its cell memory with the data in the data field. The command word in the execution mode may include an instruction field for operating the arithmetic logic unit. The arithmetic logic unit may include a multiplexor for presenting input from the memory circuit, the command word, and the output of the arithmetic logic unit. Each cell may include a condition code register and the arithmetic logic unit may respond to the unique identification number and the condition code register to control the condition of the cell. The location register circuit may store a start position for the predetermined region to be stored in its memory, the length of the direct memory access data stream to be stored, and at least one dimension of the data stream. The location register may store the vertical and horizontal dimensions of the data stream. The command word in the execution mode may establish the size and location of the predetermined region in the location register circuit. The command word may include an address field for addressing locations in the predetermined region of interest in the memory circuit. The command word in the execution mode may include a data field for operating the arithmetic logic unit. The condition code register and arithmetic logic unit may respond to the unique identification number, the data field, to control the condition of the cell.
Other objects, features and advantages will occur to those skilled in the art from the following description of a preferred embodiment and the accompanying drawings, in which:
There is shown in
Each cell 14a,
In operation, in the execute mode,
In loading mode the tightest rectangle that contains all the data points (N×N×ROI) needed to be processed by the N×N array is raster broadcasted across the arrays DMA bus. Each one of the array members receives the broadcast data and grabs its own region of interest data according to the settings of his own location register circuit. In,
For example, in order to set the starting point of cells 0, 1, 8, 9, . . . of
In the execution mode, the instruction field 56c,
Condition code register 22 maintains the status of the ALU in its particular cell. For example, when command 50d,
Although in the example thus far the memories are used to full capacity and they all start loading neatly in the upper left corner, these are not necessary limitations of the invention. Only a portion of each memory need be used and loading could be anywhere. The example so far uses a “two-dimensional” data stream, that is it represents an image but this is not a limitation. The data stream could as well be a one-dimensional data stream such as sound for example with the same applicability and advantages. In the example thus far, too, the data stored in the memories is neatly contiguous but this need not be either. In the case illustrated in
Although specific features of the invention are shown in some drawings and not in others, this is for convenience only as each feature may be combined with any or all of the other features in accordance with the invention. The words “including”, “comprising”, “having”, and “with” as used herein are to be interpreted broadly and comprehensively and are not limited to any physical interconnection. Moreover, any embodiments disclosed in the subject application are not to be taken as the only possible embodiments.
Other embodiments will occur to those skilled in the art and are within the following claims:
This application claims priority over U.S. Provisional Application Ser. No. 60/350,398 entitled SINGLE INSTRUCTION MULTIPLE DATA (SIMD) ALU ARRAY to Kablotsky et al., filed Jan. 21, 2002.
Number | Name | Date | Kind |
---|---|---|---|
3805037 | Ellison | Apr 1974 | A |
4722050 | Lee et al. | Jan 1988 | A |
4847801 | Tong | Jul 1989 | A |
4852098 | Brechard et al. | Jul 1989 | A |
4918638 | Matsumoto et al. | Apr 1990 | A |
5095525 | Almgren et al. | Mar 1992 | A |
5182746 | Hurlbut et al. | Jan 1993 | A |
5214763 | Blaner et al. | May 1993 | A |
5379243 | Greenberger et al. | Jan 1995 | A |
5446850 | Jeremiah et al. | Aug 1995 | A |
5577262 | Pechanek et al. | Nov 1996 | A |
5689452 | Cameron | Nov 1997 | A |
5708836 | Wilkinson et al. | Jan 1998 | A |
5752068 | Gilbert | May 1998 | A |
5872988 | Duranton | Feb 1999 | A |
6049815 | Lambert et al. | Apr 2000 | A |
6199086 | Dworkin et al. | Mar 2001 | B1 |
6199087 | Blake et al. | Mar 2001 | B1 |
6230179 | Dworkin et al. | May 2001 | B1 |
6246768 | Kim | Jun 2001 | B1 |
6317819 | Morton | Nov 2001 | B1 |
6349318 | Vanstone et al. | Feb 2002 | B1 |
6434662 | Greene et al. | Aug 2002 | B1 |
6581152 | Barry et al. | Jun 2003 | B2 |
6587864 | Stein et al. | Jul 2003 | B2 |
20020041685 | McLoone et al. | Apr 2002 | A1 |
20020147825 | Stein et al. | Oct 2002 | A1 |
20020174318 | Stuttard et al. | Nov 2002 | A1 |
20030103626 | Stein et al. | Jun 2003 | A1 |
20030105791 | Stein et al. | Jun 2003 | A1 |
20030110196 | Stein et al. | Jun 2003 | A1 |
20030115234 | Stein et al. | Jun 2003 | A1 |
20030133568 | Stein et al. | Jul 2003 | A1 |
20030140211 | Stein et al. | Jul 2003 | A1 |
20030140213 | Stein et al. | Jul 2003 | A1 |
20030149857 | Stein et al. | Aug 2003 | A1 |
Number | Date | Country |
---|---|---|
1 246 389 | Oct 2002 | EP |
Number | Date | Country | |
---|---|---|---|
20030140212 A1 | Jul 2003 | US |
Number | Date | Country | |
---|---|---|---|
60350398 | Jan 2002 | US |