The invention relates to a binary logic unit to apply any desired Boolean operation on two input signals plus a method to operate such a binary logic unit.
A binary logic unit used to apply logic Boolean operations on two input signals va, vb comprises a plurality of basic logic gates like AND, OR, XOR and XNOR gates, each one consisting of one or more transistors. Table 1, shown in
A binary logic unit 1 according to the state of the art is shown in
The principle of such a binary logic unit is shown in
Regarding
It can be seen that the implementation of a binary logic unit according to the state of the art requires many transistors and in consequence of this also a large silicon area. Thereby in modern microprocessors power consumption particularly due to leakage power is a huge problem and is to be reduced. According to a rule of thumb, leakage power is a function of silicon area. The larger the silicon area required, the higher the leakage power suffered.
As a binary logic unit performs on each input bit in any logic unit within a microprocessor, like e.g., a vector unit such as VMX used in IBM PowerPC and POWER processors, a realization for a single bit with reduced power consumption and with a reduced requirement of silicon area would have a noticeable impact on the total power consumption and size of any chip.
It is therefore an object, of at least one embodiment, of the invention to provide a binary logic unit with reduced silicon area requirement consequence of which is a reduced power consumption and leakage power. It is also an object of the invention to provide a method to operate such a binary logic unit.
In an embodiment of the invention, the invention comprises a binary logic unit to apply any desired Boolean operation on input signals wherein any desired Boolean operation to be applied on the input signals of the binary logic unit is defined by a particular combination of well defined control signals that are fed into the binary logic unit, wherein the input signals are used to select a control signal as an output signal of the binary logic unit representing the result of a particular Boolean operation applied on the input signals.
In general, the binary logic unit according to the invention works according to a multiplexer principle, wherein data and control inputs of the multiplexer are interchanged in a way that the input signals are applied on the control inputs of the multiplexer and the control signals are applied on the data inputs of the multiplexer, and wherein depending on a desired Boolean operation defined by a particular combination of the control signals, the input signals are used to select a control signal as an output signal of the multiplexer representing the result of the particular Boolean operation applied on the input signals.
Applying the multiplexer principle on a binary logic unit, in combination with interchanging control and data inputs, allows to significantly reduce the number of transistors required to implement a binary logic unit. Thereby silicon area requirement of a binary logic according to the invention and in consequence of that power consumption and leakage power are reduced.
In a preferred embodiment of the invention, the binary logic unit is implemented with one 4:1 multiplexer, wherein four well defined control signals are used to specify any Boolean operation to be applied on two input signals, wherein each one of the four control signals is applied on one of the four data inputs of the multiplexer respectively and each one of the two input signals is applied on one of the two control inputs of the multiplexer respectively and wherein the input signals select one of the control signals applied on the data inputs as an output signal representing the result of a particular Boolean operation specified by the control signals.
In another embodiment of the invention, the binary logic unit is implemented with three 2:1 multiplexers, a first and a second one arranged in parallel to each other and a third one arranged in series to the first and second ones, wherein a first input signal and its inverse are applied on the control inputs of the first and second multiplexer arranged in parallel to each other, a first pair of control signals is applied on the signal inputs of the first of the two parallel multiplexers and a second pair of control signals is applied on the signal inputs of the second of the two parallel multiplexers, wherein a second input signal and its inverse are applied on the control inputs of the third multiplexer arranged in series to the first and second multiplexer, wherein the output signal of the first multiplexer is applied on a first data input of the third multiplexer, wherein the output signal of the second multiplexer is applied on a second data input of the third multiplexer, and wherein the output of the third multiplexer represents the result of a Boolean operation specified by the four control signals that is applied on the two input signals. Using three 2:1 multiplexers represents an implementation of the binary logic according to the invention that requires a very small number of transistors. Using a suitable selection of control signals for implementing the binary logic with three 2:1 multiplexers requires eighteen transistors only in order to generate an output signal representing the result of any Boolean operation applied on the two input signals. This is equivalent to a saving of 53% of transistors, silicon area and leakage power compared with the state of the art. Thereby it is important that a 4:1 multiplexer can be implemented with three 2:1 multiplexers as described above.
In an additional embodiment of the invention, the binary logic unit is implemented with three AND/OR-gates each one consisting of two AND-gates arranged parallel to each other and one OR-gate arranged in series to the AND-gates. A first and a second AND/OR-gate of the binary logic unit are arranged parallel to each other and a third one is arranged in series to the first and second one. A first control signal and a first input signal are applied on the inputs of a first AND-gate of the first AND/OR-gate. A second control signal and the inverse of the first input signal are applied on the inputs of a second AND-gate of the first AND/OR-gate. A third control signal and the first input signal are applied on the inputs of a first AND-gate of the second AND/OR-gate. A fourth control signal and the inverse of the first input signal are applied on the inputs of a second AND-gate of the second AND/OR-gate. The output of the first AND/OR-gate and a second input signal are applied on a first AND-gate of the third AND/OR-gate and the output of the second AND/OR-gate and the inverse of the second input signal are applied on a second AND-gate of the third AND/OR-gate. An output signal of the third AND/OR-gate represents the result of a Boolean operation specified by the four control signals that is applied on the two input signals. Implementing the binary logic unit according to the invention with AND/OR-gates allows reducing the number of transistors required to twenty-eight. This is equivalent to a saving of 26% of transistors, silicon area and power leakage compared with the state of the art.
In yet another embodiment of the invention, the binary logic unit is implemented with an evaluation network of a dynamic gate. In the case of complex gates like a 4:1 multiplexer dynamic gates have comparable smaller footprint. Furthermore dynamic gates allow reducing the number of transistors required to nineteen. This is equivalent to a saving of 50% of transistors, silicon area and power leakage compared with the state of the art.
According to another embodiment of the invention, the evaluation network of a dynamic gate consists of four parallel rows of three serial transistors respectively, wherein in each row a first transistor is switched by one of the control signals respectively, a second one by a first input signal or its inverse and a third one by a second input signal or its inverse. Implementing the binary logic unit according to the invention with such an evaluation network of a dynamic gate allows to reduce the number of transistors required to twenty-one. This is equivalent to a saving of 45% of transistors, silicon area and power leakage compared with the state of the art.
According to another embodiment of the invention, the evaluation network of a dynamic gate consists of four parallel rows of two serial transistors respectively, wherein in each row a first transistor is switched by one of the control signals respectively and a second transistor is switched by a first input signal or its inverse, wherein the four parallel rows are grouped to a first and a second pair, each one comprising one row with a transistor switched by the first input signal and one row with a transistor switched by the inverse of the first input signal respectively, wherein each pair is arranged in series to a third transistor respectively, wherein the third transistor arranged in series to the first pair is switched by a second input signal and the third transistor arranged in series to the second pair is switched by the inverse of the second input signal. Implementing the binary logic unit according to the invention with such an evaluation network of a dynamic gate allows reducing the number of transistors required to nineteen. This is equivalent to a saving of 50% of transistors, silicon area and power leakage compared with the state of the art.
In a second aspect, the invention provides a method to operate a binary logic unit mentioned above to apply any Boolean operation on two input signals, said method comprises the steps of:
Thereby the control signals are well defined in a way, that a control signal selected as an output signal by any particular pair of input signals represents the result of a desired Boolean operation applied on the two input signals.
The method according to the invention allows a realization of a binary logic unit with less transistors, consequence of which the binary logic unit according to the invention has a reduced silicon area requirement, reduced cost and reduced power consumption.
According to a preferred embodiment of the method according to the invention, control and data inputs of a binary logic unit are interchanged in a way that the input signals are applied on the control inputs and control signals specifying a desired Boolean operation are applied on the data inputs, wherein the input signals select a particular control signal representing the result of the particular desired Boolean operation applied on the input signals.
According to another embodiment of the method according to the invention, the binary logic works according to a multiplexer principle, wherein four control signals of which particular combinations specify any Boolean operation to be applied on the input signals are applied on four data inputs of the multiplexer and the input signals are applied on two control inputs of the multiplexer in order to select a particular control signal representing the result of a particular desired Boolean operation applied on the input signals as an output signal of the multiplexer.
The foregoing, together with other objects, features, and advantages of this invention can be better appreciated with reference to the following specification, claims and drawings.
In a binary logic unit according to the invention, any desired Boolean operation to be applied on the input signals of the binary logic unit is defined by a particular combination of well defined control signals that are fed into the binary logic unit. The input signals are used to select one control signal of a particular combination of control signals that define a particular desired Boolean operation to be applied on the input signals as an output signal of the binary logic unit. The selected control signal that is the output signal represents the result of the particular Boolean operation applied on the two input signals. The binary logic unit according to the invention works according to a multiplexer principle. Thereby data and control inputs of the multiplexer are interchanged in a way that the input signals are applied on the control inputs of the multiplexer and the control signals are applied on the data inputs of the multiplexer. Depending on a desired Boolean operation defined by a particular combination of the control signals, the input signals are used to select a control signal as an output signal of the multiplexer representing the result of the particular Boolean operation applied on the two input signals.
A binary logic unit 100 shown in
Table 2, depicted on
Applying the multiplexer principle on a binary logic unit in combination with interchanging control and data inputs allows significantly reducing the number of transistors required to implement a binary logic unit. Due to this silicon area requirement of a binary logic according to the invention and in consequence of that power consumption and leakage power are reduced.
A binary logic unit 110 shown in
A binary logic unit 140 shown in
It is also thinkable to implement the binary logic unit according to the invention with an evaluation network 400, 500 of a dynamic gate as shown in
The binary logic unit 170 shown in
The evaluation network 500 of a dynamic gate of the binary logic unit 180 shown in
It is important to mention, that the invention allows realization of a binary logic unit with a very small number of transistors.
The implementations represent a new static CMOS realization of binary logic units. The implementations of the binary logic units according to the invention are based e.g. on AND-OR logic gates as opposed to XOR-gates in combination with multiplexers according to the state of the art.
When the circuit is mapped on a CMOS technology either an AOI-OAI logic gate will be most suited assuming a static circuit family. Compared to state of the art, using AOI-OAI (AND OR INVERT-OR AND INVERT) logic gates has the advantage of reducing the transistor count by 26% (
As additional advantage is the reduced delay of the input operand vb to the output as compared to the paths of va or vb within a binary logic unit according to the state of the art.
It is important to mention, that the foregoing described above remains the same when applying the invention on situations where a Boolean operation is applied on three or more input signals. Thereby it is also advantageous to use well defined combinations of well defined control signals to define a particular Boolean operation to be applied on the input signals and to select one of the control signals by the input signals as an output signal representing the result of the particular Boolean operation applied on the input signals. Doing so also reduces cost, power consumption and requirement of silicon area in cases where an implementation for applying a Boolean operation on three or more input signals is required.
While the present invention has been described in detail, in conjunction with specific preferred embodiments, it is evident that many alternatives, modifications and variations will be apparent to those skilled in the art in light of the foregoing description. It is therefore contemplated that the appended claims will embrace any such alternatives, modifications and variations as falling within the true scope and spirit of the present invention.
Number | Date | Country | Kind |
---|---|---|---|
06122406.9 | Oct 2006 | EP | regional |
This is a continuation of pending U.S. patent application Ser. No. 11/872,846, filed Oct. 16, 2007, entitled “Binary Logic Unit and Method to Operate a Binary Logic Unit”, which is herein incorporated by reference. This application claims priority under 35 U.S.C. §120 of U.S. patent application Ser. No. 11/872,846, filed Oct. 16, 2007.
Number | Date | Country | |
---|---|---|---|
Parent | 11872846 | Oct 2007 | US |
Child | 13732383 | US |