Abstract:
Half-adder logic modules employing separate summing and carry circuitry are used in the construction of a modular binary half-adder. Carry bits of less significant digits are calculated independent of and prior to the calculation of corresponding sum bits, thus allowing rapid propagation of such carry bits to more significant digits and subsequent parallel summation of the sum bits using the carry bits previously calculated.

Description:
BACKGROUND AND SUMMARY 
     Many computers and calculators have requirements for registers wherein the binary contents can be incremented or decremented by 1. Such registers are known as half-adders. The speed of a binary half-adder is limited, in part, by the speed at which any carry bit resulting from the summation of the binary content of a logic cell and the carry bit input to such logic cell can be propagated to the sequent more significant bit logic cell. Prior art binary half-adders are disadvantageous in that the carry bit from a less significant bit within the half-adder cannot be propagated to the next more significant bit until summation calculations for the less significant digit have been completed. 
     A full-adder, i.e. a register whose binary contents can be summed with the contents of a second register, which employs separate summing and carry circuitry is disclosed in a co-pending Patent Application entitled BINARY ADDER, Ser. No. 650,211 filed Jan. 19, 1976 by David Steven Maitland and Billy E. Thayer. However, the use of a full-adder for a special half-adder application is wasteful of speed, power and space, and a specialized and simplified half-adder is desired. 
     Accordingly, it is the principal object of this invention to provide a modular binary half-adder having the capability of propagating carry bit signals prior to the modification of the register content. 
     It is a further object of this invention to provide a modular binary half-adder having the capability of updating all of the bits in a binary register in one parallel operation subsequent to the propagation of the carry bit signals. 
     This and other objects have been accomplished in accordance with the preferred embodiment of the invention by the use of a modular binary half-adder having separate summing and carry circuitry. The status of the output carry signal from any logic cell is precalculated as a function of an input carry signal and the contents of the associated storage element. Subsequently, the summation operations are carried out upon all the storage elements in one parallel operation in response to the preset carry signals and the contents of the associated storage elements. 
    
    
     DESCRIPTION OF THE DRAWINGS 
     FIG. 1 is a block diagram of a modular binary half-adder embodying the present invention. 
     FIG. 2 is a detailed schematic diagram of a logic cell illustrating the preferred embodiment of the present invention. 
     FIG. 3 is an illustration of the time relationship between alternately pulsed clock signals φ1 and φ2. 
    
    
     DESCRIPTION OF THE PREFERRED EMBODIMENT 
     Referring to FIG. 1, there is shown a block diagram of a modular binary half-adder embodying the present invention. The bits of a binary number A are stored individually in storage elements SE 1  through SE N . The least significant bits (LSB) is stored in storage element SE 1 . A carry signal is applied to the carry input line C 0  of the first logic cell 10 for the purpose of incrementing (or decrementing) the binary number A by 1. The carry logic 20 of the first logic cell determines the output carry signal, C 1 , from the input carry signal, C 0 , and the content of the storage element SE 1 . The carry logic 20 is responsive to the initial content of the storage element, SE 1 , prior to the modification of its content by subsequent summing operations. In this manner the carry signals can be stabilized a very short time after a change is made to the contents of the storage elements and, in fact, the carry signals are usually preset by the time an update request is made to increment the register content. When adequate time has been allowed from the last update request to assure stabilization of the carry signals, a new update request is made simultaneously to all of the logic cells. The summing logic blocks, including the first summing block 30, then update the content of each storage element in parallel in response to the signal on the associated storage element. The updated contents stored in the storage elements will be subsequently referred to as SE 1  &#39; through SE N  &#39;. 
     The sequence of operations therefore begins with an UPDATE request being applied to the summing logic blocks. The summing logic blocks, in parallel, alter the contents of the storage elements in response to the preset input carry signals and the associated `original` contents of the storage elements SE 1  through SE N . The carry logic blocks automatically update the input carry signals by means of a rapidly cascading logic flow working from C 0  to C N . The half-adder is then ready for another UPDATE request. 
     The alternative logic states of a particular logic cell operating as described above are given in Table 1, below: 
     
                       TABLE 1______________________________________Inputs: SE.sub.N 0        0      1      1   C.sub.N-1            0        1      0      1Outputs:   C.sub.N  0        0      0      1   SE.sub.N &#39;            0        1      1      0______________________________________ 
    
     Considering that the carry logic operates upon the initial content of a storage element and a preset input carry signal, the operation of the carry logic can be defined by the Boolean relationships: 
     
         IF C.sub.N-1 · SE.sub.N = 1, THEN C.sub.N = 1; and (1) 
    
     
         IF C.sub.N-1 · SE.sub.N = 0, THEN C.sub.N = 0.    (2) 
    
     the operation of the summing logic, which operates on the initial content of a storage element and an input carry signal upon an update request can be defined by the Boolean relationships: 
     
         IF C.sub.N-1 · UPDATE = 1, THEN SE.sub.N &#39; = SE.sub.N ; and (3) 
    
     
         IF C.sub.N-1 · UPDATE = 0, THEN SE.sub.N &#39; = SE.sub.N. (4) 
    
     a detailed schematic of a logic cell illustrating the preferred embodiment of the present invention is shown in FIG. 2. The capacitances illustrated are residual capacitances of related Field Effect Transistors (FETs), useful in understanding the circuit operation, but are not individual components. FETs T2, D1, T3, D 2 , L 1  and L 2  comprise the storage element SE N  of the illustrated logic cell. The signals φ1 and φ2 are alternately pulsed clock signals with the time relationship shown in FIG. 3. A φ1 pulse activates the transfer FET T2 and allows a signal to be stored upon the gate of FET D1. The signal upon the gate of FET D1 is inverted by FETs D1 and L1 and the complement of the signal placed upon the gate of FET D1 is designated as DATA 1. The sequent φ2 pulse activates transfer FET T3 and stores the signal DATA 1 upon the gate of FET D2. The signal DATA 1 is inverted by FETS D2 and L2 and is designated as signal DATA. By sequentially pulsing the clock signals φ1 and φ2 and applying the DATA line to the input of FET T2, as is normally done by the activation of FET T4 (the recirculation logic), the content of the storage element is periodically `refreshed` and the complement of the stored data is available as DATA at the output of FET D2. Note that the FETs prefixed by the letter &#34;T&#34; are used as transfer gates, the FETs prefixed by the letter &#34;D&#34; are used as drivers and often as storage elements, and FETs prefixed by the letter &#34;L&#34; are used as loads. Note also that in the subsequent discussion of the preferred embodiment a logical &#34;1&#34; indicates a charged logic state and a logical &#34;0&#34; will indicate a grounded, or low, logic state on a storage element or upon a data line, though a person skilled in the art will appreciate that the use of complementory logic, i.e. a logical &#34;1&#34; indicating an uncharged state, would be equivalent to the preferred embodiment of the present invention. 
     Data is loaded into the above described storage element by applying a logical &#34;1&#34; to the gate of FET T1 via the LOAD line. The data signal on the negative true data line 40 is then transferred through FETs T1 and T2 to the gate of FET D1 upon a φ1 pulse. The logical &#34;1&#34; applied to the gate of FET T1 via the LOAD line also activates FET D1 which deactivates FET T4, the recirculate logic, during the loading operation. 
     The carry logic determines the state of the output carry line C N . The output carry signal, C N , is a logical &#34;1&#34; when FETs D4 and D5 are off. If either FET D4 or D5, or if both FETs D4 and D5, are on, the output carry signal C N  is a logical &#34;0&#34;. If the input carry line C N-1  is a logical &#34;0&#34;, the C N-1  signal is inverted by FETs D7 and L7, and the complementary signal C N-1  turns FET D4 on. If the DATA line is a logical &#34;1&#34;, i.e. it shows that the storage element contains DATA 1 equal to a logical &#34;0&#34;, and an INC (increment) signal is applied to the gate of FET T8, FET D5 is turned on, bringing the C N  line to ground (a logical &#34;0&#34;). Therefore a carry out signal is applied to C N  only if the storage element SE N  contains a logical &#34;1&#34;  and a carry in signal C N-1  is a logical &#34;1&#34; in accordance with the truth table, TABLE 1. 
     The summing logic is also based upon the truth table given in TABLE 1, above. When no carry is applied to the logic cell (C N-1  is a logical &#34;0&#34;) there is no change in the content of the storage element SE N . The summing logic is activated by the application of a signal to the UPDATE line. When the input carry signal C N-1 , is a logical &#34;0&#34;, the gate of FET T7 is charged by the complementary C N-1  signal allowing the DATA signal to transfer through FETs T7 and T5 to the storage element SE N  when the update request is applied to UPDATE, the gate of FET T5. When a carry signal is applied to the logic cell via carry line C N-1 , as it always will be to the LSB logic cell, the content of the storage cell is complemented. The DATA signal is inverted by FETs D3 and L3 to form a DATA signal, the DATA signal is transferred through FET T6, which is on as a result of the carry signal applied to C N-1 , and the DATA signal is further transferred through FET T5 to the input of the storage element SE N  when the update request is applied to UPDATE. The UPDATE signal is therefore pulsed in phase with a φ1 pulse subsequent to the stabilization of the carry logic. The UPDATE signal also turns on FET D9 which disables FET T4, the recirculate path. 
     The recirculate logic is activated until the carry signals have propagated through the entire register. When enough cycles have occured to stabilize the carry signals and the associated logic cell logic paths, the UPDATE line is pulsed concurrently with a φ1 pulse and the storage element contents are modified according to the above described logic. 
     The preferred embodiment can operate as a decrementer, i.e. decrement the contents of the register by 1, upon an update request when reconfigured so as to implement the logic states illustrated by TABLE 2, below: 
     
                       TABLE 2______________________________________Inputs: SE.sub.N 0        0      1      1   C.sub.N-1            0        1      0      1Outputs:   C.sub.N  0        1      0      0   SE.sub.N &#39;            0        1      1      0______________________________________ 
    
     Comparing TABLES 1 and 2, the only change required in the logic is to alter the logic producing the carry out signal, C N . Equations (1) and (2) are to be replaced by equations (1)&#39; and (2)&#39; as follows: 
     
         IF C.sub.N-1 · SE.sub.N-  = 1, THEN C.sub.N = 1; and (1&#39;) 
    
     
         IF C.sub.N-1 · SE.sub.N = 0, THEN C.sub.N = 0.    (2&#39;) 
    
     this is accomplished in the preferred embodiment by the use of FET T9, which applies the DATA signal to the gate of FET D5 and removes the charge from the C N  line upon detection of an INC (decrement) signal and a DATA signal. 
     The data in the storage element SE N  is dumped to the negative true, two phase precharged data line 40 by applying a signal to the DMP line on a φ1 pulse. If DATA is a logical &#34;1&#34;, the signal applied to the DMP line will transfer through FET T 11  and discharge the precharged data line 40 through FET D 10 . The DMP signal is discharged, D 10  turned off, and the data line 40 precharged during the sequent φ2 pulse in preparation for the next cycle. It is important to the operation of the dump circuit 50 that the dump circuit 50 has no DC drivers, such as an inverter circuit. This minimizes power and size requirements, and is a further improvement over the known prior art.