Logic circuit and method of operating same

Abstract: A method and apparatus is disclosed for reducing the propagation delay associated with the critical speed path of a binary logic circuit by using "multiplexing logic". More specifically, the inputs to the logic circuit are defined as either critical or non-critical inputs and the product terms are manipulated so that the non-critical inputs are mutually exclusive. The non-critical inputs are supplied to one or more first logic gate structures (CG1) wherein the ultimate outputs of the first logic gate structures (CG1) control multiplexer couplers (10). The critical speed inputs are supplied to one or more second logic gate structures (CG2) wherein the ultimate outputs of the second logic gate structures (CG2) are provided as the input to the multiplexer couplers (10).

Description: The present invention is related to a logic circuit and method of operating same. In a specific example, we will describe a method and apparatus for reducing critical speed path delays in binary logic circuits. The logic designer is commonly faced with the task of designing a complex logic circuit to generate a specific output signal in response to a plurality of input signals. Conventional practice of logic design includes the generation of a truth table for the desired inputs and outputs, the use of a Karnaugh map or a Boolean minimization to generate a set of product terms of inputs for each desired output, and the realization of the product terms in the form of physical logic gates in a combination logic circuit. The above-described approach to logic design is generally concerned with minimizing the number of logic gates required to realize a physical implementation of truth table. As the number of desired input signals increases, however, complex combinational logic solutions to the truth table generated by the above-described approach result in increased signal propagation times which cause unacceptable delays in the formation of an output signal. This is especially true when speed is a primary design consideration, as is the case in RISC processor technology. The inputs to the logic circuit can be characterised as either critical speed inputs or non-critical speed inputs. Critical speed inputs are usually those inputs which are valid at a later point in time than the non-critical inputs. Thus, the logic path requiring the critical speed inputs is the slowest logic path of the logic circuit and can be referred to as the critical speed path. A reduction in propagation delay associated with the critical speed would therefore result in an faster output response for the logic circuit, and the ability to operate the logic circuit at faster clocks rates. We will describe a method and apparatus for reducing the propagation delay associated with the critical speed path of a binary logic circuit by using "multiplexing logic", thereby increasing the operating speed of the logic circuit. Reference may be made to EP-A-0 314 034 (State of the art according to Art. 54(1)(3)EPC) which discloses a logic operation circuit including an instruction signal generating circuit for generating an instruction signal which designates a bit of a predetermined n-bit code signal in accordance with a combination of a first input logical numeral and a second input logic numeral. The logic operation circuit also includes a bit selecting circuit for selecting said bit designated by the instruction signal generated by the instruction signal generating circuit and for outputting the selected bit as an output logical numeral. Reference may also be made EP-A-0 176 938 which discloses a circuit for generating a combinatorial logical functions using multiplexers and inverters which has for each input state defined by a combination of input variables a unique output state defined by at least one output variable. The present invention provides a logic circuit comprising a plurality of mutually exclusive non-critical speed inputs coupled to at least on first logic gate structure having a first gate output, at least one critical speed input coupled to at least one second logic gate structure having a second gate output, at least one multiplexer coupler responsive to said first gate output to selectively couple said second gate output to an output interface of said logic circuit. In a specific example, the inputs to the logic circuit are defined as either critical or non-critical inputs and the product terms are manipulated so that the non-critical inputs are mutually exclusive. The non-critical inputs are supplied to one or more first logic gate structures wherein the ultimate outputs of the first logic gate structures control multiplexer couplers. The critical speed inputs are supplied to one or more second logic gate structures wherein the ultimate outputs of the second logic gate structures are provided as the input to the multiplexer couplers. As the operation of the multiplexer couplers are controlled the output from the first logic gate structures which receive the non-critical speed inputs, the couplers are at a stable state when the output of the second logic gate structures supplied with the critical speed inputs is valid. Thus, the total propagation delay associated with the critical speed path is limited to the delay attributable to the logic gate structures associated with the critical speed inputs logic gate and the multiplexer couplers. The invention also provides a method of operating a logic circuit comprising the steps of supplying a plurality of mutually exclusive non-critical speed input signals to at least one first logic gate structure and generating a first gate output signal in response thereto, supplying at least one critical speed input to at least one second logic gate structure and generating a second gate output signal in response thereto, controlling the operation of at least one multiplexer coupler in response to said fist gate output signal to selectively pass said second gate output signal to an output interface of said logic circuit. Brief Description of the Drawings With the above as background, reference should now be made to the following detailed description of the preferred embodiments of the invention and the figures in which: Fig. 1 is a block diagram of a logic circuit according to a first embodiment of the present invention; Fig. 2 is a block diagram of logic circuit according to a second embodiment of the present invention; Fig. 3 is a block diagram of a logic circuit according to a third embodiment of the present invention; Fig. 4 is a truth table generated from nine inputs and one output; Fig. 5 is a table illustrating the product terms generated from the truth table in Fig. 4; Fig. 6 is a table illustrating manipulation of the product terms in the table of Fig. 5 to generate mutually exclusive non-critical product terms; Figs. 7A and 7B respectively illustrate schematic diagrams of a conventional combinatorial logic circuit and an example of a logic circuit in accordance with a first embodiment of the invention as illustrated in block diagram form in Fig. 1; and Fig. 8 is a graph illustrating the output response of the logic circuits illustrated in Figs. 7A and 7B. Detailed Description of the Preferred Embodiments A block diagram of a logic circuit in accordance with a first embodiment of the present invention is illustrated in Fig. 1. Mutually exclusive non-critical speed inputs and critical speed inputs are separated so that the mutually exclusive non-critical speed inputs are supplied to one or more gate structures CG1 and the critical inputs are supplied to one or more gates structures CG2. The outputs of the gate structures CG1 are connected to the control gates of multiplexer couplers 10 whose inputs are connected to the outputs of the gate structures CG2. The gate structures CG1 and CG2 contain one or more logic gates or inverters combined to generate an output signal in response to one or more input signals. The outputs from the first logic gate structures CG1 activate the multiplexer couplers 10 permitting the output signal of the second logic gate structures CG2 to be passed to the output interface 9 of the logic circuit. As the multiplexer couplers 10 are controlled by the non-critical speed inputs, the couplers 10 are stable when the output of the second logic gate structures CG2 is valid. Thus, the total propagation delay associated with the critical speed path is limited to the delay associated with the second logic gate structures CG2 and the coupler 10. In the embodiment illustrated, the output interface 9 of the logic circuit includes an inverter 14 coupled to the multiplexer couplers 10. Pull up transistors 12 are provided to pull the input of an inverter 14 to a logic high level in order to drive the output of the logic circuit to a logic low level when the multiplexer couplers 10 are not activated. In some cases, the number of product terms may become excessive and the multiplexer couplers can be broken into two or more sets as illustrated in Fig. 2. The control signals of the two sets do not have to be mutually exclusive, and the outputs from the sets can then be supplied to an OR gate to generate the circuit output with approximately the same delay as the arrangement illustrated in Fig. 1. The requirement for a large number of pull up transistors can also be overcome by connecting the outputs of first logic gate structures CG1 that control the operation of the multiplexer couplers 10 to a NAND gate as illustrated in Fig. 3. A more detailed explanation of the present arrangement will be discussed with reference to Fig. 4, which illustrates a truth table for nine desired inputs (A-I) and one output (O). In the example illustrated, inputs A-F are non-critical speed inputs, inputs G-I are critical speed inputs, and it is assumed that E and C are mutually exclusive. As with the conventional method of logic design discussed above, Karnaugh mapping or a Boolean minimization computer program, such as EXPRESSO Version 2.2 released by the University of California Berkeley, is used to generate product terms for the inputs illustrated in the truth table of Fig. 4. For example, the EXPRESSO computer program mentioned above was used to generate the product terms illustrated in Fig. 5. Equation 3 in Fig. 5 represents the product terms separated into a set of non-critical speed inputs and a set of critical speed inputs. Fig. 7A illustrates a conventional combinational logic implementation of the product terms illustrated in Fig. 5. The set of non-critical speed inputs illustrated in Fig. 5 are not mutually exclusive. For example, the combination of inputs ABC and ABD can occur at the same time which would result in two multiplexer couplers being activated simultaneously. In accordance with the present invention, the product terms must therefore be manipulated to make the set of non-critical inputs mutually exclusive as shown in Fig. 6. The non-critical inputs must be mutually exclusive as they are used to generate the control signals for the multiplexer couplers, and only one multiplexer coupler can be selected at one time. The manipulation of the product terms to yield a mutually exclusive set of non-critical inputs would be readily apparent to one of ordinary skill in the art. A simple example is illustrated below using four inputs WXYZ. Example: Critical Speed Inputs WX; Non-Critical Speed Inputs YZ; Product Terms YW X +ZWX; Non-critical speed inputs (Y,Z) are not mutually exclusive. Product term YW X can be expanded toYZW X +Y Z W X ; Product term ZWX can be expanded to Y ZWX+YZWX; Reduce YZW X +Y Z W X + Y ZWX+YZWX toY Z W X + Y ZWX+YZW; Non-critical speed inputs (Y Z , Y Z,YZ) are mutually exclusive. Referring now to Fig. 7B, the product terms illustrated in Fig. 6 can now be physically implemented with logic gates. The non-critical speed inputs are supplied to a logic gate or a series of gates (CG1) having an output which ultimately controls one of the couplers 10. The critical speed inputs are supplied to logic gates or a series of gates (CG2) having an output which ultimately is controlled by one of the couplers 10. In comparing the logic circuits illustrated in Figs. 7A and 7B, it can be readily appreciated that the critical speed inputs are required to pass through a smaller number of gates in the logic circuit illustrated in Fig. 7B than the logic circuit illustrated in Fig. 7A. A comparison of the response of the logic circuits shown in Figs. 7A and 7B is provided in Fig. 8. The improvement in the output response of a logic circuit designed in accordance with the present invention actually increases with the complexity of the overall logic circuit. In effect, the use of the multiplexer couplers permits the creation of separate logic paths for both the critical and non-critical speed inputs. Thus, the critical speed path is optimized resulting in an increase in the operating speed of the logic circuit, even though the overall circuit design may require more gates than a conventional minimized combinational logic circuit. Another important advantage provided by the present arrangements is that simulation of the worst case output response of the logic circuit is also simplified. In the case of conventional logic circuits, separate simulations are required for each combination of input signals to determine the worst case response time of the logic circuit. In contrast, the present invention requires the critical speed inputs to be separated so that the critical speed path is readily defined, requiring that only a single simulation of the critical speed path be run to determine the worst case response time of the logic circuit. It will be understood that the above description is of preferred exemplary embodiments of the present invention, and the invention is not limited to the specific forms shown. For example, different gate configurations and output interfaces may be readily employed, and it may be desirable to have a logic circuit that generates a high logic level output when the couplers are turned off. Such modifications would be readily apparent to one of ordinary skill in the art.

Claims: A logic circuit comprising a plurality of mutually exclusive non-critical speed inputs coupled to at least one first logic gate structure (CG1) having a first gate output, at least one critical speed input coupled to at least one second logic gate structure (CG2) having a second gate output, at least one multiplexer coupler (10) responsive to said first gate output to selectively couple said second gate output to an output interface (9) of said logic circuit. A logic circuit as claimed in claim 1 comprising at least two groups of said mutually exclusive non-critical speed inputs, each group of mutually exclusive non-critical speed inputs being coupled to said at least one corresponding first logic gate structure having a first gate output, and at least one critical speed input corresponding to each of said groups of mutually exclusive non-critical speed inputs coupled to said at least one second logic gate structure having a second gate output. A logic circuit as claimed in claim 2, wherein said output interface of said logic circuit includes an inverter (14) coupled to said multiplexer coupler and further comprising at least one pull up transistor (12) coupled to said inverter that pulls the input of said inverter to a logic high level in order to drive the output of said inverter to a logic low level. A method of operating a logic circuit comprising the steps of supplying a plurality of mutually exclusive non-critical speed input signals to at least one first logic gate structure (CG1) and generating a first gate output signal in response thereto, supplying at least one critical speed input to at least one second logic gate structure (CG2) and generating a second gate output signal in response thereto, controlling the operation of at least one multiplexer coupler (10) in response to said fist gate output signal to selectively pass said second gate output signal to an output interface (9) of said logic circuit.

Inventors: TRAN THANG MINH, TRAN, THANG MINH
Applicants: ADVANCED MICRO DEVICES INC, ADVANCED MICRO DEVICES, INC.
Application year: 1990
Main classification: H03K19
IPC codes: H03K19, H03K17