A MULTI-FUNCTIONAL ARITHMETIC APPARATUS WITH MULTI-VALUE STATES

Abstract: A multi-functional arithmetic apparatus with multi value-states comprise a gating array, which is composed of gating elements arranged in n row by m column. Each gating element has at least two input terminals and one output terminal, and has input value-states and output value-states. There is operational relationship between the input value-state and the output value-state according to the model of self-organizing principle of integer cluster. The output value-states determine the output based on the gating of the gating element i.e. the mathematical manipulation is completed by the structure operation. The mathematical manipulation may be addition operation, subtract operation, mixed mode operation and bidirectional logic reversible operation implemented by one add operation and two subtract operations. Multi value-states ALU bit slice which can implement add operation, subtract operation and bidirectional logic reversible operation are provided by utilizing the gating array with carry circuit, borrow circuit and numeral system set peripheral circuit, whereby provides a new multi value-states and parallel process computer.

Description: Field of the Invention This invention belongs to the field of data-processing technology, specifically, it is a kind of multi-functional arithmetic apparatus with multi-value states, and is the core technology for high speed and high performance computers, computer networks, exchange and control systems. Background of the Invention The architecture of the Von Neumann machine has been used on computers that represent the advanced data processing technology until now since 1940s when they were invented. Such a computer is mainly characterized by: firstly, programs are stored in the internal memory and processing is in serial; secondly, the storage address and the storage contents are separated; thirdly, can only execute certain programs passively. Although computer technologies have experienced significant development during the last fifty years, limitations brought forth by the traditional computer architecture become more and more obvious. Since the functions of the hardware of such computers only essentially contains two manipulations, which are shifting and addition, software algorithms are relatively aligned with the hardware functions and structure when the hardware is used for numerical operations. But when it is used for non-numerical operations, the software and hardware are not as aligned, mainly due to the fact that data or knowledge are not related to each other when they are stored and can be related only when they are communicated through the address, whereby such communication can not exceed the limitation of linear two-value logic, and encounters relatively significant limitation during logical inference. Actually, intelligence is the macroscopic effect of the system, its multi-route input information sometimes needs to be interacted and in parallel at the same time, i.e. needs parallel conversion or operation of multiple values or multiple logical layers, and cannot be represented completely by two-value or binary trees in two-value logic. Therefore, it is impossible to construct the hardware logic system with the same architecture as that of human brain by using two-value logic. While increasingly growth of the IT industry as well as modern science and technology initiate more and higher demands for computers. In fact, there are unlimited intermediate states between good and bad or existence and non-existence. Therefore, as the information processing tool that mimics human brain, a computer must be able to adapt to the actual demands for information processing. It is hence imperative for the computer to breakthrough the current state of the two-value logic, i.e. there is either 0 or 1, either good or bad, either existence or non-existence, without any intermediate states. US Patent No. 3,587,052 discloses a transistor matrix in which a plurality of transistors are interconnected for performing addition operation. Summary of the Invention An object of this invention is to breakthrough the limitation of the existing neural network, and provide a general multi-value logic neural network aimed at resembling the mechanism of structure and function of the neural network of the human brain, based on which to design a kind of multi-value arithmetic apparatus. Another objective of the invention is to realize reciprocal logic using the operation relationship of addition and subtraction, based on which to design a kind of multi-purpose and multi-state logic reciprocal arithmetic apparatus which combines the functions of operation, exchange and control. A further objective of this invention is to design in combination of modern microelectronic technology a kind of multi-value arithmetic apparatus bit slice with selectable number systems in the form of bit slices. This invention is comprised of a gating array as per claim 1. The relationship between the output value state and input value state of the gating array is defined based on an operational relationship that is represented by the integar cluster model. A certain operational relationship thus exists between the two after definition. While, operation is realized only via the gating of the gating device, i.e. arithmetic operation is realized via the structural operation. Such a structural operation that is realized via the gating array with multi-value states is characterized by unification of data and address as well as storage and calculation, accommodation between the algorithm and structure, accommodation between the position of the input/output contact and the bit value, accommodation between the operational relationship and the bit value, and direct mapping of the algorithm to the parallel multiple dimension architecture of the information processing system. Such kind of multi-value and multiple dimension arithmetic array can be widely used in routing selection, exchange matrix, position control, point control, and digital control technologies. Such mathematics operation can be a dual direction input/output logical reversible operation that is realized by any of addition, subtraction, combination of addition and subtraction, and combination of one addition and two subtraction. On the basis of the above mentioned multi-value arithmetic apparatus, unification of data and address can be accomplished by using the modern microelectronic technology and adding external circuits that possess carry, borrow, number system determination, complementary conversion functions to construct a new arithmetic unit bit slice. Brief Description of the Drawings Figure 1 shows the integar cluster network model of this invention; Figure 2 shows the principal diagram of the addition operation unit designed for logical structure model based on Figure 1; Figure 3 shows the principle diagram of the subtraction operation unit designed for logical structure model based on Figure 1; Figure 4 shows the principle diagram of the addition/subtraction combination operation unit designed for logical structure model based on Figure 1; Figure 5 shows the principle diagram of the logical reversible operation unit based on combination of one addition and two subtraction operations; Figure 6 shows the principle diagram of the addition arithmetic unit bit slice constructed by adding carry and number system determination on the basis of Figure 2 as the core; and Figure 7 shows the principle diagram of the subtraction arithmetic unit bit slice constructed by adding borrow and number system determination on the basis of Figure 3 as the core. Detailed Description of the Invention A detailed description of this invention is given below in combination with attached diagrams. First of all, refer to Figure 1, this invention has been designed on the basis of integer cluster model (a part of the quasi holographic element mathematics model) as the logical structure model. The integer cluster model is self organized based on the addition/subtraction operation relationships, representing the self organization principle of the complex system structure. The quasi multi-value logical structure model that is abided by the model has the maximum isomorphic resemblance with the human brain, has the capability in composition and conversion of cause-result logical relationship that is similar to the human brain, can suffice to meet the requirements of the system to exchange and communicate information on a real time and two way basis, and is therefore the effective logic foundation on the artificial intelligence system. In this model, assuming that each parameter would represent a memory content and subsystem, then there should be an inherent logical relationship between contents or subsystem, i.e. the self organizational relationship among certain type of parameters. Therefore, this model is the self organizational principle model of the group of parameters. It is seen from Figure 1 that, if each parameter is seen as an input/output point or input/output pin, then each point of pin would have a different value state, i.e. the multi-value principle. Such multi-value state can be freely extended or expanded, i.e. intermediate state values can be inserted freely between the two values. The arithmetic unit based on this theory will be able to define any kind of number system without being limited by the binary code operation, and is able to perform operations on any kind of number systems. Figure 1 defines an operational relationship and principle, i.e. an operational or logical relationship exists among the parameters based on the input or output relationship. Specifically, such an operational relationship can realize its operational functions by using various circuit structures. Please refer to Figures 2, 3, 4, the multi-functional arithmetic unit with multi-value states of this invention is comprised of a gating array, which is made of gating devices (100) based on the structure of n rows x m columns, where the gating device (100) is a device that has the gating function, each gating device (100) must have at least two input pins and at least one output pin; one of the input pins of each of the gating devices (100) on the same row is connected together as a row input contact, the other input pin of each of the gating devices (100) on the same column is connected together as a column input contact, variable input value states (weight) exist between the row input contacts, similarly, variable input value states (weight) exist between the column input contacts. Also, there is a correspondence relationship between the input value state of each gating device (100) and its position in the array. The value of the input value state of the row input contact shall be in the range of 0 to (n-1), while the value of the input value state of the column input contact shall be in the range of 0 to (m-1); Each output pin of that gating device (100) also has an output value state. An arithmetic relationship exists between the output value state of each gating device (100) and its input value state based on the self organization principle model of the integer cluster. Output pins of those gating devices (100) with the same operational output value state are connected together via an isolating circuit as an output contact. The output value state of the output contact shall be within the range of 0 to (n+m-1); while the output of the output value state is determined via gating of the gating device. It is seen from the above statement that, the relationship between the output value state and input value state of the gating array can by defined based on the operational relationship represented by the above mentioned integer cluster model. Certain operational relationship exists between the two via such definition, while operation is realized via gating of the gating device, i.e. mathematics operation is accomplished via structural operation. Only such a structural operation that is realized via the gating array with multi-value states can ensure unification of data and address as well as storage and calculation, accommodation between the algorithm and structure, accommodation between the position of the input/output contact and the bit value, accommodation between the operational relationship and bit value, and direct mapping of the algorithm to the parallel multiple dimension architecture of the information processing system. Please refer to Figure 2, which shows a multi-value states and multi-functional arithmetic unit that uses a kind of addition operation relationship and can realize the addition operation function, which has two inputs a and b, and one output c, and which is defined by a + b = c, taking the column input contacts as a0 - a2 with a total of three value states, and taking the row input contacts as b0 - b2 with a total of three value states, whereby the output contacts are c0 - c4 with a total of five value states. The definition of input and output value states represents the addition operation relationship. Please refer to Figure 3, which shows the multi-value states and multi-functional arithmetic unit with subtraction operation relationship and subtraction operation function, which has two inputs a and b, two outputs h (plus) and e (minus), which is defined by a - b = h (plus) or e (minus), taking the column input contacts as a0 - a2 with a total of three values states, and taking the row input contacts as b0 - b2 with a total of three value states, whereby the output contacts (plus) are h0 - h2 with a total of three values states, and the output contacts (minus) are e1 - e2 with a total of two value states, the definition on input/output value states represents subtraction operation relationship. Please refer to Figure 4, which shows the multi-value states and multi-functional arithmetic unit which represents addition and subtraction operation relationship and can realize addition and subtraction operation functions, and which combines the addition operation relationship structure and subtraction operation relationship structure, with the definition on input/output value states presenting both addition and subtraction operation relationships. Please refer to Figure 5, which shows combination of one addition and two subtraction operation relationship structures, with six ports after consolidation, three inputs, and three outputs. Inputs A1 (A3) and output A2 are represented by port A consistently, inputs B1 (B2) and output B3 are represented by port B consistently, inputs C2 (C3) and output C1 are represented by port C consistently, since A1 + B1 = C1, C2 - B2 = A2, and C3 - A3 = B3, therefore the relationship of A + B = C, C - B = A, C - A = B is realized, which can realize logically reversibility and two way input/output operation, and can expand the input/output ports at the same time, and can more strongly centralize and consolidate exchange, operation and control functions. If signal is inputted via any two of the three ports A, B, and C simultaneously, then operation can be realized. If setting is made from one port, then the other two ports can realize two way mutually and synchronous exchange. Control is made possible by making use of the mutually complementary relationship of ports A and B with respect to port C as well as the logically reversible relationship and operational relationship among ports A, B and C. The above mentioned multi-values states and multiple dimension operational array can be widely used in routing selection, exchange matrix, position control, point control, and digital control technologies, where the gating device (100) can be either a digital gate, e.g. an AND gate, or an analogue transmission gate, the isolation circuit (101) can have either an OR gate, or an operational amplifier. The gating device (100) can have either two inputs and one output, or two inputs and two outputs, or multiple inputs and multiple outputs. On the basis of the above mentioned multi-value arithmetic unit, unification of analogue and digital operations as well as unification of data and address can be accomplished by using the modern microelectronic technology and adding external circuits that have carry, borrow, number system determination, complementary conversion functions, to construct a new arithmetic apparatus bit slice. Such unification can be deemed as the most basic feature of the new generation computer in resemblance with the human brain in terms of structure and functions. Please refer to Figures 6 and 7, which show the circuit principle diagram of the addition arithmetic unit bit slice and subtraction arithmetic unit bit slice with added design of carry, borrow, and number system determination functions based on the above mentioned gating array. Figure 6 shows the addition operation relationship and its gating array, accommodated with the shifter (with the function to accept input of carry from lower bits and then take output, the three-eight decoder) with the function to pre-select the number system or determine the input value range, and the number system setting circuit, thus forming the addition arithmetic unit bit slice, which has a total of two input ports, one output port (e.g. each is defined with 8 pins to adapt to the number system treatment below the octal system), one carry input pin and one carry output pin. Therefore, multiple bit addition arithmetic unit can be constructed using combination of multiple bit slices via carry circuits. Figure 7 shows the subtraction operation relationship and its gating array, accommodated with the shifter, the three-eight decoder, with the function to pre-select the number system or determine the input value range, complementary conversion circuit, and the number system setting circuit, all of which form the subtraction arithmetic unit bit slice, which has a total of two input ports, one output port (e.g. each is defined with 8 pins to adapt to the number system treatment within the octal system), one borrow input pin and one borrow output pin, as well as one input and one output for the complementary conversion. Therefore, multiple bit subtraction arithmetic unit can be constructed using combination of multiple bit slices via carry circuits. Setting of input value states and number system can be selected within the maximum range of design value states via the decoder, i.e. the upper limit and the number system are selected by the decoder within a specific range of value states. For instance, the setting of 8 value states can be selected within the binary-octal range (using the three-eight decoder, the setting of 16 value states can be selected within the binary-hexadecimal range) using the four-sixteen decoder, it is therefore suitable to operation, exchange, and control of codes of different number systems. An addition and subtraction arithmetic unit bit slice can not only form an addition subtraction arithmetic unit with the bit slice in the form of multiple bit cascade, but also expand the value range of a bit slice via splicing, e.g. an 8 value states bit slice can be converted into a 16 value states bit slice. When the operational relationship of the gating array of the above mentioned arithmetic unit bit slice is a combination of addition and subtraction operational relationship, it can form a multiple function arithmetic unit bit slice that can output both addition and difference simultaneously if equipped with external circuits. When the operational relationship of the gating array of the above mentioned arithmetic unit bit slice is the combination of one addition and two subtraction operation relationship, it can form the arithmetic unit bit slice that is featured by logical reversibility as well as two way input/output multiple purpose and multi-value states if equipped with external circuits. A new kind of multi-value states parallel processing computer can be made of this new multi-purpose multi-value states logical reversible arithmetic unit bit slice equipped with the command register parallel processing, the one-two distributor, the one of two circuit, and the dual port RAM. Such a computer is featured by breaking through the limitation of two value operation; having logical reversibility and two way input/output; unification of address and data; selection and setting of number systems; openness; eliminating additional operations. It can be widely used in the field such as control, data processing, communications exchange, and computer networks, and will be able to make the interface of new generation computers based on it more user friendly, man-machine interaction more vivid, and will be more resembling the functions of human brain with its parallel self organizational structure algorithm.

Claims: A multi-value states multi-functional digital arithmetic apparatus comprised of a gating array, which is made of a structure of n rows x m columns of gating devices (100), each gating device (100) having at least two input pins and at least one output pin; for each row, one of the input pins of each of the gating devices on that row being connected together as a row input contact (b0, b1, b2), for each column, the other input pin of each of the gating devices on that column being connected together as a column input contact (a0, al, a2), each of the row input contacts (b0, b1, b2) having a different value state; and each of the column input contacts (a0, a1, a2) having a different value state; the input value states of each gating device corresponding to its position in the array, the value of the input value state of the row input contact being in the range of 0 to (n-1); the value of the input value state of the column input contact being in the range of 0 to (m-1); each output pin of that gating device having an output value state; the apparatus being so arranged that an addition and/or subtraction relationship exists between the output value state of each gating device and its input value states, the output pins of those gating devices with the same output value state being connected together via an isolating circuit as an output contact (c0, c1, c2, c3, c4); the output value state of the output contact being within the range of 0 to (n+m-1); the apparatus being so arranged that the output of the output value state is determined via gating of the gating device, characterised in that the addition and/or subtraction relationship of said n row x m column gating array is addition, the row input contacts are connected to a first input port (A1), said column input contacts are connected to a second input port (B1), the output contacts are connected to first output port (C1); the apparatus including two further n row x m column gating arrays with the addition and/or subtraction relationship being subtraction, for one of the two arrays, the row input contacts being connected to a third input port (C2), the column input contacts being connected to a fourth input port (B2), the output contacts being connected to a second output port (A2), for another of the two arrays, the row input contacts being connected to a fifth input port (C3), the column output contacts being connected to a sixth input port (A3), the output contacts being connected to a third output port (B3); and wherein the first input port (A1) is connected to the sixth input port (A3), the second input port (B1) is connected to the fourth input port (B2), and the third input port (C2) is connected to the fifth input port (C3). The multi-value states multi-functional digital arithmetic apparatus according to claim 1 characterized by : said gating device (100) being a digital gate, the isolation circuit being digital OR gate. The multi-value states multi-functional digital arithmetic apparatus according to claim 1, characterized by : said gating device (100) being an analog transmission gate, said isolation circuit being an operational amplifier. The multi-value states multi-functional digital arithmetic apparatus according to any of claims 1to 3, characterized by : said gating array arranged to be able to form a multi-value states multi-functional arithmetic unit bit slice by cooperating with additional external circuits. The multi-value states multi- functional digital arithmetic apparatus according to claim 4, characterized by : n = 8, m = 8, and, for said gating array of which the operational relationship is addition operation, said external circuits including a shifter arranged to accept lower bit inputs and then to take outputs, a decoder arranged to pre-select the number system or to define the value states, a number system setting circuit, said bit slice having two input ports, one output port, one pin for carry input, and one pin for carry output. The multi-value states multi-functional digital arithmetic apparatus according to claim 4, characterized by n = 8, m = 8, and, for said gating array of which the operational relationship is subtraction operation, said external circuits including: a shifter arranged to accept lower bit borrow inputs and then to take outputs, a decoder arranged to pre-select the number system or to define the value states, a complementary conversion circuit, and a number system setting circuit, said bit slice having two input ports, one output port, one pin for input of the complementary conversion circuit, one pin for output of the complementary conversion circuit, one pin for borrow input, and one pin for borrow output. The multi-value states multi-functional digital arithmetic apparatus according to claims 5 or 6, characterized by being arranged to selecting and setting the value state and number system via said decoder, by selecting and setting, the upper limit and number system of the input value states within a specific value states range using the decoder. The multi-value states and multi-functional digital arithmetic apparatus according to claim 5 or 6, characterized by : said bit slice being arranged to be able to construct the addition and subtraction arithmetic unit by the form of multiple bit cascade, and to expand the value range of a bit slice via splicing.

Inventors: WANG DIXING, WANG, DIXING
Applicants: WANG DIXING, WANG, DIXING
Application year: 1998
Main classification: G06F7
IPC codes: H03K19, G06F7