Shift register engine

Information

  • Patent Application
  • 20050198090
  • Publication Number
    20050198090
  • Date Filed
    June 24, 2004
    20 years ago
  • Date Published
    September 08, 2005
    18 years ago
Abstract
A micro-code engine with a linear shift register comprises at least one shift register and an execution unit. The shift registers contain a plurality of data cells, each of which store at least one data value. The shift register is operable to shift the data values from a first data cell to a second data cell as new data is input into the shift register. The execution unit is electrically coupled to the linear shift register such that when the execution unit performs an algorithm, the execution unit uses the data value stored in the second data cell as an operand. After the execution unit substantially completes the algorithm, the linear shift register shifts a new data value into the second data cell. In response to the linear shift register shifting new data into the second data cell, the execution unit re-performs the algorithm.
Description
BRIEF SUMMARY

The present invention relates to shift register engines. In one embodiment, a shift register engine comprises at least one shift register and an execution unit coupled with the at least one shift register. The at least one shift register comprises a plurality of data cells, each of which is operative to store at least one data value. Typically, the shift register is operative to shift the data value stored in a first of the plurality of data cells to a second of the plurality of said data cells.


The execution unit is coupled with the at least one shift register such that the execution unit can read the data value stored in the second data cell of the shift register. Additionally, the execution unit is operative to perform an algorithm using the at least one data value stored in the second data cell as an operand for the algorithm.


The at least one shift register is operative to shift the data value from the first data cell to the second data cell after the execution unit has substantially completed executing the algorithm and the execution unit is responsive to the at least one shift register shifting the new data into the second data cell such that the execution unit re-performs the algorithm with the new data.


In another embodiment, the shift register engine comprises a micro-code memory operative to store a plurality of micro-code programs; a micro-code execution unit capable of executing each of the plurality of micro-code programs, electrically coupled with the micro-code memory; and at least one linear shift register, electrically coupled with the micro-code execution unit.


The at least one linear shift register comprises a plurality of data cells operative to store at least one data value. The at least one shift register is operative to shift the data value from a first of the plurality of data cells to a second of the plurality of data cells. Further, the micro-code execution unit is operative to read the data value stored in the second data cell and operative to execute at least one of the plurality of micro-code programs in response to the at least one linear shift register shifting a new data value into the second data cell.


In yet another embodiment, a central processing unit comprises a fixed execution unit operative to perform a first plurality of functions; a programmable execution unit operative to perform a second plurality of functions; a controller, coupled with the fixed execution unit and the programmable execution unit; and at least one linear shift register coupled with at least one of the fixed execution unit and the programmable execution unit.


The controller is operative to receive an instruction from a memory coupled with the controller, determine a first function of at least one of the first and second plurality of functions to be performed based on the instruction, and generate a signal to at least one of the fixed execution unit and the programmable execution unit to perform the first function.


The at least one linear shift register comprises a plurality of data cells operative to store at least one data value capable of being an operand for at least one of the first and second plurality of functions. Further, the at least one linear shift register is operative to shift the data value from a first of the plurality of data cells to a second of the plurality of data cells.


The fixed execution unit comprises a first input coupled with the controller and operative to receive the signal; a second input coupled with the linear shift register and operative to receive the at least one data value stored in the second data cell; and a plurality of discrete logic elements coupled with the first and second inputs. Each of the plurality of discrete logic elements are interconnected with at least another of the plurality of discrete logic elements. Additionally, each of the plurality of discrete logic elements is further coupled with the first input to implement at least one of the first plurality of functions in response to the signal. The at least one of the first plurality of functions is determined based on the signal to cause the fixed execution unit to perform the first function using the at least one data value stored in the second data cell as an operand.


The programmable execution unit comprises a third input coupled with the controller and operative to receive the signal; a fourth input coupled with the linear shift register and operative to receive the at least one data value stored in the second data cell; a micro-code memory operative to store a plurality of micro-programs, each of the plurality of micro-programs operative to implement at least one of the second plurality of functions; a micro-code execution unit coupled with the micro-code memory and capable of selectively executing each of the plurality of micro-programs; and a micro-code controller coupled with the third and fourth inputs and further coupled with the micro-code execution unit.


The micro-code controller is operative to cause the micro-code execution unit to execute at least one of the plurality of micro-code programs in response to the signal to cause the programmable execution unit to perform the first function using the at least one data value stored in the second data cell as an operand.


Typically, at least one of the fixed execution unit and the programmable execution unit is responsive to execute at least one of the first and second plurality of functions when the at least one linear shift register shifts a new data value into the second data cell.




BRIEF DESCRIPTION OF THE DRAWINGS


FIG. 1 is a schematic diagram of one embodiment of a central processing unit having a micro-code engine;



FIG. 2 is a schematic diagram of a second embodiment of a central processing unit having a micro-code engine;



FIG. 3 is a schematic diagram of one embodiment of a micro-code engine having a linear shift register;



FIG. 4 is a diagram of a shift-able window over a set of targeted data;



FIG. 5 is a diagram showing one possible mapping of a linear shift register;



FIG. 6
a is a diagram of one embodiment of a linear shift register before a shift operation;



FIG. 6
b is a diagram of the linear shift register of FIG. 6a after a shift operation; and



FIG. 7 is a schematic diagram of a shift register micro-engine.




DETAILED DESCRIPTION OF THE DRAWINGS AND THE PRESENTLY PREFERRED EMBODIMENTS


FIG. 1 shows a central processing unit having a micro-code engine 100 which includes a system memory 102, a central processing unit (“CPU”) execution unit 104 coupled with the system memory 102, and a micro-code engine 106 coupled with the CPU execution unit 104. Herein, the phrase “coupled with” is defined to mean directly connected to or indirectly connected through one or more intermediate components. Such intermediate components may include both hardware and software based components.


The system memory 102 may be any type of memory capable of storing a program/object code instruction and micro-code, and may include intermediate memories such as cache memories. In one embodiment, the CPU execution unit 104 is a hardware unit, or other fixed execution unit, hardwired to execute various operations and issue various commands to the micro-code engine 106. Typically, the hardware unit contains a plurality of discrete logic elements, wherein each of the plurality of discrete logic elements is interconnected with at least one other of the plurality of discrete logic elements to perform a plurality of functions.


The micro-code engine 106 is a device such as a processor, or other programmable execution unit, capable of running micro-code programs to execute various operations within a higher-level processor, i.e. the micro-code engine 106 implements one or more of the higher level object code instructions available for use to a programmer. A micro-code engine 106, as will be described in more detail below, may be utilized in addition to or in place of hardwired circuits and logic for implementing the functionality of a higher level central processing unit.


The system memory 102, CPU execution unit 104, and micro-code engine 106 may all be located on a single integrated circuit or may be discrete components. In one embodiment, at least the CPU execution unit 104 and the micro-code engine 106 are located on the same integrated circuit.


In other embodiments, the CPU execution unit 104, and the micro-code engine 106 may all be located on a field programmable gate array or on discrete field programmable gate arrays. In alternative embodiments, it is possible for a central processing unit to have multiple system memory units 102, CPU execution units 104, or micro coded engines 106 which may all be located on a single device such as an integrated circuit or a field programmable gate array, or the units may be located on discrete components.


In general, the system memory 102 stores program/object code instructions for the CPU execution unit 104 and, in one embodiment, micro-code for the micro-code engine 106. The CPU execution unit 104, acting as a controller, reads and decodes each instruction in the system memory 102. Based on each decoded instruction, the CPU execution unit 104 determines the functions needed to perform the instruction from a plurality of hardwired functions available to be performed by the arithmetic logic unit (“ALU”) execution unit 112 of the CPU execution unit 112 and a plurality of micro-code functions available to be performed by the micro-code engine 106. Typically, the CPU execution unit 104 generates a signal comprising at least one parameter to indicate what, if any, functions in the ALU execution unit 112 and the micro-code engine 106 are needed to be executed to implement the instruction. In response to receiving the signal, the ALU execution unit 112 and the micro-code engine 106 perform their operations, and typically, return a result to the CPU execution unit 104. The result may comprise an action, a second signal, and/or a result parameter. In response to receiving the result, the CPU execution unit 104 may store the result in system memory 102 or determine a second function from the first and second plurality of functions for at least one of the ALU execution unit 112 and the micro-code engine 106 to perform.


Micro-code is the lowest-level programming that may directly control a microprocessor. Typically, micro-code is not program-addressable but is capable of being modified, e.g. existing micro-code may be modified to correct defects or enhance performance, or additional micro-code programs can be added to the micro-code engine 106, such as to add new instructions types available for operations. In one embodiment, micro-code programs are added to the micro-code engine 106 by downloading the micro-code programs through the CPU execution unit 104. In alternative embodiments, micro-code programs are added to the micro-code engine 106 by downloading the micro-code programs to the micro-code engine 106 directly.


Typically, the micro-code engine 106 is able to execute micro-code programs that may include a plurality of micro-instructions or may implement one or more functions/instructions of the micro-code engine 106. In one embodiment, micro-code programs are used to emulate operations which would be typically hardwired in a processor. Processors with hardwired operations normally execute operations more quickly than a processor using a micro-code engine, but at the cost of system flexibility. Once a processor is hardwired, using devices such as logic gates or transistors to perform operations, the processor cannot execute new instruction types without redesigning the hardwired operations of the processor. Such redesigning is costly, time consuming and may introduce design errors into the overall processor design.


Micro-code engines 106 allow for reduced silicon area in comparison to hardwired operations in a processor and provide flexibility by allowing a user to write additional micro-code programs to execute new instruction types or modify existing micro-code programs to correct defects or enhance performance. For example, if new instruction types are needed for a new algorithm after the initial design of the system, a new micro-code program can simply be written and downloaded to the micro-code engine 106 thereby altering the operation of the processor. Further, if defects or performance issues are discovered in the operation of the processor, the micro-code may be altered or augmented to correct the problem or enhance performance.


Micro-code engines 106 also alleviate the need for a separate digital signal processor (“DSP”). In order to accelerate image processing, some systems use a separate DSP with a completely discrete CPU having built-in image processing functions. Accelerating image processing using a separate DSP comes at the cost of increased silicon requirements, and a lack of communication between the control CPU and the separate DSP. Micro-code engines, as disclosed herein, may be used in place of, or to augment, the DSP.


In one embodiment of a CPU having a micro-code engine, the CPU execution unit 104 is electrically coupled with the system memory 102 such that the CPU execution unit 104 can read instructions stored in the system memory 102 or write data to the system memory 102. The CPU execution unit 104 generally includes an instruction decoder 108, a parameter fetching unit 110, an Arithmetic Logic Unit (“ALU”) execution unit 112, and a write back unit 114. Preferably, the instruction decoder 108, parameter fetching unit 110, ALU execution unit 112, and write back unit 114 are electrically coupled with each other so that the parameters of each instruction can easily be passed between the different units of the CPU execution unit 104.


The micro-code engine 106 is also electrically coupled 115 with the CPU execution unit 104 such that the CPU execution unit 104 can treat the micro-code engine 106 as a hardware assisted instruction. Typically, the CPU execution unit 104 and the micro-code engine 106 are arranged in a parallel fashion where both are capable of operating substantially concurrently while executing the same or different functions. In alternative embodiments, the CPU execution unit 104 and the micro-code engine 106 may also be arranged in a serial or pipeline fashion or any other arrangement known in the art. Through the electrical coupling 115, the CPU execution unit 104 controls which instructions the micro-code engine 106 will execute, and how and when the micro-code engine 106 will execute each instruction. Specifically, the CPU execution unit 104 typically controls what micro-code and instruction parameters the micro-code engine 106 receives and what data the micro-code engine 106 may pass to the CPU execution unit 104 or the system memory 102.


Typically, the micro-code engine 106 includes a micro-code execution unit 116 and a micro-code memory 118. The micro-code execution unit 116 and the micro-code memory 118 are typically electrically coupled with each other so that the micro-code execution unit 116 can read instruction parameters or micro-code stored in the micro-code memory 118, or write data to the micro-code memory 118.


During operation, the CPU execution unit 104 reads a program/object code instruction stored in the system memory 102. Typically, the instruction decoder 108 within the CPU execution unit 104 acts as a controller to examine the instruction set and determine what operations are required to execute the various instructions contained therein. Depending on the necessary operations for a given instruction, the CPU execution unit 104 may use the hardwired operations 113 of the CPU execution unit 104 to execute the instruction, the CPU execution unit 104 may actuate the micro-code engine 106 to execute the instruction, or the CPU execution unit 104 may use the hardwired operations 113 of the CPU execution unit 104 to execute a portion of the instruction while the micro-code engine 106 executes another portion of the instruction.


If the CPU execution unit 104 uses the hardwired operations 113 of the CPU execution unit 104 to execute the instruction, the parameter fetching unit 110 typically passes the instruction parameters to the ALU execution unit 112. The ALU execution unit 104 performs the necessary operations under the direction of the hardwired logic and the write back unit 114 records the result of the instruction in the system memory 102, a register, or other storage.


If the CPU execution unit 104 actuates the micro-code engine 106 to execute the instruction, the parameter fetching unit 110 typically passes the instruction parameters, any necessary micro-code if not already loaded, and any other commands to the micro-code engine 106. The micro-code execution unit 116, acting as a micro-code controller, receives the information from the CPU execution unit 104 and reads any additional information that may be stored in the micro-code memory 118. The micro-code execution unit 116 executes the operation, i.e. the micro-code program which implements the instruction, and records the result of the instruction in the micro-code memory 118 or otherwise passes the result to the CPU execution unit 104. If necessary, the write back unit 114 then records the result of the instruction in the system memory 102, a register, or other storage. In one embodiment, while the micro-code engine 106 is processing the operation, the CPU execution unit 104 is free to perform other operations. In alternate embodiments, the CPU execution unit 104 waits for the micro-code engine 106 to complete the operation before performing other actions.


If the CPU execution unit 104 uses the hardwired operations 113 of the CPU execution unit 104 to execute a portion of the instruction while the micro-code engine 106 executes another portion of the instruction, the parameter fetching unit 110 passes the instruction parameters to the ALU execution unit 112 and the micro-code execution unit 116. The ALU execution unit 112 and the micro-code execution unit 116 execute their operations in parallel or in series depending on the algorithm, and the result of the instruction is written to the system memory 102, a register, or other storage. In one embodiment, the ALU execution unit 112 may factor the output of the micro-code engine 106 into the final result.


In another embodiment, the CPU execution unit 104 and the micro-code engine 106 are able to perform operations on either the same or different data, at the same time or at different times. In order to ensure the CPU execution unit 104 and micro-code engine 106 perform operations in the proper order, hand shake signals 119 may be implemented between the CPU execution unit 104 and the micro-code engine 106. Hand shake signals 119 are signals such as WAIT signals or other status indicators passed between at least two units of a processor to ensure that an algorithm is executed in proper order. Through the hand shake signals 119, the CPU execution unit 104 and the micro-code engine 106 are able to pass signals so that the CPU execution unit 104 and the micro-code engine 106 may operate synchronously. While the hand shake signals 119 permit the CPU execution unit 104 and micro-code engine 106 to operate synchronously with respect to each other, these signals 119 may also permit signaling between the CPU execution unit 104 and the micro-code engine 106 so as to allow either CPU execution unit 104, the micro-code engine 106 or both to internally operate synchronously or asynchronously.


In yet another embodiment, shown in FIG. 2, separate direct memory access (“DMA”) channels 220 between the system memory 202 and the micro-code engine 206, and additional hand shake signals 221 between the CPU execution unit 204 and the micro-code engine 206 are provided. Separate DMA channels 220 allow the system to operate more quickly and efficiently by allowing the micro-code engine 206 to directly read data stored in the system memory 202 instead of the micro-code engine 206 only being able to read data the CPU execution unit 204 has read from the system memory 202.


The additional hand shake signals 221 between the CPU execution unit 204 and the micro-code engine 206 allow the CPU execution unit 204 and the micro-code engine 206 to operate synchronously in more complex executions. The additional hand shake signals allow the micro-code engine 206 and the CPU execution unit 204 to communicate with each other as compared to other embodiments where only the CPU execution unit 204 issued commands to the micro-code engine 206. The ability for both the CPU execution unit 204 and the micro-code engine 206 to pass hand shake signals allows the CPU execution unit 204 and the micro-code engine 206 to act in a peer-to-peer fashion rather than in a master-slave fashion.


A central processing unit having a micro-code engine according to the disclosed embodiments can be used in devices such as a digital camera to implement and/or accelerate image processing, in addition to or in place of a separate DSP. A micro-code engine allows a digital camera manufacturer to change micro-code programs within the micro-code engine to correct problems, improve functions, implement proprietary image processing algorithms, or add features in reaction to market driven desires for camera functions without the cost of redesigning the camera hardware. Due to the flexibility of a micro-code engine, a digital camera manufacturer can change the micro-code programs, and therefore the digital camera functions, at any time during or after the design and manufacture of the camera, even after the purchase of a camera.


In one embodiment of a digital camera having a central processing unit and micro-code engine as disclosed, the micro-code engine executes one or more micro-programs which implement specific operations for compressing pixel data generated by the camera's image sensor. In another embodiment, the micro-code engine executes one or more micro-programs which implement specific operations for demosaicing the pixel data generated by the camera's image sensor where the image sensor utilizes a color filter array, such as a Bayer pattern color filter array.


In another embodiment of a central processing unit having a micro-code engine, shown in FIG. 3, a micro-code engine 300 includes a linear shift register to perform a shift-able window operation. A micro-code engine 300 with linear shift registers generally includes a micro-code execution unit 302, a micro-code memory 304, and a linear shift register implementing a shift-able window 306. The micro-code engine 300 is preferably an application specific integrated circuit capable of running micro-code programs, but the micro-code engine 300 could be implemented by any means known in the art. Additionally, the incorporation of the linear shift register 306 with other logic devices could be implemented by any means known in the art.


Typically, the micro-code execution unit 302 is electrically coupled with the micro-code memory 304 such that the micro-code execution unit 302 can both read an instruction or micro-code stored in the micro-code memory 304 and write data to the micro-code memory 304. Preferably, additional micro-code can be added to the micro-code memory 304 at any time as new instruction types become available for operations.


In one embodiment, shown in FIG. 4, a linear shift register 406 implementing a shift-able window 408 operates on a set of data from (1,1) to (5,18). The shift-able window 408 needed for the algorithm of FIG. 4 is in the shape of a cross, but due to the flexibility of micro-code programs, the linear shift register 406 implementing the shift-able window 408 may be square of size n×n, rectangular of size n×m, or an irregular size and shape, defining which data elements may be simultaneously accessed at any given shift event. The shape of the shift-able window 408 is dependent on the parameters of an algorithm with the only size and shape requirement being that the shift-able window 408 contain all the necessary operands to execute the algorithm. In the example shown in FIG. 4, an operand 410 needed to execute an algorithm is shown in gray.


As shown in FIG. 4, data is continuously fed into the linear shift registers 406. By running a micro-code program within the micro-code execution unit 302 (FIG. 3) that utilizes the shift-able window 408, the micro-code execution unit 302 (FIG. 3) can continuously execute an algorithm on the data stored within the set of linear registers 406.


The shift-able window 408 provides the ability to continuously execute an algorithm on the continuous data being serially input into the linear shift registers 406 by shifting data from a new section of the linear shift registers 406 into the shift-able window 408 after the micro-code execution unit 302 (FIG. 3) completes an operation. Typically, each register within the linear shift registers 406 can be addressed as an operand 410 in the shift-able window 408. Shifting the new data into the shift-able window 408 from a new section of the linear shift registers 406 changes the operands 410 such that data for the new and subsequent targeted location within the linear shift register 406 are in the correct relative location. Therefore, the data values for the next operation by the micro-code execution unit 302 (FIG. 3) are available without re-fetching the data or re-aligning the data by the CPU execution engine or the micro-code engine 300 (FIG. 3).


Simply shifting only the new data into the shift-able window 408, without re-aligning the old data, accelerates image processing by increasing the efficiency of the micro-code engine 300 (FIG. 3). Shifting new data into the shift-able window 408 avoids repetitive operations typically associated with processor functions such as extra fetching operations, load operations, or store operations. The CPU or micro-code engine 300 (FIG. 3) will use the saved time and cycle to execute the algorithm, increasing the overall efficiency.


Previously, to accelerate image processing in digital cameras, designers have used a shift-able window made through software or a shift-able window made through hardwired operations. The shift-able window made through software provides flexibility, but lacks the speed of hardwired operations. The hardwired operations execution image processing functions quickly, but at the cost of flexibility due to the fact the size and shape of the shift-able window are fixed. Increasing the efficiency of a processor using a linear shift register implementing a shift-able window compensates for the tradeoff between speed and flexibility, thereby providing a window operation that can both quickly execute operations for an algorithm and is flexible to accommodate future changes, e.g. new instructions or algorithms that require a new window size or shape.



FIG. 5 shows the mapping of the linear shift register 506 implementing the shift-able window 504 of FIG. 4. The number within each element of the shift-able window 504 represents the sequence of that element within the linear shift register 506. When data shifts through the linear shift register 506, the data in element 1 shifts into element 2, while the data in element 2 shifts into element 3. This process continues sequentially throughout the linear shift register.



FIGS. 6
a and 6b show one embodiment of a shift-able window 604, using the mapping of FIG. 5, before and after a shift operation. A shift operation shifts new data into the operands 606 of the shift-able window 604. In the embodiment shown in FIGS. 6a and 6b, data is shifting from right to left through the shift-able window 604, but the shift-able window 604 may be designed so that data may be shifted from any direction into the operands 606 of the shift-able window 604. As data is shifted from right to left, the areas of the shift-able window 604 shown in black 608 and in gray 610 represent data values that are no longer needed for image processing operations. Thus, even though the data values exist within the linear shift register 602, the data values can be considered non-existent. The registers of column 610 represent the next set of registers that new data could be stored in. The shift-able window 604 may be implemented through a serial set of registers, a circular set of registers, or any other register design known in the art.


In another embodiment, shown in FIG. 7, a shift register micro-engine 700 generally includes a micro-code memory 701, a micro-code execution unit 702, a series of shift-able registers 704, and a series of logic devices 706. In one embodiment, the logic devices 706 are electrically coupled with the shift-able registers 704 such that the logic devices 706 perform a calculation on the operands contained in the current shift-able window of the micro-code execution unit 702. Additionally, the micro-code memory 701, and micro-code execution unit 702 are electrically coupled with the shift-able registers 704 such that by reading the micro-code programs stored within the micro-code memory 701, the micro-code execution unit 702 knows the direction of the operation on the linear shift register, and the direction of data flow.


In general, data, such as pixel data, is constantly serially input into the series of shift-able registers 704 from a device such as a CCD of a digital camera or by any intermediate means such as Direct Memory Access (“DMA”) or by loading through the CPU core. As data shifts through the series of shift-able registers 704, the logic devices 706 calculate a result based on the current operands present in the shift-able window. This operation can be a filter operation or an interpretation based on data currently within the window, or any other logically, algorithmically useful operation. After the algorithm is complete on the current operands, a shift operation shifts the data linearly and effectively moves the shift-able window forward by one pixel. After the shift operation, the shift-able window is targeting a new pixel, even though half the surrounding pixels for the algorithm will be retained and located in their correct relative location. Only new data that is needed but not within the shift-able window is shifted into the shift-able window. After the shift operation, the logic devices 706 automatically calculate a result for the new set of operands and output a result. This process is continually repeated as data is serially input through the series of shift-able registers 604.


In another embodiment, direct memory access channels may be added between the linear shift registers and the micro-code engine to further accelerate image processing operations. In yet another embodiment to enhance performance, additional instructions may be added for the shift-able window to perform more than one shift operation per instruction and/or cycle.


In one embodiment of a digital camera having a central processing unit and a micro-code engine that includes a linear shift register to perform a shift-able window operation, the shift-able window is used to execute specific operations on pixel data such as a filter operation or an interpretation operation. In other embodiments, the shift-able window may be used to perform compression algorithms, demosaicing algorithms, or any other type of algorithm using pixel data as an operand.


For example, in an embodiment using a shift-able window to employ a demosaicing algorithm, the shift-able window surrounds a targeted pixel and the pixels nearby the targeted pixel that are needed to create a three-color per pixel image from a one-color per pixel image. When a digital camera uses a color filter array (“CFA”) such as a Bayer CFA, red, green, and blue pixels are arranged in a predetermined pattern so that each color pixel is adjacent to the two other color pixels. Demosaicing algorithms are used to create a three-color per pixel images from one-color per pixel images using processes such as bilinear interpolation. In this process, a one-color targeted pixel and its surrounding one-color pixels are used to create a single three-color pixel. A shift-able window accelerates the demosaicing algorithm by quickly shifting new pixel data into the shift-able window after each bilinear interpolation is complete on a targeted pixel and its nearby pixels.


It is therefore intended that the foregoing detailed description be regarded as illustrative rather than limiting, and that it be understood that it is the following claims, including all equivalents, that are intended to define the spirit and scope of this invention.

Claims
  • 1. A shift register engine comprising: at least one shift register comprising a first plurality of cells each of which is operative to store at least one data value, said at least one shift register being operative to shift said at least one data value stored in a first cell of said first plurality of cells to a second cell of said first plurality of data cells; and an execution unit, coupled with said at least one shift register and capable of reading at least said at least one data value stored in said second cell, said execution unit operative to perform an algorithm based at least on said at least one data value stored in said second cell; wherein said at least one data value of said second cell of said first plurality of cells comprises a first data value and said at least one data value of said first cell of said first plurality of cells comprises a second data value; and further wherein said execution unit is operative to perform said algorithm based at least on said first data value, said at least one shift register being operative to shift at least said second value stored in said first cell of said first plurality of cells to said second cell of said first plurality of cells after said execution unit has substantially completed performing said algorithm and said execution unit is responsive to said shifting such that said execution unit re-performs said algorithm based at least on said second data value.
  • 2. The shift register engine of claim 1, wherein: said at least one shift register further comprises a second plurality of cells each of which is operative to store said at least one data value, said at least one shift register being operative to shift said at least one data value stored in a first cell of said second plurality of cells to a second cell of said second plurality of cells; wherein said execution unit is coupled with at least one cell of said first plurality of cells and at least one cell of said second plurality of cells; and wherein said at least one data value of said second cell of said second plurality of cells comprise a third data value and said at least one data value of said first cell of said second plurality of cells comprise a fourth data value; and wherein said execution unit is operative to perform said algorithm based at least on said first value and said third value.
  • 3. The shift register of claim 2, wherein: said at least one shift register is operative to shift said at least one data value stored in at least one data cell of said first plurality of cells to at least one cell of said second plurality of cells.
  • 4. The shift register of claim 2, wherein: said at least one shift register is operative to shift said second data value stored in said first cell of said first plurality of cells to said second cell of said first plurality of cells and shift said fourth data value stored in said first cell of said second plurality of cells to said second cell of said second plurality of cells at substantially the same time.
  • 5. The shift register engine of claim 1, wherein: said execution unit is operative to store a result of said algorithm in at least one of said first plurality of cells that comprise said at least one shift register.
  • 6. The shift register engine of claim 1, wherein: said at least one shift register is a serial set of registers.
  • 7. The shift register engine of claim 1, wherein: said at least one shift register is a circular set of registers.
  • 8. The shift register engine of claim 1, wherein said execution unit comprises: a micro-code memory operative to store a plurality of micro-programs; a micro-code execution unit coupled with said micro-code memory and capable of executing each of said plurality of micro-programs; and a micro-code controller coupled with said micro-code execution unit and operative to cause said micro-code execution unit to execute at least one of said plurality of micro-code programs.
  • 9. The shift register engine of claim 1, wherein said execution unit comprises: a plurality of discrete logic elements, each of said plurality of discrete logic elements being interconnected with at least one other of said plurality of discrete logic elements to perform a plurality of functions.
  • 10. A shift register engine comprising: a micro-code memory operative to store a plurality of micro-code programs; a micro-code execution unit, electrically coupled with said micro-code memory, said micro-code execution unit capable of executing each of said plurality of micro-code programs; and at least one linear shift register, electrically coupled with said micro-code execution unit, said at least one linear shift register comprising: a first plurality of cells operative to store at least one data value, wherein said at least one linear shift register is operative to shift said at least one data value stored in a first cell of said first plurality of cells to a second cell of said first plurality of cells; wherein said micro-code execution unit is operative to read said at least one data value stored in said second cell of said first plurality of cells; and wherein said micro-code execution unit is responsive to execute at least one of said plurality of micro-code programs when said at least one linear shift register shifts at least a new data value into said second cell of said first plurality of cells.
  • 11. The shift register engine of claim 10, wherein: said at least one shift register further comprises a second plurality of cells each of which is operative to store said at least one data value, said at least one shift register operative to shift said at least one data value stored in a first cell of said second plurality of cells to a second cell of said second plurality of data; wherein said micro-code execution unit is coupled with at least one cell of said first plurality of cells and at least one cell of said second plurality of cells; and wherein said micro-code execution unit is operative to execute at least one of said plurality of micro-code programs using said at least one data value stored in said second cell of said first plurality of cells and said at least one data value stored in said second cell of said second plurality of cells as operands for said micro-code program.
  • 12. The shift register of claim 10, wherein: said at least one shift register is operative to shift said at least one data value stored in at least one cell of said first plurality of cells to at least one cell of said second plurality of cells.
  • 13. The shift register of claim 10, wherein: said at least one shift register is operative to shift said at least one data value stored in said first cell of said first plurality of cells to said second cell of said first plurality of cells and shift said at least one data value stored in said first cell of said second plurality of cells to said second cell of said second plurality of cells at substantially the same time.
  • 14. The shift register engine of claim 10, wherein: said micro-code execution unit is further operative to store a result to said at least one of said plurality of micro-code programs in said at least one linear shift register.
  • 15. A central processing unit comprising: a fixed execution unit operative to perform a first plurality of functions; a programmable execution unit operative to perform a second plurality of functions; a controller, coupled with said fixed execution unit and said programmable execution unit, said controller being operative to receive an instruction from a memory coupled with said controller, determine a first function of at least one of said first and second plurality of functions to be performed based on said instruction and generate a signal to at least one of said fixed execution unit and said programmable execution unit to perform said first function; and at least one linear shift register coupled with at least one of said fixed execution unit and said programmable execution unit, said at least one linear shift register comprising: a first plurality of cells operative to store at least one data value capable of being an operand for at least one of said first and second plurality of functions; wherein said at least one linear shift register is operative to shift said at least one data value stored in a first cell of said first plurality of cells to a second cell of said first plurality of cells; wherein said fixed execution unit further comprises: a first input coupled with said controller and operative to receive said signal; a second input coupled with said linear shift register and operative to receive at least said at least one data value stored in said second cell of said first plurality of cells; and a plurality of discrete logic elements coupled with said first and second inputs, each of said plurality of discrete logic elements being interconnected with at least another of said plurality of discrete logic elements and further coupled with said first input to implement at least one of said first plurality of functions in response to said signal, said at least one of said first plurality of functions being determined based on said signal to cause said fixed execution unit to perform said first function using said at least one data value stored in said second cell of said second plurality of cells as an operand; and wherein said programmable execution unit further comprises: a third input coupled with said controller and operative to receive said signal; a fourth input coupled with said linear shift register and operative to receive at least said at least one data value stored in said second cell of said first plurality of cells; a micro-code memory operative to store a plurality of micro-programs, each of said plurality of micro-programs operative to implement at least one of said second plurality of functions; a micro-code execution unit coupled with said micro-code memory and capable of selectively executing each of said plurality of micro-programs; a micro-code controller coupled with said third and fourth inputs and further coupled with said micro-code execution unit, said micro-code controller operative to cause said micro-code execution unit to execute at least one of said plurality of micro-code programs in response to said signal to cause said programmable execution unit to perform said first function using said at least one data value stored in said second cell of said first plurality of cells as an operand; and wherein at least one of said fixed execution unit and said programmable execution unit is responsive to execute at least one of said first and second plurality of functions when said at least one linear shift register at least shifts a new data value into said second cell of said first plurality of cells.
  • 16. The shift register engine of claim 15, wherein: said at least one shift register further comprises a second plurality of cells each of which is operative to store said at least one data value, said at least one shift register operative to shift said at least one data value stored in a first cell of said second plurality of cells to a second cell of said second plurality of cells; wherein at least one of said fixed execution unit and said programmable execution unit is coupled with at least one cell of said first plurality of cells and at least one cell of said second plurality of cells; and wherein at least one of said fixed execution unit and said programmable execution unit is operative to execute at least one of said first and second plurality of functions using said at least one data value stored in said second cell of said first plurality of cells and said at least one data value stored in said second cell of said second plurality of cells as operands for at least one of said first and second plurality of functions.
  • 17. The shift register of claim 16, wherein: said at least one shift register is operative to shift said at least one data value stored in at least one cell of said first plurality of cells to at least one data cell of said second plurality of cells.
  • 18. The shift register of claim 16, wherein: said at least one shift register is operative to shift said at least one data value stored in said first cell of said first plurality of cells to said second cell of said first plurality of cells and shift said at least one data value stored in said first cell of said second plurality of cells to said second cell of said second plurality of cells at substantially the same time.
  • 19. A method for using a shift register engine to execute an algorithm comprising: shifting a first data value into at least one data cell of a shift register; performing an algorithm in an execution unit in response to said shifting said first data value based on a contents of said at least one data cell; shifting a second data value into said at least one data cell; re-performing said algorithm in response to said shifting said second data value into said at least one data cell based on said contents of said at least one data cell.
  • 20. The method of claim 19, further comprising: storing a response to said algorithm in said at least one data cell of said register.
  • 21. The method of claim 19, wherein the step of performing an algorithm in an execution unit in response to said shifting said first data value based on a contents of said at least one data cell comprises: running a micro-code program within a micro-code execution unit using said first data value as at least one operand.
  • 22. The method of claim 19, wherein the step of performing an algorithm in an execution unit in response to said shifting said first data value based on a contents of said at least one data cell comprises: executing a function in a fixed execution unit having a plurality of fixed logic using said first data value as at least one operand.
  • 23. The method of claim 19, further comprising: changing said algorithm executed by said execution unit such that said execution unit will execute a new algorithm in response to said shifting said first data value.
  • 24. A central processing unit comprising: a shift register operative to periodically shift data sequentially through a series of interconnected data cells; an execution unit coupled with said shift register and operative to read a contents of a portion of said series of interconnected data cells; and wherein said execution unit is operative to execute an algorithm, said algorithm based on said contents, said algorithm being re-executed as said contents of said portion changes as said data is sequentially shifted through said series of interconnected data cells including said portion.
  • 25. A method of computing a result, the method comprising: providing a plurality of data cells each capable of storing data, each of said plurality of data cells sequentially coupled with another of said plurality of data cells so as to be capable of shifting said data sequentially through said plurality of data cells.
RELATED APPLICATIONS

The present patent document claims the benefit of the filing date under 35 U.S.C. §119(e) of Provisional U.S. Patent Application Ser. No. 60/549,620, filed Mar. 2, 2004, which is hereby incorporated by reference.

Provisional Applications (1)
Number Date Country
60549620 Mar 2004 US