=Paper=
{{Paper
|id=Vol-3398/p12
|storemode=property
|title=Multi-Valued Logic Digital Circuits for Realizing a
Complete Computer Architecture
|pdfUrl=https://ceur-ws.org/Vol-3398/p12.pdf
|volume=Vol-3398
|authors=Alessandro Simonetta,Maria Cristina Paoletti,Alessio Venticinque
|dblpUrl=https://dblp.org/rec/conf/icyrime/SimonettaPV22
}}
==Multi-Valued Logic Digital Circuits for Realizing a
Complete Computer Architecture==
Multi-Valued Logic Digital Circuits for Realizing a Complete Computer Architecture Alessandro Simonetta1 , Maria Cristina Paoletti1 and Alessio Venticinque2 1 Department of Enterprise Engineering, University of Rome Tor Vergata, Rome, Italy 2 Department of Electrical and Information Engineering, University of Naples Federico II, Napoli, Italy Abstract The objective of this paper is to lay the foundation for the construction of a computer architecture using entirely multivalue logic (MVL). To achieve this ambitious result, it is necessary to know how to design all the digital components that normally form the basis of a computerโs operation. These are combinational circuits dedicated to mathematical computation and sequential circuits in charge of storing information. In the paper, a general methodology is proposed that can be used for the construction of digital circuits capable of working independently of the basis of representation of multivalue logic and the physical quantity used for encoding logical states. Keywords MVL, Multi-valued logic, CPU, Computer architecture, digital circuit, adder look ahead 1. Introduction ๐ The subject of multivalue logic as a natural evolution of ๐โ๏ธโ1 ๐โ1 โ๏ธ representation in the binary system is a much debated ๐ (๐ฅ ๐ , ๐ฅ 1 , ..., ๐ฅ๐โ1 ) = ๐ ๐ ยท ๐๐๐ (๐)(๐ฅ๐ ) (2) issue [1], [2]. Although various solutions, including tech- ๐=0 ๐=0 nological ones, have been proposed, but at present there where: is no calculator capable of operating in multivalued logic [3], [4], [5]. However, with the arrival of memresistors [6] โข ๐๐ is the value taken at the i-th position in the and a multiplicity of multi-state semiconductor compo- combination, with ๐๐ โ T; nents, the scenario is evolving and the theory developed โข ๐๐(๐) is the j-th digit of the number ๐, represented in [7] could find easy application. The theory we are in base ๐ with ๐ โ {0, ..., ๐ โ 1}; going to describe is based on the extension of Boolean โข ๐๐๐ (๐) is the value selector ๐๐ (๐) applied to algebra and the binary numbering system toward an operand ๐ฅ๐ with ๐ โ {0, ..., ๐ โ 1} e ๐ โ ๐-valued (discrete) numbering system [8], [9]. In this {0, ..., ๐๐ โ 1}; paper we will start from the theoretical definition and gradually go on to realize all the digital components that Thus, to express any MVL function ๐ , p+2 basis function characterize a traditional computer architecture. are sufficient: ๐ selection, addition and multiplication functions. 2. Method 2.1. The selection functions The proposed method use the teory in [10]. Assum- The selection functions ๐๐ with ๐ โ {0, ..., ๐โ1}, that we ing that we have a domain of discrete values T = can call Selectors too, are unary functions. We can define {0, 1, .., ๐ โ 1}, we can easily show that any function ๐ : as many selectors as there are symbols in the domain T. ๐ : T ร ... ร T โ T (1) ๐๐ : T โ B (3) can be expressed as a linear combination of the input A selector is able to check whether the value of the variables: operand matches a value in the set T: {๏ธ ICYRIME 2022: International Conference of Yearly Reports on Infor- 1 ๐ ๐ ๐ก = ๐ matics, Mathematics, and Engineering. Catania, August 26-29, 2022 ๐๐ (๐ก) = (4) " alessandro.simonetta@gmail.com (A. Simonetta); 0 ๐ ๐ ๐ก ฬธ= ๐ mariacristina.paoletti@gmail.com (M. C. Paoletti) 0000-0003-2002-9815 (A. Simonetta); 0000-0001-6850-1184 with ๐, ๐ก โ {0, ..., ๐ โ 1}. Using the selection functions, (M. C. Paoletti); 0000-0003-3286-3137 (A. Venticinque) any combination of the input variables can be identified. ยฉ 2022 Copyright for this paper by its authors. Use permitted under Creative Commons License Attribution 4.0 International (CC BY 4.0). For example, to check if all variables ๐ฅ0 , ..., ๐ฅ๐โ1 have CEUR Workshop Proceedings http://ceur-ws.org ISSN 1613-0073 CEUR Workshop Proceedings (CEUR-WS.org) 78 Alessandro Simonetta et al. CEUR Workshop Proceedings 78โ89 the value ๐ โ 1 except ๐ฅ0 which must be equal to 1, we 3. MVL digital circuits can use the following function: In this section, we will see how it is possible to construct all the circuits that form the basis of a traditional com- ๐ = ๐1 (๐ฅ0 ) ยท ๐๐โ1 (๐ฅ1 ) ยท ... ยท ๐๐โ1 (๐ฅ๐โ1 ) (5) puter architecture [11], [12]. Thus, we will start with combinational circuits, those in which the output is a which returns the value 1 exclusively in the case where function of the inputs, and then we will consider the the input variables meet the requirement: smallest memory element, the D Latch. To accomplish this task we will use the same architectural choice made (๐ฅ0 , ..., ๐ฅ๐โ1 ) = (1, ๐ โ 1, ..., ๐ โ 1) (6) in [10], and supported by studies in [13], thus a logic based on 4 values that coincides with the base-4 num- 2.2. Sum bering system. The four logic values will be represented through the voltage levels as reported in table 1. Let us consider the summation of equation 2, we observe that only one term in the summation will be valued at ๐๐ค corresponding to the coding in base ๐ of ๐ค. Indeed, all Table 1 the terms of the summation are null except the one corre- MVL levels sponding to the combination identified by the selection Interval Logic level ๐๐๐๐๐๐ functions: ๐๐๐๐ โฅ ๐๐๐๐ฅ < ๐ (๐ฅ๐ , ๐ฅ1 , ..., ๐ฅ๐โ1 ) = ๐๐ค (7) ๐ฟ0 0 1.25 0.625 ๐ฟ1 1.25 2.50 1.875 2.3. Multiplication ๐ฟ2 2.50 3.75 3.125 ๐ฟ3 2.50 5.00 4.375 With reference to the generic term of the summation of the equation 2, it can be expressed by a function ๐: We also studied the behavior of the proposed circuits by verifying the limits of the adopted components [14], ๐ : T ร B ร ... ร B โ T (8) [15], [16]. In particular, the details for the configuration that is equivalent to ๐: of the components are the following: ๐ :TรBโB (9) โข AND and OR logic gates: โ Td = 10n thus: โ Ref = 0.5 โ Trise = 5n ๐ก ยท ๐0 ยท ๐1 ยท ... ยท ๐๐โ1 = ๐ก ยท (๐0 ยท ๐1 ยท ... ยท ๐๐โ1 ) = ๐ก ยท ๐ (10) โ Tfall = 5n Indeed, it is sufficient to make a function with two โ Vhigh = 5 operands: one MVL and the other binary. This function โข inverted gates: returns as output the value of the multivalue input (if โ Td = 5n the binary value is unity) or zero in the other case: โ Ref = 0.5 โ Trise = 5n {๏ธ 0 ๐ ๐ ๐ = 0 ๐(๐, ๐ก) = (11) โ Tfall = 5n ๐ก ๐ ๐ ๐ = 1 โ Vhigh = 5 with ๐ก โ T and ๐ โ B. Recalling that the logical conjunction operation returns a result that is equivalent to multiplication between bits 3.1. LTSpice (the result is one if and only if all the operands are 1), we The electronic circuits that we will describe, were de- can conclude that it is possible to use the AND operator signed and validated using the product LTspiceยฎ XVII by to compute the value ๐ in the binary domain. At this Analog Device Corporation [17], distributed on the devel- point it is possible to use that bit to calculate the MVL operโs website. This simulator has a graphical interface function ๐(๐, ๐ก). Without loss of generality and with the to build the schematics and allows the user to test the purpose of making the paper easier to read, we will use circuits. The tool also allows new features to be defined the symbol normally used for multiplication to denote the and imported as elements in the various schemes. There- function ๐ conscious of the fact that it is multiplication fore, we chose to reuse the circuit diagrams proposed in between values pertaining to different domains (B โ T). [10] regarding the selectors, multiplexer and half-adder to design new ones. 79 Alessandro Simonetta et al. CEUR Workshop Proceedings 78โ89 3.2. Combinational Circuits Table 2 MVL true table: adding single MVL digits ๐ด๐ ๐ต๐ ๐ถ๐ ๐๐ ๐ถ๐+1 ๐๐ ๐๐ 0 0 0 0 0 0 0 0 0 1 1 0 0 0 0 1 0 1 0 0 0 0 1 1 2 0 0 0 0 2 0 2 0 0 0 0 2 1 3 0 0 0 0 3 0 3 0 0 0 0 3 1 0 1 0 1 1 0 0 1 0 0 0 Figure 1: Look-ahead full adder single digit detail 1 0 1 2 0 0 0 1 1 0 2 0 0 0 1 1 1 3 0 0 0 1 2 0 3 0 0 0 1 2 1 0 1 0 1 1 3 0 0 1 1 0 1 3 1 1 1 1 0 2 0 0 2 0 0 0 2 0 1 3 0 0 0 2 1 0 3 0 0 0 2 1 1 0 1 0 1 2 2 0 0 1 1 0 2 2 1 1 1 1 0 2 3 0 1 1 1 0 2 3 1 2 1 1 0 3 0 0 3 0 0 0 3 0 1 0 1 0 1 3 1 0 0 1 1 0 3 1 1 1 1 1 0 3 2 0 1 1 1 0 3 2 1 2 1 1 0 3 3 0 2 1 1 0 3 3 1 3 1 1 0 with ๐ด๐ , ๐ต๐ , ๐๐ โ T and ๐ถ๐ , ๐ถ๐+1 , ๐๐ , ๐๐ โ B MVL look-ahead adder In this section we will study the behavior of the circuit MVL look-ahead adder of 4- Figure 2: Look-ahead full adder blocks scheme digit base-4 words. In [7] a half-adder consisting of two inputs and two outputs in base 4 has already been pre- sented, and starting from this circuit the authors design as indicated in table 3. a full-adder in [10]. The most obvious problem with this circuit is the response time, which depends on the prop- Table 3 agation delay of the carryover in the various half-adders. Adding two MVL words of ๐ length The time grows as the number of digits of operands and thus half-adders used to construct the adder increases ๐ถ๐ ๐ถ๐โ1 ... ๐ถ0 ๐ด๐โ1 ... ๐ด0 + [18], [19]. Indeed, in a look-ahead adder the carryover ๐ต๐โ1 ... ๐ต0 = is not affected by the delay of circuit elements placed in cascade. Consider two MVL words of length ๐: ๐๐ ๐๐โ1 ... ๐0 ๐ด = {๐ด๐โ1 , ..., ๐ด0 } and ๐ต = {๐ต๐โ1 , ..., ๐ต0 }, if the calculated carryovers are ๐ถ = {๐ถ๐ , ..., ๐ถ1 } and ๐ถ0 is If by the variables ๐๐ and ๐๐ we denote the generated the potential carryover of a previous least significant and propagated carryover, respectively, we can build the word, we can calculate the sum word ๐ = {๐๐ , ..., ๐0 } truth table (table 2) related to the sum of two generic 80 Alessandro Simonetta et al. CEUR Workshop Proceedings 78โ89 Figure 3: Look-ahead adder with 4 MVL digits MVL digits. The values of ๐๐ and ๐๐ are given by the a switch driven by a binary signal, can send the value relation 12 for a cirucite in which the signals are in basecorresponding to ๐ฟ1 to the second half-adder. The adder n. circuit will use two half-adders to calculate ๐๐ = ๐ถ๐ + {๏ธ ๐ด๐ + ๐ต๐ ; the variable ๐๐ will be calculated from the first 0 ๐๐ ๐ด๐ + ๐ต๐ โค ๐ โ 1 half-adder while ๐๐ will be calculated using the selection ๐๐ = (12) 1 ๐๐ ๐ด๐ + ๐ต๐ > ๐ โ 1 function to understand whether ๐ด๐ + ๐ต๐ = ๐ โ 1 (figure {๏ธ 1). This component will be replicated for each couple of 0 ๐๐ ๐ด๐ + ๐ต๐ = ๐ โ 1 input in order to build a look-ahead adder as in figure ๐๐ = (13) 2. In figure 3 a look-ahead adder circuit with 4 MVL 1 ๐๐ ๐ด๐ + ๐ต๐ ฬธ= ๐ โ 1 digits is made. This circuit can be used to perform MLV In the same way, in the case of the MVL, we can determine word sum with lengths multiple of 4: for example, we can in advance the values of the carryovers ๐ถ โ๏ธ๐+1 from โ๏ธ the add up 8 MVL digits by cascading two circuits (figure 4). variables ๐๐ and ๐๐ . Using the symbols and , for The behavior of the circuit is verified through a concrete logical disjunction (OR) and logical conjunction (AND), example: suppose we add the value ๐ด = 310200023 respectively, we can write the equation 14. with ๐ต = 33212131 and that the carryover ๐ถ0 will be 0. The expected result is the number S=130232220 as can ๐ ๐โ1 ๐ โ๏ธ โ๏ธ โ๏ธ be easily seen from the calculation shown in the table 4. ๐ถ๐+1 = ๐๐ + ๐ถ0 ๐๐ + ๐๐ ๐๐ (14) ๐=0 ๐=0 ๐=๐+1 Decoder A decoder is a combinational circuit with ๐ However, the values of the carryovers (๐ถ๐+1 ), determined inputs and ๐๐ outputs. It returns as output the decoded in such a way, are in the binary domain, instead we need form of a coded word given as input. the value corresponding to the logical level ๐ฟ1 of the table Starting with the most basic decoder, which decodes a 1. Then a transduction element is needed that, through single digit in the four possible values, we will construct 81 Alessandro Simonetta et al. CEUR Workshop Proceedings 78โ89 Figure 4: Look-ahead adder with 8 MVL digits Table 4 Table 5 An example of two words sum of 8 MVL digits MVL True Table 1 1 1 1 ๐ผ๐ ๐0 ๐1 ๐2 ๐3 3 1 0 2 0 0 2 3 + 3 3 2 1 2 1 3 1 = ๐ฟ0 ๐ฟ1 ๐ฟ0 ๐ฟ0 ๐ฟ0 ๐ฟ1 ๐ฟ0 ๐ฟ1 ๐ฟ0 ๐ฟ0 1 3 0 2 3 2 2 2 0 ๐ฟ2 ๐ฟ0 ๐ฟ0 ๐ฟ1 ๐ฟ0 ๐ฟ3 ๐ฟ0 ๐ฟ0 ๐ฟ0 ๐ฟ1 the decoder that decodes two-digit words. Making a single-digit decoder is a simple task because it is sufficient Since we have two one-value decoders, it is possible to to use the selection functions by applying them to the construct a decoder with ๐ = 2 and 42 = 16 outputs (fig- same input (figure 5). ure 6) using an AND gates array that realizes all possible combinations of pairs relative to the outputs of the two decoders. The figure 6 shows the circuit with the compo- nents X2 and X3 representing single-digit decoders. In this case, if the input is the number 134 (๐ผ๐1 = ๐ฟ1 and ๐ผ๐0 = ๐ฟ3 ) the only enabled digit in output would be ๐7 (logic level ๐ฟ1 ) . Figure 5: MVL Decoder 1x4 Encoder The encoder is a combinational circuit too, {๏ธ that receives as input ๐๐ MVL digits and returns as output ๐ฟ1 ๐๐ ๐ผ๐ = ๐ ๐ MVL digits. It performs the opposite function to the ๐๐ (๐ผ๐ ) = (15) ๐ฟ0 ๐๐ ๐ผ๐ ฬธ= ๐ decoder: it receives a decoded representation as input and provides the corresponding encoding as output. The Based on the value of the input IN, it will select the cor- figure 14 shows an encoder with 16 inputs and 2 outputs. responding output (level ๐ฟ1 ), while all other outputs will Each ๐ผ๐๐ input passes through a ๐๐ switch that detects be zero (level ๐ฟ0 ), according to what reported in table 5. the ๐ฟ1 level at the input (equation 16). 82 Alessandro Simonetta et al. CEUR Workshop Proceedings 78โ89 Figure 6: MVL Decoder 2x16 {๏ธ the corresponding switch by propagating the IN signal ๐ฟ1 ๐๐ ๐ผ๐๐ = ๐ฟ1 to the output ๐๐ ๐3 . ๐1 (๐ผ๐๐ ) = (16) ๐ฟ0 ๐๐กโ๐๐๐ค๐๐ ๐ Shifter In this section we will look exclusively at To make the circuit simpler, we grouped the selector parallel-type shifters, which are normally used to per- switch outputs that would determine the same value on form mathematical operations (e.g. multiplication and the output signals ๐๐ ๐ 1 and ๐๐ ๐ 2. Note that the division by base). In general, having a summation and a output of each enabled switch causes its closure, which shifter makes it possible to perform multiplication and brings the output level value. For example, if ๐ผ๐ 7 = ๐ฟ1 division operations for general numbers as long as they the output of selector ๐๐ธ๐ฟ8 enables the OR gates that are expressed in terms of the base [20]. An example determine ๐๐ ๐ 1 = ๐ฟ1 and ๐๐ ๐ 0 = ๐ฟ3 . of multiplication between 17 and a generic number ๐ฅ, with ๐ฅ โ N, performed through the use of shifting and Demultiplexer The demultiplexer (or simply demux) addition, is given in the equation 18. is a circuit typically used to restore multiplexing pro- duced by a multiplexer in communications. Its treatment 17 ยท ๐ฅ = (41 + 40 ) ยท ๐ฅ = 41 ยท ๐ฅ + 40 ยท ๐ฅ (18) in MVL can be found in [10]. It consists of ๐๐ data inputs, ๐ selection signals and an output. It takes a value equal Right Shifter The shifter right moves the digits to to the input line corresponding to the decoding of the the right by as many positions as specified in a dedicated data word. The figure 8 shows the simplest MVL demux line. For integers this corresponds to performing a divi- with 4 data lines and selection input SEL of data lines. sion of the number with respect to the base. Since these To make the circuit, we used a selector block (module are components that can be used in series to perform op- X2) that contains the 4 basic selectors. The output of the erations on multiple digits, we must provide for receiving block determines which signal ๐๐ ๐๐ of the circuit will and sending these digits to adjacent modules (figure 9). end up in the ๐ผ๐ input. The equation 17 describe the In the following examples, we will use 4-digit words, and behavior of the output. the lines of communication with adjacent modules will {๏ธ be 3. Indeed, the variable ๐๐ธ๐ฟ indicating the number of ๐ผ๐ ๐๐ ๐๐ = ๐ฟ1 digits to be moved can take 4 values (including zero). ๐๐ ๐๐ = (17) ๐ฟ0 ๐๐กโ๐๐๐ค๐๐ ๐ Right Rotate Shifter In this section we wanted to For example, if ๐๐ธ๐ฟ = ๐ฟ3 there will be ๐3 = ๐ฟ1 . show the simplicity of implementation of a 4-digit word The output signal from the selectors block ๐2 enables rotation shifter. A selection input ๐๐ธ๐ฟ determines the number of shifts in the word (figure 11). 83 Alessandro Simonetta et al. CEUR Workshop Proceedings 78โ89 Figure 7: Encoder 16x2 Figure 8: MVL Demux 4x1 Figure 9: Collegamento in cascata di piรน shifter right 84 Alessandro Simonetta et al. CEUR Workshop Proceedings 78โ89 Figure 10: Right Shifter 3.3. Sequential Circuits A digital circuit is said to be sequential if the output de- pends on the inputs applied and the state of the circuit. In contrast, in combinational circuits the output is uniquely determined by the values of the inputs. Thus, a sequen- tial circuit has the ability to store information through feedback in the circuits that allows the informative con- tent calculated in the past to be brought back into the input due to the non-instantaneous propagation times in the semiconductors. We will then realize the D latch circuit in MVL logic. Figure 11: Right Rotate Shifter D Latch The schema of the D latch is shown in figure 13, and it consists of two cascaded multiplexers in which Left Shifter Similar to what we described for the the output of the first one determines the selection of the right shifter, the left shifter moves the input signals to input of the second one. The data signal ๐ท lands in all the left. For integers it corresponds to a multiplication data inputs of the first mux except the input ๐ผ๐0 . Indeed, by the base. The figure 12 shows the circuit with 7 data in ๐ผ๐0 comes the output data of the second mux. A clock inputs and a selection signal ๐๐ธ๐ฟ. In this case, each signal ๐ถ๐ฟ๐พ, which intermittently takes on the values ๐ฟ0 module can expect the arrival of three digits from the and ๐ฟ1 , allows selection between the new data present one located to its left. Meanwhile, the module under in ๐ท (๐๐ธ๐ฟ โฅ ๐ฟ1 ) and the one previously calculated consideration can shift three values of its base word to (๐๐ธ๐ฟ = ๐ฟ0 ). the left. To verify the operation of the D latch, we used an In this case if ๐๐ธ๐ฟ = 0, the most significant outputs articulated data signal (table 6) so as to check that the are set to ๐ฟ0 , enabling the input ๐ผ๐0 of the first three circuit had the desired behavior. multiplexers on the left of the figure (๐8,๐10, ๐9). The outputs ๐๐ ๐6 , ๐๐ ๐5 and ๐๐ ๐4 are set to level zero. In this case the inputs ๐ผ๐1 ,๐ผ๐2 ,๐ผ๐3 do not compete with 4. Limits and Future Works the outputs. As the value of the signal ๐๐ธ๐ฟ increases, New circuits in multivalue logic may be a step toward the inputs will be shifted to the left until ๐ผ๐3 moves from addressing the computational problems of certain appli- the output ๐๐ ๐3 to ๐๐ ๐6 (๐๐ธ๐ฟ = 3) and three new cations such as artificial intelligence and blockchain. The signals will be present on ๐๐ ๐0 , ๐๐ ๐1 and ๐๐ ๐3 . amount of time, energy, and resources to deliver certain services is increasing more and more, and traditional cir- cuits seem unresponsive to current needs [21],[22], [23]. We presented several theoretical solutions, and many of 85 Alessandro Simonetta et al. CEUR Workshop Proceedings 78โ89 Figure 12: Left Shifter Figure 13: D Latch with MVL MUX 4+1 Figure 15: Testing D Latch: inputs Figure 14: Testing D Latch them are aligned with new technological solutions [24], [25], such as mem-resistors [26] or programmable resis- tor arrays in complex layers [27]. These last components were developed by Massachusetts Institute of Technology (MIT) to create neural networks to support a new area Figure 16: Testing D Latch: outputs of artificial intelligence called analog deep learning. The lack of integration of models developed with such technologies is one of the limitations that must be over- employ bases that are powers of two; future efforts will come to make the use of this logic effective. focus on this type of logic. The first step in achieving the target of usability of such The proposed work has two important advantages over logic within circuits is their integrability within current what has been produced in the literature on MVL sys- systems in digital logic. To this end, it is desirable to tems: 86 Alessandro Simonetta et al. CEUR Workshop Proceedings 78โ89 Table 6 The paper shows circuits that adopt the same represen- Test Input Signals tation system as traditional binary digital ones, but im- plement them using MVL signals (values). Among the Time Volts strengths of the presented solution, there is the scalabil- 0u 0.625 ity. Indeed, the presented approach is independent of the 30u 0.625 base used and thus of the number of levels. 31u 4.375 However, the gap with hardware technologies and tech- 60u 4.375 niques to support MVL, such as storing MVL values, is far 61u 1.875 from being closed. The previously mentioned inorganic 90u 1.875 91u 4.375 material, which makes the resistor extremely energy ef- 120u 4.375 ficient, is an example solution that could accelerate the 121u 1.875 industrialization of such circuits. 150u 1.875 One challenge for the further use of multi-valued logic 151u 3.125 in circuit design is the creation of an effective computer- 180u 3.125 aided design package. At present, many multi-core ar- 181u 0.625 chitectures have been developed and implemented, but 210u 0.625 although parallel computing resulting from multi-core 211u 4.375 architectures is a solution to increase the performance 240u 4.375 of a computer [32, 33, 34], with it arise various issues 241u 0.625 270u 0.625 related to the competition and collaboration of cores, es- pecially when the latter are used in the neural networks applications to the solution of different types of problems [35, 36, 37, 38]. We can think of the problem of inaccu- โข The system we proposed has the ability to work rate interrupts or information sharing in caches. Such independently of the adopted base. Obviously, issues are absent in a single computer operating with a the choice of this value must be fixed through the computing model close to that of a human. trade-off between expressive power and the inter- nal complexity of the circuits to be made. Just as an example, being able to have a computer that References works in hexadecimal would make it possible to reduce the size of memory communication lines, [1] E. Dubrova, Multiple-Valued Logic in VLSI: and to perform calculations directly in hexadec- Challenges and Opportunities, Proceedings of imal base by a factor of 4. On the other hand, NORCHIPโ99 (1999). the number of switches in the decoder shown [2] D. Etiemble, 45-year CPU Evolution: one law and in figure 6 would increase from 16 to 256 ele- two equations, Second Workshop on Pioneering ments. In addition, having designed schemes that Processor Paradigms, Vienna, (2018). works independently of the numbering system [3] R. A. Jaber, B. Owaidat, A. Kassem, A. M. Haidar, A base adopted allows the solution to be guaranteed novel low-energy cntfet-based ternary half-adder to survive over time in relation to technological design using unary operators, in: 2020 Inter- evolution. Indeed, this allows the designer to national Conference on Innovation and Intelli- build architectures that are scalable over time. gence for Informatics, Computing and Technologies โข The ability to easily integrate with digital systems (3ICT), 2020, pp. 1โ6. doi:10.1109/3ICT51146. currently available on the market. This aspect is 2020.9311953. a strength for any new technology that must not [4] R. Zhang, N. Uetake, T. Nakada, Y. Nakashima, undermine what has been achieved in the past Design of programmable analog calculation unit but lead it to a new world. by implementing support vector regression for ap- proximate computing, IEEE Micro 38 (2018) 73โ82. doi:10.1109/MM.2018.2873953. 5. Conclusion [5] A. Navidi, R. Sabbaghi-Nadooshan, M. Dousti, Tqcasim: An accurate design and essential The idea behind this paper is that it is possible to make simulation tool for ternary logic quantum-dot MVL circuits capable of performing the same functions cellular automata, Scientia Iranica (2021). available to digital circuits. A multi-valued logic system URL: http://scientiairanica.sharif.edu/article_22243. reduces the significant amount of design effort, reduces html. doi:10.24200/sci.2021.53471.3256. power consumption, increases the data rate between de- [6] X. Wang, P. Li, C. Jin, Z. Dong, H. H. C. Iu, vices, and minimizes the cost of signals [28, 29, 30, 31]. 87 Alessandro Simonetta et al. CEUR Workshop Proceedings 78โ89 General modeling method of threshold-type mul- tional Academy of Sciences 116 (2019) 7750โ7759. tivalued memristor and its application in digital URL: https://www.pnas.org/doi/abs/10.1073/pnas. logic circuits, International Journal of Bifurca- 1820672116. doi:10.1073/pnas.1820672116. tion and Chaos 31 (2021) 2150248. URL: https:// [17] Analog Devices, LTspice, 2022. URL: doi.org/10.1142/S0218127421502485. doi:10.1142/ https://www.analog.com/en/design-center/ S0218127421502485. design-tools-and-calculators/ltspice-simulator. [7] A. Simonetta, M. C. Paoletti, Designing digital html. circuits in multi-valued logic, International [18] S. Raksha, Carry Look-Ahead Adder Journal on Advanced Science, Engineer- โ Working, Circuit and Truth Ta- ing and Information Technology 8 (2018) ble, 2020. URL: https://technobyte.org/ 1166โ1172. URL: http://ijaseit.insightsociety. carry-look-ahead-adder-working-circuit-truth-table/ org/index.php?option=com_content&view= (May2022). article&id=9&Itemid=1&article_id=5966. [19] WatElectronics, What is Carry Lookahead doi:10.18517/ijaseit.8.4.5966. Adder : Block Diagram and Its Working, [8] W. Alexander, The ternary computer, Electron- 2021. URL: https://www.watelectronics.com/ ics and Power 10 (1964) 36โ39. doi:10.1049/ep. carry-lookahead-adder/(May2022). 1964.0037. [20] A. S. Tanenbaum, Structured Computer Organiza- [9] B. Choi, K. Shukla, Multi-valued logic circuit de- tion, Pearson, 2012, p. 808. sign and implementation, International Journal [21] X. Chen, Y. Wardi, S. Yalamanchili, Power regu- of Electronics and Electrical Engineering 3 (2014). lation in high performance multicore processors, doi:10.12720/ijeee.3.4.256-262. in: 2017 IEEE 56th Annual Conference on De- [10] A. Simonetta, M. C. Paoletti, M. Muratore, cision and Control (CDC), 2017, pp. 2674โ2679. A new approach for designing of computer doi:10.1109/CDC.2017.8264047. architectures using multi-value logic, Inter- [22] G. C. Cardarilli, L. D. Nunzio, R. Fazzolari, M. Re, national Journal on Advanced Science, Engi- F. Silvestri, S. Spanรฒ, Energy consumption sav- neering and Information Technology 11 (2021) ing in embedded microprocessors using hardware 1440โ1446. URL: http://ijaseit.insightsociety. accelerators, TELKOMNIKA (Telecommunication org/index.php?option=com_content&view= Computing Electronics and Control) (2018). article&id=9&Itemid=1&article_id=15778. [23] G. Cardarilli, L. Di Nunzio, R. Fazzolari, M. Re, doi:10.18517/ijaseit.11.4.15778. R. Lee, Butterfly and inverse butterfly nets inte- [11] "Nagarathna, S. Jamuna, "a brief review on multiple- gration on altera nios-ii embedded processor, in: valued logic-based digital circuits", in: T. "Sen- Conference Record of the 44th Asilomar Confer- jyu, P. N. Mahalle, T. Perumal, A. Joshi (Eds.), "ICT ence on Signals, Systems and Computers, Asilo- with Intelligent Applications", "Springer Singapore", mar 2010, Conference Record - Asilomar Confer- 2022. ence on Signals, Systems and Computers, 2010, [12] N. I. Chernov, N. V. Butyrlagin, N. N. Prokopenko, pp. 1279โ1283. doi:https://doi.org/10.1109/ V. Y. Yugai, Synthesis and circuitry of multi-valued ACSSC.2010.5757737, 44th Asilomar Confer- digital current logic elements, in: 2021 Interna- ence on Signals, Systems and Computers, Asilo- tional Conference on Electrical Engineering and mar 2010 ; Conference date: 07-11-2010 Through Photonics (EExPolytech), 2021, pp. 104โ107. doi:10. 10-11-2010. 1109/EExPolytech53083.2021.9614916. [24] H. Yoo, C.-H. Kim, Multi-valued logic system: new [13] N. K. Naware, D. S. Khurge, S. U. Bhandari, Re- opportunities from emerging materials and devices, view of quaternary algebra & its logic circuits, 2015 J. Mater. Chem. C 9 (2021) 4092โ4104. URL: http: International Conference on Computing Commu- //dx.doi.org/10.1039/D1TC00148E. doi:10.1039/ nication Control and Automation (2015) 969โ973. D1TC00148E. [14] D. Rene, Random Testing of Digital Circuits: Theory [25] Z. Zhang, A. Xu, H. T. Ren, G. Liu, X. Cheng, Re- and Applications, CRC Press, 2020, p. 496. configurable multivalued memristor fpga model for [15] D. Kaufmann, Formal verification of mul- digital recognition, International Journal of Cir- tiplier circuits using computer algebra, it cuit Theory and Applications (2022). URL: https:// - Information Technology (2022). URL: https:// onlinelibrary.wiley.com/doi/abs/10.1002/cta.3377. doi.org/10.1515/itit-2022-0039. doi:doi:10.1515/ [26] B. Mouttet, Dynamic systems model for ionic mem- itit-2022-0039. resistors based on harmonic oscillation, arXiv: [16] D. J. Preston, P. Rothemund, H. J. Jiang, M. P. Ne- Mesoscale and Nanoscale Physics (2011). mitz, J. Rawson, Z. Suo, G. M. Whitesides, Digi- [27] A. Zewe, New hardware offers faster computa- tal logic for soft devices, Proceedings of the Na- tion for artificial intelligence, with much less 88 Alessandro Simonetta et al. CEUR Workshop Proceedings 78โ89 energy, 2022. URL: https://news.mit.edu/2022/ [38] G. L. Sciuto, G. Susi, G. Cammarata, G. Capizzi, A analog-deep-learning-ai-computing-0728. spiking neural network-based model for anaerobic [28] R. A. Jaber, A. Kassem, A. M. El-Hajj, L. A. El- digestion process, in: 2016 International Sympo- Nimri, A. M. Haidar, High-performance and energy- sium on Power Electronics, Electrical Drives, Au- efficient cnfet-based designs for ternary logic cir- tomation and Motion (SPEEDAM), IEEE, 2016, pp. cuits, IEEE Access 7 (2019) 93871โ93886. doi:10. 996โ1003. 1109/ACCESS.2019.2928251. [29] K. Kobashi, R. Hayakawa, T. Chikyow, Y. Wakayama, Multi-valued logic circuits based on organic anti-ambipolar transistors, Nano Letters (2018). doi:10.1021/acs.nanolett.8b01357. [30] G. Magistris, C. Rametta, G. Capizzi, C. Napoli, Fpga implementation of a parallel dds for wide-band ap- plications, in: CEUR Workshop Proceedings, vol- ume 3092, 2021, pp. 12โ16. [31] M. H. Moaiyeri, Z. M. Taheri, M. R. Khezeli, A. Jalali, Efficient passive shielding of mwcnt interconnects to reduce crosstalk effects in multiple-valued logic circuits, IEEE Transactions on Electromagnetic Compatibility 61 (2019) 1593โ1601. doi:10.1109/ TEMC.2018.2863378. [32] S. Illari, S. Russo, R. Avanzato, C. Napoli, A cloud- oriented architecture for the remote assessment and follow-up of hospitalized patients, in: CEUR Workshop Proceedings, volume 2694, 2020, pp. 29โ 35. [33] G. Lo Sciuto, S. Russo, C. Napoli, A cloud-based flexible solution for psychometric tests validation, administration and evaluation, in: CEUR Workshop Proceedings, volume 2468, 2019, pp. 16โ21. [34] G. De Magistris, R. Caprari, G. Castro, S. Russo, L. Iocchi, D. Nardi, C. Napoli, Vision-based holis- tic scene understanding for context-aware human- robot interaction, Lecture Notes in Computer Sci- ence (including subseries Lecture Notes in Arti- ficial Intelligence and Lecture Notes in Bioinfor- matics) 13196 LNAI (2022) 310โ325. doi:10.1007/ 978-3-031-08421-8_21. [35] C. Napoli, F. Bonanno, G. Capizzi, Exploiting solar wind time series correlation with magnetospheric response by using an hybrid neuro-wavelet ap- proach, Proceedings of the International astronom- ical union 6 (2010) 156โ158. [36] G. Capizzi, G. Lo Sciuto, M. Woลบniak, R. Damaลกe- vicius, A clustering based system for automated oil spill detection by satellite remote sensing, in: Artificial Intelligence and Soft Computing: 15th In- ternational Conference, ICAISC 2016, Zakopane, Poland, June 12-16, 2016, Proceedings, Part II 15, Springer, 2016, pp. 613โ623. [37] N. Brandizzi, S. Russo, R. Brociek, A. Wajda, First studies to apply the theory of mind theory to green and smart mobility by using gaussian area cluster- ing, in: CEUR Workshop Proceedings, volume 3118, 2021, pp. 71โ76. 89