THEORETICAL AND APPLIED ELECTRICAL ENGINEERING VOLUME: 17 |NUMBER: 3 |2019 |SEPTEMBER Novel Ternary Logic Gates Design in Nanoelectronics Sajjad ETEZADI1, Seied Ali HOSSEINI2 1Department of Electronic, College of Electrical Engineering, Bandar Abbas Branch, Islamic Azad University, Bandar Abbas, Iran 2Department of Electronic, College of Electrical Engineering, Yadegar-e-Imam Khomeini (RAH) Shahre Rey Branch, Islamic Azad University, Tehran, Iran
[email protected],
[email protected] DOI: 10.15598/aeee.v17i3.3156 Abstract. In this paper, standard ternary logic gates are initially designed to considerably reduce static power consumption. This study proposes novel ternary gates based on two supply voltages in which the direct current is eliminated and the leakage current is reduced considerably. In addition, ST-OR and ST-AND are generated directly instead of ST-NAND and ST-NOR. The proposed gates have a high noise margin near VDD/4. The simulation results indicated that the power consumption and PDP underwent a sharp decrease and noise margin showed a considerable increase in comparison to both one supply and two supply based designs in previous works. PDP is improved in the proposed OR, as compared to one supply and two supply based previous works about 83 % and 63 %, respectively. Also, a memory cell is designed using the proposed STI logic gate, which has a considerably lower static power to store logic ‘1’ and the static noise margin, as compared to other designs. Keywords CNTFETs, double supply voltages, static power reduction, ternary logic gates, ternary memory cell. 1. Introduction Typically, digital circuits with two logic levels are designed in the binary space; however, binary logic can be employed in designing digital circuits by adding several other logic levels called Multiple-Valued Logic (MVL) [1]. Compared to the binary logic, the ternary logic can transmit further information from a set of lines with less memory and easier access and lower power consumption by reducing the chip level and decreasing the internal and external connections. In addition, parallel serial operations can be performed more quickly. One of the main drawbacks of multi-valued logic is the lower Noise margin, as compared to the binary logic [2], [3], [32], [33] and [34]. The implementation of the CMOS circuits has reached a limitation [4]. CNTFET is another candidate which does not have leakage current, such as MOSFET, but it suffers from a disturbing current of Band-To- Band Tunnelling (BTBT) [5]. The Carbon Nanotube Field-Effect Transistor (CNTFET) is a good alternative to the CMOS transistors for the implementation of logic circuits due to its high performance and low power consumption [6], [7], [8], [9] and [10]. Also, carbon nanotube transistors can be a good option for designing ternary circuits with less complexity due to their good ability to change the threshold voltage, which is caused by a change in the diameter of nanotubes [11]. Several researches have been done in recent years on the design of ternary and quaternary circuits with the help of carbon nanotubes transistors, such as [14], [28] and [31]. Some studies have been conducted on the design of ternary gates based on CNTFETs [11], [12], [13], and [29]. The design of Lin et al. [13] can be mentioned as the best one based on one supply voltage, in which, for generating logic ‘1’ in the output (STI, ST-NAND, ST-NOR), a voltage divider circuit is used, with the diode connection load to reduce the direct current. In some studies like [22] and [23], two supply voltages are used in the ternary circuit design for simplicity, but the direct current hasn’t been removed c 2019 ADVANCES IN ELECTRICAL AND ELECTRONIC ENGINEERING 294
THEORETICAL AND APPLIED ELECTRICAL ENGINEERING VOLUME: 17 |NUMBER: 3 |2019 |SEPTEMBER Tab. 1: Ternary NANDs and NORs truth table. A B ST-NOR PT-NOR NT-NOR ST-NAND PT-NAND NT-NAND 0 0 2 2 2 2 2 2 0 1 1 2 0 2 2 2 0 2 0 0 0 2 2 2 1 0 1 2 0 2 2 2 1 1 1 2 0 1 2 0 1 2 0 0 0 1 2 0 2 0 0 0 0 2 2 2 2 1 0 0 0 1 2 0 2 2 0 0 0 0 0 0 and the static power dissipation still exists. In [29], ternary gates are designed based on two supply voltages. In [14], two supply voltages are used in a multiplexer scheme to ternary multiplier, reporting a considerable static power reduction. In [26], ternary logics like full adders are synthesised using the 2:1 multiplexer, in which logic ‘1’ is directly switched to the output and a considerable reduction in power and PDP is obtained. In [29], ternary gates are designed based on two supply voltages. In this paper, VDD and VDD/2 voltage sources are used to design new ternary logic gates as the standard ternary inverter, the ternary buffer, standard ternary OR (ST-OR) and standard ternary AND (ST-AND). To generate logic ‘1’, VDD/2 source is directly switched to the output with a novel structure and all direct paths from VDD to the ground are removed in the circuit design, which sharply decreases static power consumption. Also, cascode NTI and PTI, according to the [29], are used to reduce the leakage current. However, the drawback of using two supply voltages is that excess lines are needed for VDD/2; despite this, if the design is done so as to remove all direct paths from the sources to ground, they can be sharply decreased in static power dissipation and PDP is more important than the excess line in some applications. For example, in the memory cell, the circuit may stay in one status for a relatively long time; so, the dynamic power in transistors and connections is little in contrast to the static power dissipation from the voltage division to produce logic ‘1’. However, it is a trade-off between a higher power and the excess lines for VDD/2. So, Designers can use two supplybased ternary circuits for some low static power designs and for other portions of logic systems, one supply voltage gates with high static power dissipation and lower metal connections can be used. Simulation results using the HSPICE software and the CNT 32 nm Stanford library [16] indicated the lower power dissipation and PDP, as compared to the previous designs. Also, the proposed Standard Ternary Inverter (STI) is used to design the new ternary memory cell, where the stored static power is sharply reduced, as compared to other designs. 2. Terminology The chiral vector for a CNT is represented by a pair of integers (m,n) [15] and [27]. The dimensions of the nanotube can be defined by the relation DCNT =a0√3 πpn2+m2+nm, (1) where a0= 0.142 nm is the atomic distance between each carbon atom and its adjacent atom [16], [17] and [18]. The value of the threshold voltage of the carbon nanotubes transistor is determined by the relation Vth ≈Eg 2e=√3 3 aVπ eDCNT ,(2) where a= 2.49 A, Vπ= 3.033 eV, and eis the unit electron charge. For chirality (0, 19) and (0, 10), the diameter of the nanotubes will be 1.487 nm and 0.787 nm, respectively, [16], [17] and [18]. It is possible to add up the relationship between the threshold voltage and the nanotubes’ diameters as Vth =0.35 DCN T [19] and [28]. Ternary circuits including inverters are NAND and NOR gates, by which most of the designs are conducted. The Ternary logic operation can be defined as follows, where Xi, Xj={0,1,2}[20]. Xi+Xj= max{Xi, Xj}, Xi·Xj= min{Xi, Xj}, ¯ Xi= 2 −Xi. (3) As such, (−) denotes subtraction and (+), (.), and (+) operators refer to standard ternary OR (ST-OR), standard ternary AND (ST-AND), and Standard Ternary Inverter (STI), respectively, in the Ternary logic whose circuit structure will be further described. NAND and NOR ternary gates are operators with double entries. These gates are defined using Eq. (4) and Eq. (5) [3]. YNAND = min{Xi, Xj},(4) YNOR = max{Xi, Xj}.(5) c 2019 ADVANCES IN ELECTRICAL AND ELECTRONIC ENGINEERING 295
THEORETICAL AND APPLIED ELECTRICAL ENGINEERING VOLUME: 17 |NUMBER: 3 |2019 |SEPTEMBER Table 1 shows the truth table for the NAND and NOR gates in the Negative (NT), Positive Ternary (PT) and Standard Ternary (ST) modes. The difference between the outputs of these modes with those in the standard mode is in the logic ‘1’ output. When the output becomes ‘1’ in ST-NAND and ST-NOR modes, in PT-NAND and PT-NOR modes, the output becomes ‘2’, while in the NT-NAND and NT-NOR mode, it becomes ‘0’, respectively [3]. Also, Positive Ternary Inverter (PTI) and negative ternary inverter are two types of ternary inverter, in which, when the output of STI is ‘1’ for PTI and NTI are ‘2’ and ‘0’ respectively. 3. Proposed Ternary Logic Gates (10,0) VDD IN=Vdd/2 IN=Vdd/2 OUT=VDD/2 DIRECT CURRENT (10,0) (19,0) (13,0) (13,0) (19,0) VDD OUT=VDD/2 IN=VDD/2 IN=VDD/2 Fig. 1: STI designed in [13]. In the one supply based ternary logic gates for metal connections reduction, a VDD voltage source was assumed. In the standard mode, pull up and pull down networks are simultaneously turned on as a voltage divider for generating logic ‘1’, which leads to a high static power to produce logic ‘1’ for example, Fig. 1 displays the STI circuit designed in [13] when the input is logic ‘1’. The transistors which are off are dimmed in the figure. As can be seen, T2, T3, T4, T5 are simultaneously turned on, acting as a voltage divider to produce VDD/2at the output. This leads to a direct current from VDD to ground. One superiority of this design, as compared to the previous work, is using the diode-connected transistors T3 and T4 to reduce the direct current, but static power is much higher than the dynamic power of CNTFETs; this will be discussed in the simulation results section. SECTION POLICIES VOLUME: XX | NUMBER: X | 2015 | MONTH © 2019 ADVANCES IN ELECTRICAL AND ELECTRONIC ENGINEERING 3 work, is using the diode-connected transistors T3 and T4 to reduce the direct current, but static power is much higher than the dynamic power of CNTFETs; this will be discussed in the simulation results section. Fig. 1: STI designed in ref [13]. VDD A A B BAB NOR DIRECT CURRENT (10,0) (10,0) (10,0) (10,0) (19,0) (19,0) (13,0) (13,0) (19,0) (19,0) Vdd/2 (a) VDD Vdd/2 AB B ( 10 , 0 ) A A B DIRECT CURRENT NAND (10,0) (10,0) (10,0) (19,0) (19,0) (19,0) (19,0)(13,0) (13,0) (b) Fig. 2: ( a) ST-NOR (b) ST-NAND designed in ref [13]. Also, the same manner is used to design ST-NAND and ST-NOR; a direct path is connected from VDD to the earth, generating static power when the output is VDD/2. In Fig. 2, the transistors which are off are dimmed [13]. 3.1. The Proposed Ternary BUFFER and STI IN T3 D=0.63nm T2 D=1.487nm VDD OUT GND _ IN IN T1 D=1.487nm T1 D=0.63nm T2 D=1.487nm VDD OUT GND + IN IN IN T3 D=1.487nm (a) (b) Fig. 3: Cascode -NTI (a) Cascode – PTI (b) [30] (19,0) (8,0) VDD VDD/2 GND Out Cascode- PTI(IN)Cascode- NTI(IN) (19,0) (8,0) Cascode- PTI(IN) Cascode- NTI(IN) T1 T2 T4T3 Fig. 4: Proposed buffer V DD /2 V DD V DD V DD V DD /2 V DD V DD D=0.63 nm D= 1.487 nm D= 1.487 nm D=0.63 nm D= 1.487 nm D= 1.487 nm V DD V DD /2 (a) SECTION POLICIES VOLUME: XX | NUMBER: X | 2015 | MONTH © 2019 ADVANCES IN ELECTRICAL AND ELECTRONIC ENGINEERING 3 work, is using the diode-connected transistors T3 and T4 to reduce the direct current, but static power is much higher than the dynamic power of CNTFETs; this will be discussed in the simulation results section. Fig. 1: STI designed in ref [13]. VDD A A B BAB NOR DIRECT CURRENT (10,0) (10,0) (10,0) (10,0) (19,0) (19,0) (13,0) (13,0) (19,0) (19,0) Vdd/2 (a) VDD Vdd/2 AB B ( 10 , 0 ) A A B DIRECT CURRENT NAND (10,0) (10,0) (10,0) (19,0) (19,0) (19,0) (19,0)(13,0) (13,0) (b) Fig. 2: ( a) ST-NOR (b) ST-NAND designed in ref [13]. Also, the same manner is used to design ST-NAND and ST-NOR; a direct path is connected from VDD to the earth, generating static power when the output is VDD/2. In Fig. 2, the transistors which are off are dimmed [13]. 3.1. The Proposed Ternary BUFFER and STI IN T3 D=0.63nm T2 D=1.487nm VDD OUT GND _ IN IN T1 D=1.487nm T1 D=0.63nm T2 D=1.487nm VDD OUT GND + IN IN IN T3 D=1.487nm (a) (b) Fig. 3: Cascode -NTI (a) Cascode – PTI (b) [30] (19,0) (8,0) VDD VDD/2 GND Out Cascode- PTI(IN)Cascode- NTI(IN) (19,0) (8,0) Cascode- PTI(IN) Cascode- NTI(IN) T1 T2 T4T3 Fig. 4: Proposed buffer V DD /2 V DD V DD V DD V DD /2 V DD V DD D=0.63 nm D= 1.487 nm D= 1.487 nm D=0.63 nm D= 1.487 nm D= 1.487 nm V DD V DD /2 (b) Fig. 2: (a) ST-NOR and (b) ST-NAND designed in [13]. c 2019 ADVANCES IN ELECTRICAL AND ELECTRONIC ENGINEERING 296
THEORETICAL AND APPLIED ELECTRICAL ENGINEERING VOLUME: 17 |NUMBER: 3 |2019 |SEPTEMBER Also, the same manner is used to design ST-NAND and ST-NOR; a direct path is connected from VDD to the earth, generating static power when the output is VDD/2. In Fig. 2, the transistors which are off are dimmed [13]. 3.1. The Proposed Ternary BUFFER and STI SECTION POLICIES VOLUME: XX | NUMBER: X | 2015 | MONTH © 2019 ADVANCES IN ELECTRICAL AND ELECTRONIC ENGINEERING 3 work, is using the diode-connected transistors T3 and T4 to reduce the direct current, but static power is much higher than the dynamic power of CNTFETs; this will be discussed in the simulation results section. Fig. 1: STI designed in ref [13]. VDD A A B BAB NOR DIRECT CURRENT (10,0) (10,0) (10,0) (10,0) (19,0) (19,0) (13,0) (13,0) (19,0) (19,0) Vdd/2 (a) VDD Vdd/2 AB B ( 10 , 0 ) A A B DIRECT CURRENT NAND (10,0) (10,0) (10,0) (19,0) (19,0) (19,0) (19,0)(13,0) (13,0) (b) Fig. 2: ( a) ST-NOR (b) ST-NAND designed in ref [13]. Also, the same manner is used to design ST-NAND and ST-NOR; a direct path is connected from VDD to the earth, generating static power when the output is VDD/2. In Fig. 2, the transistors which are off are dimmed [13]. 3.1. The Proposed Ternary BUFFER and STI IN T3 D=0.63nm T2 D=1.487nm VDD OUT GND _ IN IN T1 D=1.487nm T1 D=0.63nm T2 D=1.487nm VDD OUT GND + IN IN IN T3 D=1.487nm (a) (b) Fig. 3: Cascode -NTI (a) Cascode – PTI (b) [30] (19,0) (8,0) VDD VDD/2 GND Out Cascode- PTI(IN)Cascode- NTI(IN) (19,0) (8,0) Cascode- PTI(IN) Cascode- NTI(IN) T1 T2 T4T3 Fig. 4: Proposed buffer V DD /2 V DD V DD V DD V DD /2 V DD V DD D=0.63 nm D= 1.487 nm D= 1.487 nm D=0.63 nm D= 1.487 nm D= 1.487 nm V DD V DD /2 (a) SECTION POLICIES VOLUME: XX | NUMBER: X | 2015 | MONTH © 2019 ADVANCES IN ELECTRICAL AND ELECTRONIC ENGINEERING 3 work, is using the diode-connected transistors T3 and T4 to reduce the direct current, but static power is much higher than the dynamic power of CNTFETs; this will be discussed in the simulation results section. Fig. 1: STI designed in ref [13]. VDD A A B BAB NOR DIRECT CURRENT (10,0) (10,0) (10,0) (10,0) (19,0) (19,0) (13,0) (13,0) (19,0) (19,0) Vdd/2 (a) VDD Vdd/2 AB B ( 10 , 0 ) A A B DIRECT CURRENT NAND (10,0) (10,0) (10,0) (19,0) (19,0) (19,0) (19,0)(13,0) (13,0) (b) Fig. 2: ( a) ST-NOR (b) ST-NAND designed in ref [13]. Also, the same manner is used to design ST-NAND and ST-NOR; a direct path is connected from VDD to the earth, generating static power when the output is VDD/2. In Fig. 2, the transistors which are off are dimmed [13]. 3.1. The Proposed Ternary BUFFER and STI IN T3 D=0.63nm T2 D=1.487nm VDD OUT GND _ IN IN T1 D=1.487nm T1 D=0.63nm T2 D=1.487nm VDD OUT GND + IN IN IN T3 D=1.487nm (a) (b) Fig. 3: Cascode -NTI (a) Cascode – PTI (b) [30] (19,0) (8,0) VDD VDD/2 GND Out Cascode- PTI(IN)Cascode- NTI(IN) (19,0) (8,0) Cascode- PTI(IN) Cascode- NTI(IN) T1 T2 T4T3 Fig. 4: Proposed buffer V DD /2 V DD V DD V DD V DD /2 V DD V DD D=0.63 nm D= 1.487 nm D= 1.487 nm D=0.63 nm D= 1.487 nm D= 1.487 nm V DD V DD /2 (b) Fig. 3: (a) Cascode - NTI and (b) Cascode - PTI [30]. SECTION POLICIES VOLUME: XX | NUMBER: X | 2015 | MONTH © 2019 ADVANCES IN ELECTRICAL AND ELECTRONIC ENGINEERING 3 work, is using the diode-connected transistors T3 and T4 to reduce the direct current, but static power is much higher than the dynamic power of CNTFETs; this will be discussed in the simulation results section. Fig. 1: STI designed in ref [13]. VDD A A B BAB NOR DIRECT CURRENT (10,0) (10,0) (10,0) (10,0) (19,0) (19,0) (13,0) (13,0) (19,0) (19,0) Vdd/2 (a) VDD Vdd/2 AB B ( 10 , 0 ) A A B DIRECT CURRENT NAND (10,0) (10,0) (10,0) (19,0) (19,0) (19,0) (19,0)(13,0) (13,0) (b) Fig. 2: ( a) ST-NOR (b) ST-NAND designed in ref [13]. Also, the same manner is used to design ST-NAND and ST-NOR; a direct path is connected from VDD to the earth, generating static power when the output is VDD/2. In Fig. 2, the transistors which are off are dimmed [13]. 3.1. The Proposed Ternary BUFFER and STI IN T3 D=0.63nm T2 D=1.487nm VDD OUT GND _ IN IN T1 D=1.487nm T1 D=0.63nm T2 D=1.487nm VDD OUT GND + IN IN IN T3 D=1.487nm (a) (b) Fig. 3: Cascode -NTI (a) Cascode – PTI (b) [30] (19,0) (8,0) VDD VDD/2 GND Out Cascode- PTI(IN)Cascode- NTI(IN) (19,0) (8,0) Cascode- PTI(IN) Cascode- NTI(IN) T1 T2 T4T3 Fig. 4: Proposed buffer V DD /2 V DD V DD V DD V DD /2 V DD V DD D=0.63 nm D= 1.487 nm D= 1.487 nm D=0.63 nm D= 1.487 nm D= 1.487 nm V DD V DD /2 Fig. 4: Proposed buffer. The proposed buffer and STI circuit are shown in Fig. 4 and Fig. 5, respectively. As can be seen in Fig. 3, based on the status of input, the off state transistors are shown as dotted. The situation of transistors in different statuses is as follows: In case the input equals ‘0’, both PTI and NTI outputs are ‘2’. In case input equals ‘2’, both PTI and NTI outputs are ‘0’. The output is connected to the Ground by T1 in STI, and VDD via T2 in the buffer. In case the input equals ‘1’, the PTI output is ‘2’ and the NTI output is ‘0’, and the VDD/2supply voltage is switched to the output by T3 and T4 for both STI and buffer. SECTION POLICIES VOLUME: XX | NUMBER: X | 2015 | MONTH © 2019 ADVANCES IN ELECTRICAL AND ELECTRONIC ENGINEERING 4 (19,0) (8,0) VDD VDD/2 GND Out Cascode- PTI(IN)Cascode- NTI(IN) (19,0) (8,0) IN IN T1 T2 T3 T4 Fig. 5: Proposed STI The proposed buffer and STI circuit are shown in Fig.4 and 5, respectively. As can be seen in Fig. 3, based on the status of input, the off state transistors are shown as dotted. The situation of transistors in different statuses is as follows: In case the input equals ‘0’, both PTI and NTI outputs are ‘2’. In case input equals ‘2’, both PTI and NTI outputs are ‘0’. The output is connected to the Ground by T1 in STI, and VDD via T2 in the buffer. In case the input equals ‘1’, the PTI output is ‘2’ and the NTI output is ‘ 0’, and the VDD/2 supply voltage is switched to the output by T3 and T4 for both STI and buffer. As can be seen in all three cases, there is no direct path from VDD to Ground, and the static power consumption is minimized considerably in the proposed circuit. Also, to reduce the leakage current in NTI and PTI according to the ref [30], the cascade NTI and PTI are used. 3.2. Proposed Standard Ternary AND (ST-AND) The ST-AND circuit is designed according to Fig. 6. In this figure, the nodes of X and Y are connected to the outputs of PT-NAND and NT-NAND, respectively. According to Fig. 7, based on the inputs statuses, the off state transistors are depicted as dotted. As stated in Tab. 1, PT-NAND and NT-NAND have the same output as ST-NAND; only in case the ST-NAND output is equal to ‘1’, the PT-NAND output equals ‘2’ and NT-NAND is equal to logic ‘0’. The circuit description is as follows: According to Tab. 1, the ST-AND output must be ‘2’ when the PT-NAND and NT-NAND outputs are ‘0’. In this case, T2 and T4 are turned on and T1 and T3, are off, and the output is connected to VDD. According to Tab. 1, it is expected that the output of the ST-AND would be ‘0’, where PT-NAND and NT-NAND equal ‘2’. In this case, the transistors T1 and T3 are on and the transistors T2, T4 are off. The output is connected to the earth. (19,0) (10,0) VDD VDD/2 GND ST-AND(A,B) (19,0) (10,0) PT-NAND(A,B) NT-NAND(A,B) NT-NAND(A,B) PT-NAND(A,B) T1 T2 T3 T4 Fig. 6: ST-AND proposed circuit assuming VDD (10,0) B A Y - Y A B NT-NAND (10,0) (19,0) (19,0) VDD (19,0) B A Y + Y A B PT-NAND (19,0) (10,0) (10,0) (a) (b) Fig. 7: (a) NT-NAND (b) PT-NAND circuits. It is expected that the ST-AND and ST-NAND outputs would be equal to ‘1’, where PT-NAND is equal to logic ‘2’ and NT-NAND is equal to logic ‘0’. In this case, transistors T1 and T2 are off and the transistors T3, T4, are on; further, the output is connected to the VDD/2 supply voltage. As can be seen, VDD is not connected to the Ground in any case. Also, PT-NAND and NT-NAND have no direct paths from VDD to the Ground. V DD V DD V DD /2 V DD /2 V DD V DD Fig. 5: Proposed STI. As can be seen in all three cases, there is no direct path from VDD to Ground, and the static power consumption is minimized considerably in the proposed circuit. Also, to reduce the leakage current in NTI and PTI according to the [30], the cascade NTI and PTI are used. 3.2. Proposed Standard Ternary AND (ST-AND) The ST-AND circuit is designed according to Fig. 6. In this figure, the nodes of X and Y are connected to the outputs of PT-NAND and NT-NAND, respectively. According to Fig. 7, based on the inputs statuses, the off state transistors are depicted as dotted. As stated in Tab. 1, PT-NAND and NT-NAND have the same output as ST-NAND; only in case the ST-NAND output is equal to ‘1’, the PT-NAND output equals ‘2’ and NT-NAND is equal to logic ‘0’. c 2019 ADVANCES IN ELECTRICAL AND ELECTRONIC ENGINEERING 297
THEORETICAL AND APPLIED ELECTRICAL ENGINEERING VOLUME: 17 |NUMBER: 3 |2019 |SEPTEMBER The circuit description is as follows: According to Tab. 1, the ST-AND output must be ‘2’ when the PT-NAND and NT-NAND outputs are ‘0’. In this case, T2 and T4 are turned on and T1 and T3, are off, and the output is connected to VDD. According to Tab. 1, it is expected that the output of the ST-AND would be ‘0’, where PT-NAND and NT-NAND equal ‘2’. In this case, the transistors T1 and T3 are on and the transistors T2, T4 are off. The output is connected to the earth. SECTION POLICIES VOLUME: XX | NUMBER: X | 2015 | MONTH © 2019 ADVANCES IN ELECTRICAL AND ELECTRONIC ENGINEERING 4 (19,0) (8,0) VDD VDD/2 GND Out Cascode- PTI(IN)Cascode- NTI(IN) (19,0) (8,0) IN IN T1 T2 T3 T4 Fig. 5: Proposed STI The proposed buffer and STI circuit are shown in Fig.4 and 5, respectively. As can be seen in Fig. 3, based on the status of input, the off state transistors are shown as dotted. The situation of transistors in different statuses is as follows: In case the input equals ‘0’, both PTI and NTI outputs are ‘2’. In case input equals ‘2’, both PTI and NTI outputs are ‘0’. The output is connected to the Ground by T1 in STI, and VDD via T2 in the buffer. In case the input equals ‘1’, the PTI output is ‘2’ and the NTI output is ‘ 0’, and the VDD/2 supply voltage is switched to the output by T3 and T4 for both STI and buffer. As can be seen in all three cases, there is no direct path from VDD to Ground, and the static power consumption is minimized considerably in the proposed circuit. Also, to reduce the leakage current in NTI and PTI according to the ref [30], the cascade NTI and PTI are used. 3.2. Proposed Standard Ternary AND (ST-AND) The ST-AND circuit is designed according to Fig. 6. In this figure, the nodes of X and Y are connected to the outputs of PT-NAND and NT-NAND, respectively. According to Fig. 7, based on the inputs statuses, the off state transistors are depicted as dotted. As stated in Tab. 1, PT-NAND and NT-NAND have the same output as ST-NAND; only in case the ST-NAND output is equal to ‘1’, the PT-NAND output equals ‘2’ and NT-NAND is equal to logic ‘0’. The circuit description is as follows: According to Tab. 1, the ST-AND output must be ‘2’ when the PT-NAND and NT-NAND outputs are ‘0’. In this case, T2 and T4 are turned on and T1 and T3, are off, and the output is connected to VDD. According to Tab. 1, it is expected that the output of the ST-AND would be ‘0’, where PT-NAND and NT-NAND equal ‘2’. In this case, the transistors T1 and T3 are on and the transistors T2, T4 are off. The output is connected to the earth. (19,0) (10,0) VDD VDD/2 GND ST-AND(A,B) (19,0) (10,0) PT-NAND(A,B) NT-NAND(A,B) NT-NAND(A,B) PT-NAND(A,B) T1 T2 T3 T4 Fig. 6: ST-AND proposed circuit assuming VDD (10,0) B A Y - Y A B NT-NAND (10,0) (19,0) (19,0) VDD (19,0) B A Y + Y A B PT-NAND (19,0) (10,0) (10,0) (a) (b) Fig. 7: (a) NT-NAND (b) PT-NAND circuits. It is expected that the ST-AND and ST-NAND outputs would be equal to ‘1’, where PT-NAND is equal to logic ‘2’ and NT-NAND is equal to logic ‘0’. In this case, transistors T1 and T2 are off and the transistors T3, T4, are on; further, the output is connected to the VDD/2 supply voltage. As can be seen, VDD is not connected to the Ground in any case. Also, PT-NAND and NT-NAND have no direct paths from VDD to the Ground. V DD V DD V DD /2 V DD /2 V DD V DD Fig. 6: ST-AND proposed circuit assuming. SECTION POLICIES VOLUME: XX | NUMBER: X | 2015 | MONTH © 2019 ADVANCES IN ELECTRICAL AND ELECTRONIC ENGINEERING 4 (19,0) (8,0) VDD VDD/2 GND Out Cascode- PTI(IN)Cascode- NTI(IN) (19,0) (8,0) IN IN T1 T2 T3 T4 Fig. 5: Proposed STI The proposed buffer and STI circuit are shown in Fig.4 and 5, respectively. As can be seen in Fig. 3, based on the status of input, the off state transistors are shown as dotted. The situation of transistors in different statuses is as follows: In case the input equals ‘0’, both PTI and NTI outputs are ‘2’. In case input equals ‘2’, both PTI and NTI outputs are ‘0’. The output is connected to the Ground by T1 in STI, and VDD via T2 in the buffer. In case the input equals ‘1’, the PTI output is ‘2’ and the NTI output is ‘ 0’, and the VDD/2 supply voltage is switched to the output by T3 and T4 for both STI and buffer. As can be seen in all three cases, there is no direct path from VDD to Ground, and the static power consumption is minimized considerably in the proposed circuit. Also, to reduce the leakage current in NTI and PTI according to the ref [30], the cascade NTI and PTI are used. 3.2. Proposed Standard Ternary AND (ST-AND) The ST-AND circuit is designed according to Fig. 6. In this figure, the nodes of X and Y are connected to the outputs of PT-NAND and NT-NAND, respectively. According to Fig. 7, based on the inputs statuses, the off state transistors are depicted as dotted. As stated in Tab. 1, PT-NAND and NT-NAND have the same output as ST-NAND; only in case the ST-NAND output is equal to ‘1’, the PT-NAND output equals ‘2’ and NT-NAND is equal to logic ‘0’. The circuit description is as follows: According to Tab. 1, the ST-AND output must be ‘2’ when the PT-NAND and NT-NAND outputs are ‘0’. In this case, T2 and T4 are turned on and T1 and T3, are off, and the output is connected to VDD. According to Tab. 1, it is expected that the output of the ST-AND would be ‘0’, where PT-NAND and NT-NAND equal ‘2’. In this case, the transistors T1 and T3 are on and the transistors T2, T4 are off. The output is connected to the earth. (19,0) (10,0) VDD VDD/2 GND ST-AND(A,B) (19,0) (10,0) PT-NAND(A,B) NT-NAND(A,B) NT-NAND(A,B) PT-NAND(A,B) T1 T2 T3 T4 Fig. 6: ST-AND proposed circuit assuming VDD (10,0) B A Y - Y A B NT-NAND (10,0) (19,0) (19,0) VDD (19,0) B A Y + Y A B PT-NAND (19,0) (10,0) (10,0) (a) (b) Fig. 7: (a) NT-NAND (b) PT-NAND circuits. It is expected that the ST-AND and ST-NAND outputs would be equal to ‘1’, where PT-NAND is equal to logic ‘2’ and NT-NAND is equal to logic ‘0’. In this case, transistors T1 and T2 are off and the transistors T3, T4, are on; further, the output is connected to the VDD/2 supply voltage. As can be seen, VDD is not connected to the Ground in any case. Also, PT-NAND and NT-NAND have no direct paths from VDD to the Ground. V DD V DD V DD /2 V DD /2 V DD V DD (a) SECTION POLICIES VOLUME: XX | NUMBER: X | 2015 | MONTH © 2019 ADVANCES IN ELECTRICAL AND ELECTRONIC ENGINEERING 4 (19,0) (8,0) VDD VDD/2 GND Out Cascode- PTI(IN)Cascode- NTI(IN) (19,0) (8,0) IN IN T1 T2 T3 T4 Fig. 5: Proposed STI The proposed buffer and STI circuit are shown in Fig.4 and 5, respectively. As can be seen in Fig. 3, based on the status of input, the off state transistors are shown as dotted. The situation of transistors in different statuses is as follows: In case the input equals ‘0’, both PTI and NTI outputs are ‘2’. In case input equals ‘2’, both PTI and NTI outputs are ‘0’. The output is connected to the Ground by T1 in STI, and VDD via T2 in the buffer. In case the input equals ‘1’, the PTI output is ‘2’ and the NTI output is ‘ 0’, and the VDD/2 supply voltage is switched to the output by T3 and T4 for both STI and buffer. As can be seen in all three cases, there is no direct path from VDD to Ground, and the static power consumption is minimized considerably in the proposed circuit. Also, to reduce the leakage current in NTI and PTI according to the ref [30], the cascade NTI and PTI are used. 3.2. Proposed Standard Ternary AND (ST-AND) The ST-AND circuit is designed according to Fig. 6. In this figure, the nodes of X and Y are connected to the outputs of PT-NAND and NT-NAND, respectively. According to Fig. 7, based on the inputs statuses, the off state transistors are depicted as dotted. As stated in Tab. 1, PT-NAND and NT-NAND have the same output as ST-NAND; only in case the ST-NAND output is equal to ‘1’, the PT-NAND output equals ‘2’ and NT-NAND is equal to logic ‘0’. The circuit description is as follows: According to Tab. 1, the ST-AND output must be ‘2’ when the PT-NAND and NT-NAND outputs are ‘0’. In this case, T2 and T4 are turned on and T1 and T3, are off, and the output is connected to VDD. According to Tab. 1, it is expected that the output of the ST-AND would be ‘0’, where PT-NAND and NT-NAND equal ‘2’. In this case, the transistors T1 and T3 are on and the transistors T2, T4 are off. The output is connected to the earth. (19,0) (10,0) VDD VDD/2 GND ST-AND(A,B) (19,0) (10,0) PT-NAND(A,B) NT-NAND(A,B) NT-NAND(A,B) PT-NAND(A,B) T1 T2 T3 T4 Fig. 6: ST-AND proposed circuit assuming VDD (10,0) B A Y - Y A B NT-NAND (10,0) (19,0) (19,0) VDD (19,0) B A Y + Y A B PT-NAND (19,0) (10,0) (10,0) (a) (b) Fig. 7: (a) NT-NAND (b) PT-NAND circuits. It is expected that the ST-AND and ST-NAND outputs would be equal to ‘1’, where PT-NAND is equal to logic ‘2’ and NT-NAND is equal to logic ‘0’. In this case, transistors T1 and T2 are off and the transistors T3, T4, are on; further, the output is connected to the VDD/2 supply voltage. As can be seen, VDD is not connected to the Ground in any case. Also, PT-NAND and NT-NAND have no direct paths from VDD to the Ground. V DD V DD V DD /2 V DD /2 V DD V DD (b) Fig. 7: (a) NT-NAND and (b) PT-NAND circuits. It is expected that the ST-AND and ST-NAND outputs would be equal to ‘1’, where PT-NAND is equal to logic ‘2’ and NT-NAND is equal to logic ‘0’. In this case, transistors T1 and T2 are off and the transistors T3, T4, are on; further, the output is connected to the VDD/2supply voltage. As can be seen, VDD is not connected to the Ground in any case. Also, PT-NAND and NT-NAND have no direct paths from VDD to the Ground. 3.3. Proposed Standard Ternary OR (ST-OR) Figure 8 indicates the proposed ST-OR circuit, where the nodes X and Y are the outputs of PT-NOR and NT-NOR, respectively, according to Fig. 9. As shown in Tab. 1, the NT-NOR and PT-NOR outputs are the same outputs as ST-NOR, except logic ‘1’, where the NT-NOR output equals the logic ‘0’, and the PT-NOR equals the logic ‘2’. The circuit demonstration is the same as ST-AND; so, it is not repeated here. SECTION POLICIES VOLUME: XX | NUMBER: X | 2015 | MONTH © 2019 ADVANCES IN ELECTRICAL AND ELECTRONIC ENGINEERING 5 3.3. Proposed Standard Ternary OR (ST-OR) (19,0) (10,0) VDD VDD/2 GND (19,0) (10,0) NT-NOR(A,B) PT-NOR(A,B) ST-OR(A,B) PT-NOR(A,B) NT-NOR(A,B) T1 T2 T3 T4 Fig. 8: Proposed ST-OR circuit assuming Fig. 8 indicates the proposed ST-OR circuit, where the nodes X and Y are the outputs of PT-NOR and NT-NOR, respectively, according to Fig. 9. As shown in Tab. 1, the NT-NOR and PT-NOR outputs are the same outputs as ST- NOR, except logic ‘1’, where the NT-NOR output equals the logic ‘0’, and the PT-NOR equals the logic ‘2’. The circuit demonstration is the same as ST-AND; so, it is not repeated here. VDD A Y B A B Y PT-NOR + (19,0) (19,0) (10,0) (10,0) VDD A Y B A B Y NT-NOR - (10,0) (10,0) (19,0) (19,0) (a) (b) Fig. 9: (a) PT-NOR b) NT-NOR circuit. In the studies [12], [13] and [14], STI, ST-AND, ST-OR are used to design the ternary half adder, the full adder and the multiplier. In the ref [24], these gates are used to design the ternary subtract or the comparator, the full adder, and the multiplier. In the ref [21], STIs are used to design the first ternary, as compared to a study conducted in [13]; in the proposed designs, the power consumption has fallen by about 17 times; however, the delay in the proposed method is slightly higher. Eventually, PDP as the main criterion is decreased by about 10 times. The power reported for the proposed design is the total power dissipated from both voltage sources, as NAND and NOR have been designed in the previous memory cell. In this paper, given the importance of static power in the memory cell, the proposed STI is used to design a memory cell. 3.4. Proposed Memory Cell rbl wbl q qb rwlb rwl wwl wwlb Read buffer Fig. 10: Proposed CNTFET-based ternary memory cell based on ref [21] As mentioned before, in the memory cell, the circuit may stay in one status for a relatively long time; so, according to the low frequency, the dynamic power in transistors and connections is negligible in contrast to the static power dissipation from the voltage division to produce the logic ‘1’. The designed memory cell is based on the ternary memory cell design in the ref [21], where the proposed STI is replaced in the latch and read buffer, shown in Fig. 10. As the binary latch consists of two cross-coupled inverters, the cross-coupled STIs can be locked in three states (q, qb) = (‘0’, ‘2’), (‘2’,’0’) and (‘1’, ‘1’). The STIs in the ref [13] are used for the designed ternary memory cell in the ref [21], as shown in Fig. 1. Also, in the memory cell designed in ref [25], the same STIs are used. In these memory cells, when the latch is locked in the (‘1’,’1’) state, the direct current flows from VDD to the ground for both STIs. So for storing ‘1’ in these memory cells, a high power would be dissipated, as compared to other states (‘0’ and ‘2’). But, by using the proposed STI, the same static power is expected for three states of storing. 4. Simulation Results The simulation results of the proposed circuit are utilized using the HSPICE Synopsys software and the 32-nm model of Stanford University [16]. The voltages required for this circuit are 0.9 V and 0.45 V, respectively. The logic gates designed with the previous works were evaluated based on various parameters discussed accordingly. Table 2 shows the power, delay, and power delay product (PDP) of different designs. Tab. 2: Comparison of ternary logic gates V DD V DD /2 V DD V DD wwl wwl b w bl q qb Read buffer r wl b r wl rb l Fig. 8: Proposed ST-OR circuit assuming. In the studies [12], [13] and [14], STI, ST-AND, ST- OR are used to design the ternary half adder, the full adder and the multiplier. In the [24], these gates are used to design the ternary subtract or the comparator, the full adder, and the multiplier. In [21], STIs are used to design the first ternary, as compared to a study conducted in [13]; in the proposed designs, the power consumption has fallen by about 17 times; however, the delay in the proposed method is slightly higher. Eventually, PDP as the main criterion is decreased by about 10 times. The power reported for the proposed design is the total power dissipated from both voltage sources, as NAND and NOR have been designed in the previous memory cell. In this paper, given the importance of static power in the memory cell, the proposed STI is used to design a memory cell. c 2019 ADVANCES IN ELECTRICAL AND ELECTRONIC ENGINEERING 298
THEORETICAL AND APPLIED ELECTRICAL ENGINEERING VOLUME: 17 |NUMBER: 3 |2019 |SEPTEMBER SECTION POLICIES VOLUME: XX | NUMBER: X | 2015 | MONTH © 2019 ADVANCES IN ELECTRICAL AND ELECTRONIC ENGINEERING 5 3.3. Proposed Standard Ternary OR (ST-OR) (19,0) (10,0) VDD VDD/2 GND (19,0) (10,0) NT-NOR(A,B) PT-NOR(A,B) ST-OR(A,B) PT-NOR(A,B) NT-NOR(A,B) T1 T2 T3 T4 Fig. 8: Proposed ST-OR circuit assuming Fig. 8 indicates the proposed ST-OR circuit, where the nodes X and Y are the outputs of PT-NOR and NT-NOR, respectively, according to Fig. 9. As shown in Tab. 1, the NT-NOR and PT-NOR outputs are the same outputs as ST- NOR, except logic ‘1’, where the NT-NOR output equals the logic ‘0’, and the PT-NOR equals the logic ‘2’. The circuit demonstration is the same as ST-AND; so, it is not repeated here. VDD A Y B A B Y PT-NOR + (19,0) (19,0) (10,0) (10,0) VDD A Y B A B Y NT-NOR - (10,0) (10,0) (19,0) (19,0) (a) (b) Fig. 9: (a) PT-NOR b) NT-NOR circuit. In the studies [12], [13] and [14], STI, ST-AND, ST-OR are used to design the ternary half adder, the full adder and the multiplier. In the ref [24], these gates are used to design the ternary subtract or the comparator, the full adder, and the multiplier. In the ref [21], STIs are used to design the first ternary, as compared to a study conducted in [13]; in the proposed designs, the power consumption has fallen by about 17 times; however, the delay in the proposed method is slightly higher. Eventually, PDP as the main criterion is decreased by about 10 times. The power reported for the proposed design is the total power dissipated from both voltage sources, as NAND and NOR have been designed in the previous memory cell. In this paper, given the importance of static power in the memory cell, the proposed STI is used to design a memory cell. 3.4. Proposed Memory Cell rbl wbl q qb rwlb rwl wwl wwlb Read buffer Fig. 10: Proposed CNTFET-based ternary memory cell based on ref [21] As mentioned before, in the memory cell, the circuit may stay in one status for a relatively long time; so, according to the low frequency, the dynamic power in transistors and connections is negligible in contrast to the static power dissipation from the voltage division to produce the logic ‘1’. The designed memory cell is based on the ternary memory cell design in the ref [21], where the proposed STI is replaced in the latch and read buffer, shown in Fig. 10. As the binary latch consists of two cross-coupled inverters, the cross-coupled STIs can be locked in three states (q, qb) = (‘0’, ‘2’), (‘2’,’0’) and (‘1’, ‘1’). The STIs in the ref [13] are used for the designed ternary memory cell in the ref [21], as shown in Fig. 1. Also, in the memory cell designed in ref [25], the same STIs are used. In these memory cells, when the latch is locked in the (‘1’,’1’) state, the direct current flows from VDD to the ground for both STIs. So for storing ‘1’ in these memory cells, a high power would be dissipated, as compared to other states (‘0’ and ‘2’). But, by using the proposed STI, the same static power is expected for three states of storing. 4. Simulation Results The simulation results of the proposed circuit are utilized using the HSPICE Synopsys software and the 32-nm model of Stanford University [16]. The voltages required for this circuit are 0.9 V and 0.45 V, respectively. The logic gates designed with the previous works were evaluated based on various parameters discussed accordingly. Table 2 shows the power, delay, and power delay product (PDP) of different designs. Tab. 2: Comparison of ternary logic gates V DD V DD /2 V DD V DD wwl wwl b w bl q qb Read buffer r wl b r wl rb l (a) SECTION POLICIES VOLUME: XX | NUMBER: X | 2015 | MONTH © 2019 ADVANCES IN ELECTRICAL AND ELECTRONIC ENGINEERING 5 3.3. Proposed Standard Ternary OR (ST-OR) (19,0) (10,0) VDD VDD/2 GND (19,0) (10,0) NT-NOR(A,B) PT-NOR(A,B) ST-OR(A,B) PT-NOR(A,B) NT-NOR(A,B) T1 T2 T3 T4 Fig. 8: Proposed ST-OR circuit assuming Fig. 8 indicates the proposed ST-OR circuit, where the nodes X and Y are the outputs of PT-NOR and NT-NOR, respectively, according to Fig. 9. As shown in Tab. 1, the NT-NOR and PT-NOR outputs are the same outputs as ST- NOR, except logic ‘1’, where the NT-NOR output equals the logic ‘0’, and the PT-NOR equals the logic ‘2’. The circuit demonstration is the same as ST-AND; so, it is not repeated here. VDD A Y B A B Y PT-NOR + (19,0) (19,0) (10,0) (10,0) VDD A Y B A B Y NT-NOR - (10,0) (10,0) (19,0) (19,0) (a) (b) Fig. 9: (a) PT-NOR b) NT-NOR circuit. In the studies [12], [13] and [14], STI, ST-AND, ST-OR are used to design the ternary half adder, the full adder and the multiplier. In the ref [24], these gates are used to design the ternary subtract or the comparator, the full adder, and the multiplier. In the ref [21], STIs are used to design the first ternary, as compared to a study conducted in [13]; in the proposed designs, the power consumption has fallen by about 17 times; however, the delay in the proposed method is slightly higher. Eventually, PDP as the main criterion is decreased by about 10 times. The power reported for the proposed design is the total power dissipated from both voltage sources, as NAND and NOR have been designed in the previous memory cell. In this paper, given the importance of static power in the memory cell, the proposed STI is used to design a memory cell. 3.4. Proposed Memory Cell rbl wbl q qb rwlb rwl wwl wwlb Read buffer Fig. 10: Proposed CNTFET-based ternary memory cell based on ref [21] As mentioned before, in the memory cell, the circuit may stay in one status for a relatively long time; so, according to the low frequency, the dynamic power in transistors and connections is negligible in contrast to the static power dissipation from the voltage division to produce the logic ‘1’. The designed memory cell is based on the ternary memory cell design in the ref [21], where the proposed STI is replaced in the latch and read buffer, shown in Fig. 10. As the binary latch consists of two cross-coupled inverters, the cross-coupled STIs can be locked in three states (q, qb) = (‘0’, ‘2’), (‘2’,’0’) and (‘1’, ‘1’). The STIs in the ref [13] are used for the designed ternary memory cell in the ref [21], as shown in Fig. 1. Also, in the memory cell designed in ref [25], the same STIs are used. In these memory cells, when the latch is locked in the (‘1’,’1’) state, the direct current flows from VDD to the ground for both STIs. So for storing ‘1’ in these memory cells, a high power would be dissipated, as compared to other states (‘0’ and ‘2’). But, by using the proposed STI, the same static power is expected for three states of storing. 4. Simulation Results The simulation results of the proposed circuit are utilized using the HSPICE Synopsys software and the 32-nm model of Stanford University [16]. The voltages required for this circuit are 0.9 V and 0.45 V, respectively. The logic gates designed with the previous works were evaluated based on various parameters discussed accordingly. Table 2 shows the power, delay, and power delay product (PDP) of different designs. Tab. 2: Comparison of ternary logic gates V DD V DD /2 V DD V DD wwl wwl b w bl q qb Read buffer r wl b r wl rb l (b) Fig. 9: (a) PT-NOR b) NT-NOR circuit. 3.4. Proposed Memory Cell SECTION POLICIES VOLUME: XX | NUMBER: X | 2015 | MONTH © 2019 ADVANCES IN ELECTRICAL AND ELECTRONIC ENGINEERING 5 3.3. Proposed Standard Ternary OR (ST-OR) (19,0) (10,0) VDD VDD/2 GND (19,0) (10,0) NT-NOR(A,B) PT-NOR(A,B) ST-OR(A,B) PT-NOR(A,B) NT-NOR(A,B) T1 T2 T3 T4 Fig. 8: Proposed ST-OR circuit assuming Fig. 8 indicates the proposed ST-OR circuit, where the nodes X and Y are the outputs of PT-NOR and NT-NOR, respectively, according to Fig. 9. As shown in Tab. 1, the NT-NOR and PT-NOR outputs are the same outputs as ST- NOR, except logic ‘1’, where the NT-NOR output equals the logic ‘0’, and the PT-NOR equals the logic ‘2’. The circuit demonstration is the same as ST-AND; so, it is not repeated here. VDD A Y B A B Y PT-NOR + (19,0) (19,0) (10,0) (10,0) VDD A Y B A B Y NT-NOR - (10,0) (10,0) (19,0) (19,0) (a) (b) Fig. 9: (a) PT-NOR b) NT-NOR circuit. In the studies [12], [13] and [14], STI, ST-AND, ST-OR are used to design the ternary half adder, the full adder and the multiplier. In the ref [24], these gates are used to design the ternary subtract or the comparator, the full adder, and the multiplier. In the ref [21], STIs are used to design the first ternary, as compared to a study conducted in [13]; in the proposed designs, the power consumption has fallen by about 17 times; however, the delay in the proposed method is slightly higher. Eventually, PDP as the main criterion is decreased by about 10 times. The power reported for the proposed design is the total power dissipated from both voltage sources, as NAND and NOR have been designed in the previous memory cell. In this paper, given the importance of static power in the memory cell, the proposed STI is used to design a memory cell. 3.4. Proposed Memory Cell rbl wbl q qb rwlb rwl wwl wwlb Read buffer Fig. 10: Proposed CNTFET-based ternary memory cell based on ref [21] As mentioned before, in the memory cell, the circuit may stay in one status for a relatively long time; so, according to the low frequency, the dynamic power in transistors and connections is negligible in contrast to the static power dissipation from the voltage division to produce the logic ‘1’. The designed memory cell is based on the ternary memory cell design in the ref [21], where the proposed STI is replaced in the latch and read buffer, shown in Fig. 10. As the binary latch consists of two cross-coupled inverters, the cross-coupled STIs can be locked in three states (q, qb) = (‘0’, ‘2’), (‘2’,’0’) and (‘1’, ‘1’). The STIs in the ref [13] are used for the designed ternary memory cell in the ref [21], as shown in Fig. 1. Also, in the memory cell designed in ref [25], the same STIs are used. In these memory cells, when the latch is locked in the (‘1’,’1’) state, the direct current flows from VDD to the ground for both STIs. So for storing ‘1’ in these memory cells, a high power would be dissipated, as compared to other states (‘0’ and ‘2’). But, by using the proposed STI, the same static power is expected for three states of storing. 4. Simulation Results The simulation results of the proposed circuit are utilized using the HSPICE Synopsys software and the 32-nm model of Stanford University [16]. The voltages required for this circuit are 0.9 V and 0.45 V, respectively. The logic gates designed with the previous works were evaluated based on various parameters discussed accordingly. Table 2 shows the power, delay, and power delay product (PDP) of different designs. Tab. 2: Comparison of ternary logic gates V DD V DD /2 V DD V DD wwl wwl b w b l q qb Read buffer r wl b r wl r b l Fig. 10: Proposed CNTFET-based ternary memory cell based on [21]. As mentioned before, in the memory cell, the circuit may stay in one status for a relatively long time; so, according to the low frequency, the dynamic power in transistors and connections is negligible in contrast to the static power dissipation from the voltage division to produce the logic ‘1’. The designed memory cell is based on the ternary memory cell design in [21], where the proposed STI is replaced in the latch and read buffer, shown in Fig. 10. As the binary latch consists of two cross-coupled inverters, the cross-coupled STIs can be locked in three states (q, qb)= (‘0’, ‘2’), (‘2’, ’0’) and (‘1’, ‘1’). The STIs in [13] are used for the designed ternary memory cell in [21], as shown in Fig. 1. Also, in the memory cell designed in [25], the same STIs are used. In these memory cells, when the latch is locked in the (‘1’, ‘1’) state, the direct current flows from VDD to the ground for both STIs. So for storing ‘1’ in these memory cells, a high power would be dissipated, as compared to other states (‘0’ and ‘2’). But, by using the proposed STI, the same static power is expected for three states of storing. 4. Simulation Results The simulation results of the proposed circuit are utilized using the HSPICE Synopsys software and the 32 nm model of Stanford University [16]. The voltages required for this circuit are 0.9 V and 0.45 V, respectively. The logic gates designed with the previous works were evaluated based on various parameters discussed accordingly. Table 2 shows the power, delay, and Power Delay Product (PDP) of different designs. Tab. 2: Comparison of ternary logic gates. STI [13] 2.5 0.269 0.672 NOR+STI OR [13] 6 0.7391 5.9128 NOR [13] 3 0.4676 1.4028 NAND +STI [13] 7.2 0.7349 7.4959 NAND [13] 3 0.4629 1.3889 STI [29] 5.08 0.06 0.304 STNOR [29] 16 0.04 0.64 STNAND [29] 12 0.04 0.48 NOR+STI OR [29] 22.02 0.09 1.981 NAND+STI (AND) [29] 17.1 0.09 1.539 Proposed STI 4.2 0.0089 0.0373 Proposed buffer 8.5 0.0079 0.067 Proposed OR 8 0.02897 0.2312 Proposed AND 12 0.03521 0.4224 As shown in Tab. 2, PDP is improved in the proposed OR, as compared to NOR [13] (one supply) and NOR [29] (two supply), which were about 83 % and 63 %, respectively. If the proposed OR is compared by NOR + STI (to produce OR) for [13] and [29], the PDP is decreased by about 96 % and 85 %, respectively. Also, PDP is improved in the proposed AND, as compared to NAND [13] (one supply) and NAND [29] (two supply), which were about 69 % and 12 %, respectively. If the proposed OR is compared by NAND + STI (to produce AND) for [13] and [29], the PDP is decreased by about 94 % and 72 %, respectively. In the case of the proposed ternary buffer, the PDP improvement in the comparison with the case of combining two STIs to produce the buffer in [13] and [29], is about 95 % and 89 %, respectively. Static power consumption is an important criterion in the design of digital circuits, since circuit may stay in a logic level for a long time (like memory cell). The static and dynamic power for STI in different modes is plotted in Tab. 3. The static power for the proposed design is reported as the total static power dissipated from both voltage sources (VDD and VDD/2). Also, c 2019 ADVANCES IN ELECTRICAL AND ELECTRONIC ENGINEERING 299
THEORETICAL AND APPLIED ELECTRICAL ENGINEERING VOLUME: 17 |NUMBER: 3 |2019 |SEPTEMBER Fig. 11 shows the current drawn from the source for the proposed STI and [13]. Tab. 3: Static power table for proposed STI. Input STI Proposed (nW) STI [13] (nW) STI [29] (nW) 0 V 0.015 0.17 0.18 0.45 V 0.13 794.21 38.37 0.9 V 0.018 0.13 0.14 Tab. 4: Power consumption table for proposed STI. Design Static Power (nW) Dynamic Power (nW) Total Power(nW) Proposed 12.89 27.91 40.72 [13] 264.83 61.61 326.41 [29] 14.53 280.00 51.22 (a) [13]. (b) Proposed. Fig. 11: Current drawn from the power supply against the input. 0 0,2 0,4 0,6 1 1 , 5 2 2 , 5 3 POWER(UW) C-LOAD(FF) [13] [29] [30] Proposed STI Proposed STB (a) Power. SECTION POLICIES VOLUME: XX | NUMBER: X | 2015 | MONTH © 2019 ADVANCES IN ELECTRICAL AND ELECTRONIC ENGINEERING 7 As can be seen in Fig. 12, delay is considerably enhanced by increasing the load capacitance; so, PDP is increased considerably by increasing the load capacitance for the STI design of the ref [30]. As can be seen, in this proposed STB, PDP is better in different loads. . (a) (b) . . (c) Fig. 12: Evaluation the STIs under different loads (a) Power (b) Delay (c) PDP (a) (b) (c) Fig. 13: Transfer characteristic of design (a) [13] (b) proposed STI (c) proposed Buffer The transfer characteristics (VTC) of the proposed STI and STI [13] are shown in Fig. 13. As can be seen, the transfer characteristic of the proposed circuit had a better noise margin due to sharper transient near VDD/4 and 3VDD/4. To calculate the noise margin in accordance with the references [19] and [27], first, , , , , , , and were obtained from the VTC curve, as shown in Fig. 14. (a). Then, according to the following equations and comparison with table 5, the noise margin is calculated. = − = − = − = − (4) As can be observed, the proposed design had a considerably better noise margin in comparison to that in 0 0,2 0,4 0,6 1 1 , 5 2 2 , 5 3 POWER(UW) C-LOAD(FF) [13] [29] [30] Proposed STI Proposed STB 0 200 400 1 1 , 5 2 2 , 5 3 DELAY(PS) C-LOAD(FF) [13] [29] [30] Proposed STI Proposed STB 0 20 40 60 80 1 1 , 5 2 2 , 5 3 PDP(AJ) C-LOAD(FF) [13] [29] [30] Proposed STI Proposed STB (b) Delay. SECTION POLICIES VOLUME: XX | NUMBER: X | 2015 | MONTH © 2019 ADVANCES IN ELECTRICAL AND ELECTRONIC ENGINEERING 7 As can be seen in Fig. 12, delay is considerably enhanced by increasing the load capacitance; so, PDP is increased considerably by increasing the load capacitance for the STI design of the ref [30]. As can be seen, in this proposed STB, PDP is better in different loads. . (a) (b) . . (c) Fig. 12: Evaluation the STIs under different loads (a) Power (b) Delay (c) PDP (a) (b) (c) Fig. 13: Transfer characteristic of design (a) [13] (b) proposed STI (c) proposed Buffer The transfer characteristics (VTC) of the proposed STI and STI [13] are shown in Fig. 13. As can be seen, the transfer characteristic of the proposed circuit had a better noise margin due to sharper transient near VDD/4 and 3VDD/4. To calculate the noise margin in accordance with the references [19] and [27], first, , , , , , , and were obtained from the VTC curve, as shown in Fig. 14. (a). Then, according to the following equations and comparison with table 5, the noise margin is calculated. = − = − = − = − (4) As can be observed, the proposed design had a considerably better noise margin in comparison to that in 0 0,2 0,4 0,6 1 1 , 5 2 2 , 5 3 POWER(UW) C-LOAD(FF) [13] [29] [30] Proposed STI Proposed STB 0 200 400 1 1 , 5 2 2 , 5 3 DELAY(PS) C-LOAD(FF) [13] [29] [30] Proposed STI Proposed STB 0 20 40 60 80 1 1 , 5 2 2 , 5 3 PDP(AJ) C-LOAD(FF) [13] [29] [30] Proposed STI Proposed STB (c) PDP. Fig. 12: Evaluation the STIs under different loads. c 2019 ADVANCES IN ELECTRICAL AND ELECTRONIC ENGINEERING 300
THEORETICAL AND APPLIED ELECTRICAL ENGINEERING VOLUME: 17 |NUMBER: 3 |2019 |SEPTEMBER (a) Proposed STI. (b) STI of [13]. (c) Proposed Buffer. Fig. 13: Voltage Transfer Characteristic (VTC) of different designs. As shown in Tab. 3, when the output is ‘1’, high static power can be obtained by considering the direct current from VDD to the ground [13]. However, in the proposed method and the recent study, the static power is minimized considering the current direct path removal. This is shown in Fig. 9, where the static power versus input voltage can be seen; as shown, the current and static power are greatly decreased in the logic ‘1’ mode in the proposed method. Table 4 separately presents the dynamic power and static power for STIs. As can be seen, the proposed STI has a lower static power dissipation. Although the power dissipation is minimized using only one supply voltage in [30], by increasing the resistance in the voltage division path, the driving ability is reduced considerably. As can be seen in Fig. 12, delay is considerably enhanced by increasing the load capacitance; so, PDP is increased considerably by increasing the load capacitance for the STI design of [30]. As can be seen, in this proposed STB, PDP is better in different loads. The Transfer Characteristics (VTC) of the proposed STI and STI [13] are shown in Fig. 13. As can be seen, the transfer characteristic of the proposed circuit had a better noise margin due to sharper transient near VDD/4and 3VDD/4. To calculate the noise margin in accordance with the references [19] and [27], first, Vi0, Vi1−,Vi1+,Vi2,VO0,VO0−,VO0+and VO2were obtained from the VTC curve, as shown in Fig. 13(a). Then, according to the following equations and comparison with Tab. 5, the noise margin is calculated. NM− 1=V− O1−V− I1, NM0=VI0−VO0, NM+ 1=V+ I1−V+ O1, NM2=VO2−VI2. (6) As can be observed, the proposed design had a considerably better noise margin in comparison to that in [13] and [29]. Tab. 5: Noise margin of the STI. Design NM “0” (mV) NM “1−” (mV) NM “1+” (mV) NM “2” (mV) NM (mV) [13] 180 120 160 210 120 [29] 280 160 160 270 160 Proposed 219 224 224 219 219 Figure 14 shows the write operation for the proposed ternary memory cell. The simulation results of storage power dissipation are compared in Tab. 8, which consists of the static power dissipated from both supply voltages. As can be seen, the storage power in the proposed memory cell for storing the logic ‘1’ is sharply reduced from 8.287·10−7W in the design [21], 4.48 ·10−8W in the design [25], and 9·10−10 W in the c 2019 ADVANCES IN ELECTRICAL AND ELECTRONIC ENGINEERING 301
THEORETICAL AND APPLIED ELECTRICAL ENGINEERING VOLUME: 17 |NUMBER: 3 |2019 |SEPTEMBER Tab. 6: Write delay of the ternary memory cell. Design Write 0→1Write 1→2Write 2→0Write 0→2Write 2→1Write 1→0 [21] 24.45 ps 2.59 ps 10.90 ps 10.64 ps 24 ps 3.4 ps [25] 21.12 ps 3.71 ps 15.66 ps 6.2 ps 21.34 ps 9.085 ps [30] 8.3 ps 5 ps 9.3 ps 12 ps 11.03 ps 8 ps Proposed 9 ps 4 ps 6 ps 10.5 ps 12.5 ps 2 ps design [30] to 2.7·10−10 W according to removing the direct current. The range of static power for storing ‘1’ in the proposed memory cell is like storing ‘0’ and ‘2’. The average delay in different states is reported in Tab. 8, which is almost in the same range in all designs in the [30]; by using high resistance, the direct current is reduced considerably against other designs, but the proposed design has 87 % less static power to store logic ‘1’. Table 6 and Tab. 7 show the read and write delay for different designs; as can be seen, the proposed design has lower read and write delay, unlike other designs. Fig. 14: Write operation of the proposed ternary memory cell. Tab. 7: Read delay of the ternary memory cell. Design Read “0” (ps) Read “1” (ps) Read “2” (ps) [21] 127 39 135 [25] 55.1 18.9 20.1 [30] 48.3 22.17 29.4 Proposed 36 15 25 Tab. 8: Standby power of the ternary memory cell. [21] Strong “0” (W) Strong “1” (W) Strong “2” (W) 3.515 ·10−10 8.287 ·10−75.104 ·10−10 [25] 3.21 ·10−10 4.48·10−81.52 ·10−10 [30] 7·10−10 9·10−10 7·10−10 Proposed 3.43 ·10−11 2.7·10−10 3.42 ·10−11 Figure 15 shows the butterfly diagram of the latch proposed. To obtain the Static Noise Margin (SNM) of the proposed latch, the diameter of squarer surrounded by eyes was considered, as reported in Tab. 9. As can be seen, by the proper adjustment of nanotube diameters in the STI, a sharp transient in VDD/4and 3VDD/4 was achieved, causing a high SNM in the proposed memory cell and an almost equal value for storing all three states. Also, the design of [30] has a very good SNM. But other designs have considerably lower SNM for storing logic ‘1’, leading to a considerable lower SNM for the latch. Fig. 15: The SNM of the proposed memory cells (butterfly diagram). Tab. 9: Static noise margin of different design using butterfly diagram. Design SNM “0” (mV) SNM “1” (mV) SNM “2” (mV) Cell SNM (mV) [21] 310 150 310 150 [25] 300 160 300 160 [30] 285 300 285 285 Proposed 311 314 311 311 5. Discussion and Conclusion In this paper, standard ternary logic gates are initially designed so that static power consumption and PDP drops sharply. With the assumption of having two source voltages, VDD and VDD/2, for generating logic ‘1’, VDD/2 source is directly switched to the output and all direct paths from sources to Ground are eliminated. Although using two supply voltages needs an excess line for VDD/2, it causes a sharp reduction in static power if all direct current paths are removed. These gates can be used for low static power applications. Also, in this paper, a new low power memory c 2019 ADVANCES IN ELECTRICAL AND ELECTRONIC ENGINEERING 302