This application claims priority from Chinese Patent Application 201610294287.2, filed on May 4, 2016; Chinese Patent Application 201710302436.X, filed on May 2, 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 carries out computation 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 (LUT). 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 LUTs; 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 LUTs.
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.
It is a principle object of the present invention to drive a paradigm shift for scientific computation.
It is a further object of the present invention to provide a processor with improved computational complexity.
It is a further object of the present invention to provide a processor with improved computational density.
It is a further object of the present invention to provide a processor with a large set of built-in functions.
It is a further object of the present invention to compute mathematical functions rapidly.
It is a further object of the present invention to compute mathematical functions efficiently.
It is a further object of the present invention to reconcile the manufacturing processes of the memory circuits and the logic circuits.
In accordance with these and other objects of the present invention, the present invention discloses a processor with an in-package look-up table (IP-LUT).
The present invention discloses a processor with an in-package look-up table (IP-LUT) (i.e. IP-LUT processor). The IP-LUT processor comprises a logic die and a memory die. The logic die comprises at least an arithmetic logic circuit (ALC) and is referred to as an ALC die, whereas the memory die comprises at least a look-up table circuit (LUT) and is referred to as an LUT die. 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). The IP-LUT stores data related to a mathematical function, while the ALC performs arithmetic operations on the function-related data.
The IP-LUT processor uses memory-based computation (MBC), which carries out computation primarily with the LUT. Compared with the LUT used by the conventional processor, the IP-LUT used by the IP-LUT 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.
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 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 processor could reach 100 Gb. Consequently, a single IP-LUT processor could support as many as 10,000 built-in functions (including various types of complex mathematical 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.
Accordingly, the present invention discloses a processor for computing a mathematical function, comprising: a memory die comprising a look-up table circuit (LUT) for storing data related to said mathematical 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 170 may use a RAM or a ROM. The RAM includes SRAM and DRAM. The ROM includes mask ROM, 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. 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.
The IP-LUT processor 300 uses memory-based computation (MBC), which carries out computation 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 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.
Referring now to
The IP-LUT processor 300 in
The IP-LUT 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 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 processor 300 could reach 100 Gb. Consequently, a single IP-LUT processor 300 could support as many as 10,000 built-in functions (including various types of complex mathematical 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.
Referring now to
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
Referring now to
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 |
---|---|---|---|
201610294287.2 | May 2016 | CN | national |
201710302436.X | May 2017 | CN | national |