This application claims priority from Chinese Patent Application 201610301645.8, filed on May 6, 2016; Chinese Patent Application 201710310865.1, filed on May 5, 2017, in the State Intellectual Property Office of the People's Republic of China (CN), the disclosure of which are incorporated herein by references in their entireties.
The present invention relates to the field of integrated circuit, and more particularly to processors.
Conventional processors use logic-based computation (LBC), which realizes mathematical functions primarily with logic circuits (e.g. XOR circuit). Logic circuits are suitable for arithmetic operations (i.e. addition, subtraction and multiplication), but not for non-arithmetic functions (e.g. elementary functions, special functions). Non-arithmetic functions are computationally hard. Rapid and efficient realization of the non-arithmetic functions has been a major challenge.
For the conventional processors, only few basic non-arithmetic functions (e.g. basic algebraic functions and basic transcendental functions) are implemented by hardware and they are referred to as built-in functions. These built-in functions are realized by a combination of arithmetic operations and look-up tables. For example, U.S. Pat. No. 5,954,787 issued to Eun on Sep. 21, 1999 taught a method for generating sine/cosine functions using look-up tables; U.S. Pat. No. 9,207,910 issued to Azadet et al. on Dec. 8, 2015 taught a method for calculating a power function using look-up tables.
Realization of built-in functions is further illustrated in
The 2-D integration puts stringent requirements on the manufacturing process. As is well known in the art, the memory transistors in the LUT 200X are vastly different from the logic transistors in the ALC 100X. The memory transistors have stringent requirements on leakage current, while the logic transistors have stringent requirements on drive current. To form high-performance memory transistors and high-performance logic transistors on the same surface of the semiconductor substrate 00S at the same time is a challenge.
The 2-D integration also limits computational density and computational complexity. Computation has been developed towards higher computational density and greater computational complexity. The computational density, i.e. the computational power (e.g. the number of floating-point operations per second) per die area, is a figure of merit for parallel computation. The computational complexity, i.e. the total number of built-in functions supported by a processor, is a figure of merit for scientific computation. For the 2-D integration, inclusion of the LUT 200X increases the die size of the conventional processor 00X and lowers its computational density. This has an adverse effect on parallel computation. Moreover, because the ALU 100X, as the primary component of the conventional processor 00X, occupies a large die area, the LUT 200X, occupying only a small die area, supports few built-in functions.
The LBC-based processor 00X suffers one drawback. Because different logic circuits are used to realize different built-in functions, the processor 00X is fully customized. In other words, once its design is complete, the processor 00X can only realize a fixed set of pre-defined built-in functions. Apparently, configurable computation is more desirable, where a same hardware can realize different mathematical functions under the control of a set of configuration signals.
In the past, configurable logic, i.e. a same hardware realizes different logics under the control of a set of configuration signals, was realized by configurable gate array (e.g. field-programmable gate array). U.S. Pat. No. 4,870,302 issued to Freeman on Sep. 26, 1989 (hereinafter Freeman) discloses a configurable gate array. It comprises an array of configurable logic elements and a hierarchy of configurable interconnects that allow the configurable logic elements to be wired together. In the prior-art configurable gate arrays, mathematical functions are still realized in fixed computing elements, which are part of hard blocks and not configurable, i.e. the circuits realizing these mathematical functions are fixedly connected and are not subject to change by programming. Apparently, fixed computing elements would limit further applications of the configurable gate array. To overcome this difficulty, the present invention expands the original concept of the configurable gate array by making the fixed computing elements configurable.
It is a principle object of the present invention to realize configurable computation.
It is a further object of the present invention to realize field-configurable computation.
It is a further object of the present invention to realize reconfigurable computation.
It is a further object of the present invention to realize configurable computation for multi-variable functions.
It is a further object of the present invention to provide a configurable processor with a greater computational complexity.
It is a further object of the present invention to provide a configurable processor with a higher computational density.
It is a further object of the present invention to provide a field-programmable gate array (FPGA) with a greater computational flexibility.
In accordance with these and other objects of the present invention, the present invention discloses a configurable processor with an in-package look-up table.
The present invention discloses a configurable processor with an in-package look-up table (IP-LUT) (i.e. IP-LUT configurable processor). The IP-LUT configurable processor comprises a logic die and a programmable memory die. The logic die comprises at least an arithmetic logic circuit (ALC) and is referred to as an ALC die, whereas the programmable memory die comprises at least a look-up table circuit (LUT) and is referred to as an LUT die. The LUT stores data related to a function (e.g. the look-up table for this function), while the ALC performs arithmetic operations on the data read out from the LUT. The ALC die and LUT die are located in a same package and they are communicatively coupled by a plurality of inter-die connections. Located in the same package as the ALC, the LUT is referred to as in-package LUT (IP-LUT). Because it is programmable, the IP-LUT can realize a desired function by writing the data related to the desired function (e.g. the look-up table for the desired function) into the IP-LUT, thus realizing configurable computation.
The IP-LUT configurable processor uses memory-based computation (MBC), which realizes mathematical functions primarily with the LUT. Compared with the LUT used by the conventional processor, the IP-LUT used by the IP-LUT configurable processor has a much larger capacity. Although arithmetic operations are still performed, the MBC only needs to calculate a polynomial to a lower order because it uses a larger IP-LUT as a starting point for computation. For the MBC, the fraction of computation done by the IP-LUT could be more than the ALC.
Each usage cycle of the IP-LUT configurable processor comprises two stages: a configuration stage and a computation stage. In the configuration stage, the data related to a desired function is written into the IP-LUT. In the computation stage, the desired function is realized by reading the function-related data from the IP-LUT. The IP-LUT configurable processor can realize field-configurable computation and reconfigurable computation. For the field-configurable computation, the IP-LUT configurable processor can realize a desired function in the field of use by writing the data related to the desired function into the IP-LUT in the field of use. For reconfigurable computation, the IP-LUT comprises at least a reprogrammable memory array and the IP-LUT configurable processor can realize different functions by writing different data related to different functions (e.g. the look-up tables for different functions) into the IP-LUT during different usage cycles. For example, during a first usage cycle, the IP-LUT stores data related to a first function; during a second usage cycle, the IP-LUT stores data related to a second function.
Because the ALC die and the LUT die are located in a same package, this type of vertical integration is referred to as 2.5-D integration. The 2.5-D integration has a profound effect on the computational density and computational complexity. For the conventional 2-D integration, the footprint of a conventional processor 00X is roughly equal to the sum of those of the ALU 100X and the LUT 200X. On the other hand, because the 2.5-D integration moves the LUT from aside to above, the IP-LUT configurable processor becomes smaller and computationally more powerful. In addition, the total LUT capacity of the conventional processor 00X is less than 100 kb, whereas the total IP-LUT capacity for the IP-LUT configurable processor could reach 100 Gb. Consequently, a single IP-LUT configurable processor could support as many as 10,000 built-in functions (including various types of complex functions), far more than the conventional processor 00X. Furthermore, because the ALC die and the LUT die are separate dice, the logic transistors in the ALC die and the memory transistors in the LUT die are formed on separate semiconductor substrates. Consequently, their manufacturing processes can be individually optimized.
To further improve programmability, the present invention further discloses an IP-LUT configurable gate array. It comprises an array of configurable computing elements, an array of configurable logic elements and an array of configurable interconnects. The IP-LUT comprises at least a programmable memory array which stores data related to a function (e.g. the look-up table for the function). Because it is programmable, the IP-LUT can realize a desired function by writing the data related to the desired function into the IP-LUT, thus realizing configurable computation. The configurable logic elements and configurable interconnects in the IP-LUT configurable gate array are similar to those in the conventional configurable gate array. During computation, a complex function is first decomposed into a combination of basic functions. Each basic function is then realized by an associated configurable computing element. Finally, the complex function is realized by configuring the corresponding configurable logic elements and configurable interconnects.
Accordingly, the present invention discloses a configurable processor, comprising: a programmable memory die comprising a look-up table circuit (LUT) for storing data related to a desired function; a logic die comprising an arithmetic logic circuit (ALC) for performing arithmetic operations on said data; a plurality of inter-die connections for communicatively coupling said memory die and said logic die; wherein said memory die and said logic die are located in a same package.
It should be noted that all the drawings are schematic and not drawn to scale. Relative dimensions and proportions of parts of the device structures in the figures have been shown exaggerated or reduced in size for the sake of clarity and convenience in the drawings. The same reference symbols are generally used to refer to corresponding or similar features in the different embodiments. The symbol “/” means a relationship of “and” or “or”. Throughout the present invention, both “look-up table” and “look-up table circuit” are abbreviated to LUT. Based on context, the LUT may refer to a look-up table or a look-up table circuit.
Those of ordinary skills in the art will realize that the following description of the present invention is illustrative only and is not intended to be in any way limiting. Other embodiments of the invention will readily suggest themselves to such skilled persons from an examination of the within disclosure.
Referring now to
The IP-LUT configurable processor 300 uses memory-based computation (MBC), which realizes mathematical functions primarily with the IP-LUT 170. Compared with the LUT 200X used by the conventional processor 00X, the IP-LUT 170 used by the IP-LUT configurable processor 300 has a much larger capacity. Although arithmetic operations are still performed, the MBC only needs to calculate a polynomial to a lower order because it uses a larger IP-LUT 170 as a starting point for computation. For the MBC, the fraction of computation done by the IP-LUT 170 could be more than the ALC 180.
Each usage cycle of the IP-LUT configurable processor 300 comprises two stages: a configuration stage and a computation stage. In the configuration stage, the data related to a desired function is written into the IP-LUT 170. In the computation stage, the desired function is realized by reading the function-related data from the IP-LUT 170. The IP-LUT configurable processor 300 can realize field-configurable computation and reconfigurable computation. For the field-configurable computation, the IP-LUT configurable processor 300 can realize a desired function in the field of use by writing the data related to the desired function into the IP-LUT 170 in the field of use. For reconfigurable computation, the IP-LUT 170 comprises at least a reprogrammable memory array and the IP-LUT configurable processor 300 can realize different functions by writing different data related to different functions (e.g. the look-up tables for different functions) into the IP-LUT 170 during different usage cycles. For example, during a first usage cycle, the IP-LUT 170 stores data related to a first function; during a second usage cycle, the IP-LUT 170 stores data related to a second function.
The IP-LUT 170 may use a RAM or a ROM. The RAM includes SRAM and DRAM. The ROM includes OTP, EPROM, EEPROM and flash memory. The flash memory can be categorized into NOR and NAND, and the NAND can be further categorized into horizontal NAND and vertical NAND. For the reconfigurable computation, the IP-LUT 170 uses a reprogrammable memory. For the field-configurable computation, besides the reprogrammable memory, the IP-LUT 170 may also use an OTP. On the other hand, the ALC 180 may comprise an adder, a multiplier, and/or a multiply-accumulator (MAC). It may perform integer operation, fixed-point operation, or floating-point operation.
Referring now to
The IP-LUT configurable processor 300 in
The IP-LUT configurable processor 300 in
Because the ALC die 100 and the LUT die 200 are located in a same package, this type of vertical integration is referred to as 2.5-D integration. The 2.5-D integration has a profound effect on the computational density and computational complexity. For the conventional 2-D integration, the footprint of a conventional processor 00X is roughly equal to the sum of those of the ALU 100X and the LUT 200X. On the other hand, because the 2.5-D integration moves the LUT from aside to above, the IP-LUT configurable processor 300 becomes smaller and computationally more powerful. In addition, the total LUT capacity of the conventional processor 00X is less than 100 kb, whereas the total IP-LUT capacity for the IP-LUT configurable processor 300 could reach 100 Gb. Consequently, a single IP-LUT configurable processor 300 could support as many as 10,000 built-in functions (including various types of complex functions), far more than the conventional processor 00X. Moreover, the 2.5-D integration can improve the communication throughput between the IP-LUT 170 and the ALC 180. Because they are physically close and coupled by a large number of inter-die connections 160, the IP-LUT 170 and the ALC 180 have a larger communication throughput than the LUT 200X and the ALU 100X in the conventional processor 00X. Lastly, the 2.5-D integration benefits manufacturing process. Because the ALC die 100 and the LUT die 200 are separate dice, the logic transistors in the ALC die 100 and the memory transistors in the LUT die 200 are formed on separate semiconductor substrates. Consequently, their manufacturing processes can be individually optimized.
To further improve programmability, the present invention further discloses an IP-LUT configurable gate array 700 (
When realizing a built-in function, combining the LUT with polynomial interpolation can achieve a high precision without using an excessively large LUT. For example, if only LUT (without any polynomial interpolation) is used to realize a single-precision function (32-bit input and 32-bit output), it would have a capacity of 232*32=128 Gb. By including polynomial interpolation, significantly smaller LUTs can be used. In the above embodiment, a single-precision function can be realized using a total of 4 Mb LUT (2 Mb for the function values, and 2 Mb for the first-derivative values) in conjunction with a first-order Taylor series. This is significantly less than the LUT-only approach (4 Mb vs. 128 Gb).
Besides elementary functions, the preferred embodiment of
The BS-LUT configurable gate array 700 is particularly suitable for realizing multi-variable functions. If only LUT is used to realize the above 4-variable function, i.e. e=a·sin(b)+c·cos(d), an enormous LUT is needed: 216*216*216*216*16=256 Eb even for half precision, which is impractical. Using the BS-LUT configurable gate array 700, only 8 Mb LUT (including 8 configurable computing elements, each with 1 Mb capacity) is needed to realize a 4-variable function. To those skilled in the art, the BS-LUT configurable gate array 700 can be used to realize other multi-variable functions.
While illustrative embodiments have been shown and described, it would be apparent to those skilled in the art that many more modifications than that have been mentioned above are possible without departing from the inventive concepts set forth therein. For example, the processor could be a micro-controller, a central processing unit (CPU), a digital signal processor (DSP), a graphic processing unit (GPU), a network-security processor, an encryption/decryption processor, an encoding/decoding processor, a neural-network processor, or an artificial intelligence (AI) processor. These processors can be found in consumer electronic devices (e.g. personal computers, video game machines, smart phones) as well as engineering and scientific workstations and server machines. The invention, therefore, is not to be limited except in the spirit of the appended claims.
Number | Date | Country | Kind |
---|---|---|---|
201610301645.8 | May 2016 | CN | national |
201710310865.1 | May 2017 | CN | national |