Construction of a reconfigurable dynamic logic cell

Similar documents
Asynchronous updating of threshold-coupled chaotic neurons

Research Article Constructing Dynamic Multiple-Input Multiple-Output Logic Gates

A Two-Dimensional Chaotic Logic Gate for Improved Computer Security

Introduction to Digital Logic Missouri S&T University CPE 2210 PLDs

Digital Electronics Final Examination. Part A

A simple electronic circuit to demonstrate bifurcation and chaos

IMPLEMENTATION OF PROGRAMMABLE LOGIC DEVICES IN QUANTUM CELLULAR AUTOMATA TECHNOLOGY

CSC9R6 Computer Design. Practical Digital Logic

Novel Devices and Circuits for Computing

per chip (approx) 1 SSI (Small Scale Integration) Up to 99

GaAs and InGaAs Single Electron Hex. Title. Author(s) Kasai, Seiya; Hasegawa, Hideki. Citation 13(2-4): Issue Date DOI

MTJ-Based Nonvolatile Logic-in-Memory Architecture and Its Application

CONTROLLING CHAOS. Sudeshna Sinha. The Institute of Mathematical Sciences Chennai

Deutsch Algorithm on Classical Circuits

CSE370: Introduction to Digital Design

DESİGN AND ANALYSİS OF FULL ADDER CİRCUİT USİNG NANOTECHNOLOGY BASED QUANTUM DOT CELLULAR AUTOMATA (QCA)

RICH VARIETY OF BIFURCATIONS AND CHAOS IN A VARIANT OF MURALI LAKSHMANAN CHUA CIRCUIT

A NOVEL PRESENTATION OF PERES GATE (PG) IN QUANTUM-DOT CELLULAR AUTOMATA(QCA)

Chaos in Modified CFOA-Based Inductorless Sinusoidal Oscillators Using a Diode

Design Considerations for Integrated Semiconductor Control Electronics for a Large-scale Solid State Quantum Processor

Implementation of Quantum dot Cellular Automata based Novel Full Adder and Full Subtractor

2. Accelerated Computations

DESIGN AND IMPLEMENTATION OF EFFICIENT HIGH SPEED VEDIC MULTIPLIER USING REVERSIBLE GATES

Section 4. Nonlinear Circuits

Transformation Techniques for Real Time High Speed Implementation of Nonlinear Algorithms

From Physics to Logic

Floating Point Representation and Digital Logic. Lecture 11 CS301

Building a Computer Adder

Boolean Algebra and Digital Logic 2009, University of Colombo School of Computing

Digital Circuits. 1. Inputs & Outputs are quantized at two levels. 2. Binary arithmetic, only digits are 0 & 1. Position indicates power of 2.

Experiment 7: Magnitude comparators

A Novel Ternary Content-Addressable Memory (TCAM) Design Using Reversible Logic

Implementation of Boolean Logic by Digital Circuits

Mark Redekopp, All rights reserved. Lecture 1 Slides. Intro Number Systems Logic Functions

CS470: Computer Architecture. AMD Quad Core

Computer organization

Area-Time Optimal Adder with Relative Placement Generator

Digital Electronics. Part A

Intro To Digital Logic

Design of Optimized Quantum-dot Cellular Automata RS Flip Flops

Reservoir Computing with Stochastic Bitstream Neurons

Control gates as building blocks for reversible computers

ENGR4300 Fall 2005 Test 3A. Name. Section. Question 1 (25 points) Question 2 (25 points) Question 3 (25 points) Question 4 (25 points)

Inducing Chaos in the p/n Junction

A Hardware Approach to Self-Testing of Large Programmable Logic Arrays

PERFORMANCE ANALYSIS OF CLA CIRCUITS USING SAL AND REVERSIBLE LOGIC GATES FOR ULTRA LOW POWER APPLICATIONS

Lecture 7: Logic design. Combinational logic circuits

DESIGN OF REVERSIBLE ARITHMETIC AND LOGIC UNIT USING REVERSIBLE UNIVERSAL GATE

XOR - XNOR Gates. The graphic symbol and truth table of XOR gate is shown in the figure.

VLSI. Faculty. Srikanth

DO NOT COPY DO NOT COPY

A NONLINEAR DIGITAL MODEL OF THE EMS VCS3 VOLTAGE CONTROLLED FILTER

the machine makes analytic calculation of rotor position impossible for a given flux linkage and current value.

XI STANDARD [ COMPUTER SCIENCE ] 5 MARKS STUDY MATERIAL.

Unit II Chapter 4:- Digital Logic Contents 4.1 Introduction... 4

An Autonomous Nonvolatile Memory Latch

PHYS225 Lecture 9. Electronic Circuits

IMPLEMENTING EXTRA ELEMENT THEOREM USING NULLOR APPROACH

Power Minimization of Full Adder Using Reversible Logic

DESIGN OF AREA-DELAY EFFICIENT ADDER BASED CIRCUITS IN QUANTUM DOT CELLULAR AUTOMATA

!"#$%&'()*"+,-./*($-"#+"0+'*"12%3+ (#3+4"#&'*"12%3+5'6+6)17-$%1$/)%8*

ECE 407 Computer Aided Design for Electronic Systems. Simulation. Instructor: Maria K. Michael. Overview

Nature-inspired Analog Computing on Silicon

Binary addition example worked out

CIS 371 Computer Organization and Design

Section 3: Combinational Logic Design. Department of Electrical Engineering, University of Waterloo. Combinational Logic

Fundamentals of Digital Design

ALU A functional unit

2.1. Unit 2. Digital Circuits (Logic)

Design and Implementation of Carry Adders Using Adiabatic and Reversible Logic Gates

FPGA accelerated multipliers over binary composite fields constructed via low hamming weight irreducible polynomials

The logic is straightforward. Adding two 0s will result in 0. Adding two 1s results in 10 where 1 is the carry bit and 0 is the sum bit.

An Area Efficient Enhanced Carry Select Adder

PSEUDORANDOM BINARY SEQUENCES GENERATOR

ESE 570: Digital Integrated Circuits and VLSI Fundamentals

Binary addition by hand. Adding two bits

Lab #10: Design of Finite State Machines

KINGS COLLEGE OF ENGINEERING DEPARTMENT OF ELECTRONICS AND COMMUNICATION ENGINEERING QUESTION BANK

Analog computation derives its name from the fact that many physical systems are analogous to

Chua s Oscillator Using CCTA

Chapter 5. Digital Design and Computer Architecture, 2 nd Edition. David Money Harris and Sarah L. Harris. Chapter 5 <1>

Lecture 22 Chapters 3 Logic Circuits Part 1

Every time has a value associated with it, not just some times. A variable can take on any value within a range

Power in Digital CMOS Circuits. Fruits of Scaling SpecInt 2000

STUDY AND IMPLEMENTATION OF MUX BASED FPGA IN QCA TECHNOLOGY

Lecture 6: Time-Dependent Behaviour of Digital Circuits

Logic Design. Chapter 2: Introduction to Logic Circuits

4 Switching Algebra 4.1 Axioms; Signals and Switching Algebra

Experimental verification of the Chua s circuit designed with UGCs

EE115C Digital Electronic Circuits Homework #4

arxiv:chao-dyn/ v1 14 May 1998

ISSN (PRINT): , (ONLINE): , VOLUME-4, ISSUE-10,

FPGA IMPLEMENTATION OF BASIC ADDER CIRCUITS USING REVERSIBLE LOGIC GATES

Digital Integrated Circuits A Design Perspective. Semiconductor. Memories. Memories

EE115C Winter 2017 Digital Electronic Circuits. Lecture 6: Power Consumption

An Analogue Circuit to Study the Forced and Quadratically Damped Mathieu-Duffing Oscillator

Sample Test Paper - I

COSC 243. Introduction to Logic And Combinatorial Logic. Lecture 4 - Introduction to Logic and Combinatorial Logic. COSC 243 (Computer Architecture)

MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION (Autonomous) (ISO/IEC Certified) State any two Boolean laws. (Any 2 laws 1 mark each)

Transcription:

PRAMANA c Indian Academy of Sciences Vol. 64, No. 3 journal of March 2005 physics pp. 433 441 Construction of a reconfigurable dynamic logic cell K MURALI 1, SUDESHNA SINHA 2 and WILLIAM L DITTO 3 1 Department of Physics, Anna University, Chennai 600 025, India 2 The Institute of Mathematical Sciences, Taramani, Chennai 600 113, India 3 Department of Biomedical Engineering, University of Florida, Gainesville, FL 326611-6131, USA E-mail: kmurali@annauniv.edu; sudeshna@imsc.ernet.in; william.ditto@bme.ufl.edu Abstract. We report the first experimental realization of all the fundamental logic gates, flexibly, using a chaotic circuit. In our scheme a simple threshold mechanism allows the chaotic unit to switch easily between behaviours emulating the different gates. We also demonstrate the combination of gates through a half-adder implementation. Keywords. Nonlinear circuits; logic gates; computer architecture. PACS No. 05.45.+b 1. Introduction Recently there has been a new theoretical direction in harnessing the richness of chaos, namely the exploitation of chaos to do flexible computations [1,2]. The aim is to use a single chaotic element to emulate different logic gates and perform different arithmetic tasks, and further, to have the ability to switch easily between the different operational roles. Such a computing unit may then allow a more dynamic computer architecture and serve as ingredients of a general-purpose device more flexible than statically wired hardware. A system is capable of universal general purpose computing if it can emulate all logic gates. The necessary and sufficient components of computer architecture today are the logical AND, OR, NOT and XOR (exclusive OR) operations, from which we can directly obtain basic operations like bit-by-bit addition and memory [3]. We first recall the theoretical scheme for flexible implementation of all these fundamental logical operations utilizing low dimensional chaos [2], and then we give details of the specific realization of the theory in a chaotic circuit. 2. Theory Here we outline a theoretical scheme for obtaining all basic logic gates with a single chaotic system. Consider a chaotic element (our chaotic chip or chaotic processor) 433

K Murali, Sudeshna Sinha and William L Ditto Table 1. The truth table of the basic logic operations. Column 1 shows AND (I 1, I 2), column 2 shows OR (I 1, I 2) and column 3 shows XOR (I 1, I 2), where the 2 inputs are I 1 and I 2. Column 4 shows the NOT gate, where there is 1 input: I. I 1 I 2 AND OR XOR I NOT 0 0 0 0 0 0 1 0 1 0 1 1 1 0 1 0 0 1 1 1 1 1 1 0 whose state is represented by a value x. In our scheme all the basic logic gate operations, AND, OR, NOT and XOR (see table 1 for the truth table), involve the following steps: (1) Inputs: x x 0 + X 1 + X 2 for the AND, OR and XOR operations, and x x 0 + X for the NOT operation, where x 0 is the initial state of the system, and X = 0 when I = 0 and X = δ (where δ is a positive constant) when I = 1. (2) Chaotic update, i.e. x f(x), where f(x) is a chaotic function. (3) Threshold mechanism to obtain output Z: Z = 0 if f(x) x, and Z = f(x) x if f(x) > x, where x is the threshold. This is interpreted as logic output 0 if Z = 0 and logic ouput 1 if Z = δ. Since the system is chaotic, in order to specify the inital x 0 accurately, one needs a controlling mechanism. Here we will employ a threshold controller to set the inital x 0. So in this example we will use the clipping action of the threshold controller to achieve the initialization, and subsequently to obtain the output as well. Note that in our implementation we demand that the input and output have equivalent definitions (i.e. 1 unit is the same quantity for input and output), as well as among various logical operations. This requires that δ assumes the same value throughout a network, and this will allow the output of one gate element to easily couple to another gate element as input, so that gates can be wired directly into gate arrays implementing compounded logic operations. In order to obtain all the desired input output responses of the different gates, as displayed in table 1, we need to satisfy the conditions enumerated in table 2 simultaneously. Note that the symmetry of inputs reduces the four conditions in the truth table 1 to three distinct conditions, with rows 2 and 3 of table 1 leading to condition 2 in table 2. So given a dynamics f(x) corresponding to the physical device in actual implementation, one must find values of threshold and initial state satisfying the conditions derived from the truth table to be implemented. For instance, table 3 shows the exact solutions of the initial x 0 and threshold x which satisfy the conditions in table 2 when 434 Pramana J. Phys., Vol. 64, No. 3, March 2005

Construction of a reconfigurable dynamic logic cell Table 2. Necessary and sufficient conditions to be satisfied by a chaotic element in order to implement the logical operations AND, OR, XOR and NOT. Operation AND OR XOR NOT Condition 1 f(x 0 ) x f(x 0 ) x f(x 0 ) x f(x 0 ) x = δ Condition 2 f(x 0 + δ) x f(x 0 + δ) x = δ f(x 0 + δ) x = δ f(x 0 + δ) x Condition 3 f(x 0 + 2δ) x = δ f(x 0 + 2δ) x = δ f(x 0 + 2δ) x Table 3. One specific solution of the conditions in table 2 which yields the logical operations AND, OR, XOR and NOT, with δ = 1 4. Operation AND OR XOR NOT x 0 0 x 3 4 1 8 11 16 1 4 3 4 1 2 3 4 f(x) = 4ax(1 x) with parameter a = 1. The constant δ = 1 4 is common to both input and output and to all logical gates. This is the system we will realize through an electrical circuit in this work. Contrast our use of chaotic elements with the possible use of periodic elements on the one hand, and random elements on the other. It is not possible to extract all the different logic responses from the same element in the case of periodic components, as the temporal patterns are inherently very limited. So periodic elements do not offer much flexibility or versatility. Random elements on the other hand have many different temporal sequences. But they are not deterministic and so one cannot use them to design components. Only chaotic dynamics enjoys both richness of temporal behaviour as well as determinism. Here we have showed how one can select temporal responses corresponding to different logic gate patterns from such dynamics, and this ability allows us to construct flexible hardware. However, note that while nonlinearity is absolutely necessary for implementing all the logic gates, chaos may not be always necessary. In the representative example of the logistic map presented here, solutions for all the gates exist only at the fully chaotic limit of the logistic map. But the degree of nonlinearity necessary for obtaining all the desired logic responses will depend on the system at hand and on Chaotic Evolution f(x) Threshold Level x 0 + Threshold Reference Level x Output I Inputs Figure 1. Schematic of the circuit. Pramana J. Phys., Vol. 64, No. 3, March 2005 435

K Murali, Sudeshna Sinha and William L Ditto (a) T1 T2 (b) Figure 2. Circuit implementation of (a) logistic map module and (b) the timing pulses T1 and T2 generated from the clock generator providing a delay of feedback. The output voltage of OA3 becomes a new input voltage to the multiplier AD633 after passing through two sample-and-hold circuits provided the terminals A and B are connected together. The sample-and-hold circuits are constructed with LF398 or ADG412 ICs and they are triggered by T1 and T2. See text for more details. the specific scheme employed to obtain the input output mapping. It may happen that certain nonlinear systems will allow a wide range of logic responses without actually being chaotic. Now in the section below we will present the experimental realization of the theory above, in a discrete electrical circuit. 3. Experiment Here we will present an implementation of the theory discussed in the section above, and we will verify that theoretical solutions, such as table 3, are indeed realizable in electronic circuits. The schematic of the circuit is given in figure 1. Here a 436 Pramana J. Phys., Vol. 64, No. 3, March 2005

Construction of a reconfigurable dynamic logic cell Figure 3. Circuit implementation of the flexible gates module. See text for details. threshold controller with threshold level set by voltage level x 0 is used. The logic level input I = I 1 + I 2 is added to x 0 and used as the new input to the logistic map iteration to generate x n+1. This implements step 1 of the scheme. By using another threshold reference level voltage signal x, the signal difference between x n+1 and x is monitored as the logic level output. This constitutes the third (and final) step of the scheme. In figure 2a the circuit realization of the chaotic logistic map is depicted. In the circuit implementation x n 1, x n and x n+1 denote voltages normalized by 10 V as the unit. An analog multiplier IC AD633 is used as a squarer and it produces the output voltage of x 2 n/10 V for the given x n as the input. By using suitable scale changer, summing amplifier and an invertor the voltage proportional to x n+1 is available at the output of op-amp (OA3) circuit. A variable resistor VR1 is employed to control the parameter a from 0 to 1 in the logistic map. The output voltage of OA3 becomes a new input voltage to the multiplier AD633 after passing through two sample-and-hold circuits (SH1 and SH2) provided the terminals A and B are connected together. The sample-and-hold circuits are constructed with Pramana J. Phys., Vol. 64, No. 3, March 2005 437

K Murali, Sudeshna Sinha and William L Ditto Figure 4. Timing sequences of the OR gate implementation (left): (i) First input I 1, (ii) second input I 2, (iii) state after chaotic update f(x), and (iv) output obtained by thresholding; and timing sequences of the NOT gate implementation (right): (i) Input I, (ii) state after chaotic update f(x), and (iii) output obtained by thresholding (accuracy within 5 mv). I1 I2 SUM CARRY Figure 5. Schematic representation of the half adder implementation on inputs I 1 and I 2, with SUM XOR (I 1, I 2) and CARRY AND (I 1, I 2). LF398 or ADG412 ICs and they are triggered by suitable delayed timing pulses T1 and T2 (shown in figure 2b). The timing pulses are usually generated from the clock generator providing a delay of feedback and the delay is essential for obtaining the solution x n+1 of the logistic map. Usually the clock rate of either 5 khz or 10 khz is used. If the terminals A and B in figure 2a are connected to the respective terminals of the circuit of figure 3, we have the general circuit configuration for the flexible 438 Pramana J. Phys., Vol. 64, No. 3, March 2005

Construction of a reconfigurable dynamic logic cell 0.25V Input 1 (I1) 0.25V Input 2 (I2) f(x) of SUM 1V 0.6V 1V f(x) of CARRY SUM = XOR(I1,I2) 5V 5V CARRY = AND(I1,I2) 0 ms 10 ms Figure 6. Timing sequences of the half adder implemented by the schematic circuit in figure 5 (accuracy within 5 mv). logic gate implementation. In the circuit, all input and output variables are again normalized by 10 V. The control circuit (dotted line box) is the threshold control unit which generates the signal x 0 at terminal C corresponding to the input signal x n+1 at A under the threshold control voltage V 0. The input voltage I = 0 V, 0.25 V or 0.5 V correspond to different logic gates. Here x is another reference threshold voltage used to produce the difference voltage δ from the x n+1 signal. This δ and the input signal I determine the logic condition of the different gates. Here op-amps OA4 to OA9 are implemented with µa741 or AD712. The resistor R = 100 kω and diode D = IN4148 or IN34A. Figure 4 shows the timing sequences of the implementation of two representative gates. The output waveforms are generated with both PSPICE circuit simulations Pramana J. Phys., Vol. 64, No. 3, March 2005 439

K Murali, Sudeshna Sinha and William L Ditto and through hardware implementations. Figure 5 shows the schematic of the circuit implementing the half adder and figure 6 shows its corresponding timing sequences. These waveforms are again straightforwardly obtained in both simulation and experiments. 4. Conclusions In summary, we have experimentally demonstrated the direct and flexible implementation of all the basic logic gates utilizing nonlinear dynamics. The richness of the dynamics allows us to reverse engineer and select all the different gate responses from the same processor by simply setting suitable threshold levels. These threshold levels are known exactly from theory and thus available as a look-up table [4]. Arrays of such logic gates can conceivably be programmed on the run (for instance, with a stream of threshold values being sent in by an external program) to be optimized for the task at hand. For instance they may serve flexibly as an arithmetic processing unit or a unit of memory, and can be swapped, as the need demands, to be one or the other. Thus architectures based on such logic implementations may serve as ingredients of a general-purpose computing device more flexible than statically wired hardware. Finally, what advantages could universal programmable analog logic gates convey over existing approaches and technologies? Where could it potentially be better? Of course we cannot answer this question without defining better in this context. We can define better in many ways: (1) faster, (2) easier to fabricate (and cheaper), (3) reprogrammable, (4) robust to damage or errors and (5) reconfigurable. The easiest metric is faster. It has been demonstrated that high speed electrical [5,6] and optical [6 8] chaotic systems can be fabricated and controlled with frequencies higher than 1 GHz. Obviously, implementations of threshold controllers at these frequencies are a natural future extension. Another metric is the ease of fabrication. Universal programmable analog logic gates can be constructed from a single chaotic circuit. Thus we can envision that all elements can be identical. This could enable more efficient packing in analog programmable logic gate implementations as well as more efficient designs. Another significant potential advantage is also related to making all elements identical. With clever programming approaches that take advantage of identical elements, elements that can endure damage or error can be effectively disconnected from the whole bath of elements and the remaining elements can continue normal operations (albeit with possibly slower operation). Finally, such computing approaches are fundamentally reconfigurable. Specifically since nonlinear electronic and optical components have been shown to be controllable with very small latencies (in nanosecond and below range), we can reasonably imagine logic gates that can be reconfigured, in principle, at GHz frequencies (and above) to change function and operation subject only to the latencies of the hardware, and software and hardware controllers. In conclusion, we have demonstrated a universal programmable logic gate that could potentially provide the starting point for more mature approaches to faster, robust and reconfigurable computational platforms based on the principle of large numbers of identical, reconfigurable and programmable dynamical logic cells. 440 Pramana J. Phys., Vol. 64, No. 3, March 2005

References Construction of a reconfigurable dynamic logic cell [1] S Sinha and W L Ditto, Phys. Rev. Lett. 81, 2156 (1998) S Sinha and W L Ditto, Phys. Rev. E59, 363 (1999) S Sinha, T Munakata and W L Ditto, Phys. Rev. E65, 036216 (2002) [2] S Sinha, T Munakata and W L Ditto, Phys. Rev. E65, 036214 (2002) T Munakata, S Sinha and W L Ditto, IEEE Trans. Circ. Systems 49, 1629 (2002) [3] M M Mano, Computer system architecture, 3rd edition (Prentice Hall, Englewood Cliffs, 1993) T C Bartee, Computer architecture and logic design (Mc-Graw Hill, New York, 1991) [4] Our efforts are in contrast to the earlier efforts of A Toth and K Showalter, J. Chem. Phys. 103, 2058 (1995), who obtain gates from chemical systems by delicately tuning many parameters (involving both the construction of the apparatus, as well as the geometric configuration and timing of the input and output waves). Fine adjustments of these lead to the desired phenomena. In contrast here we have only an adjustable threshold to obtain all the gates from the same system [5] K Myneni et al, Phys. Rev. Lett. 83, 2175 (1999) [6] N J Corron, et al, Int. J. Bifurcat. Chaos 13, 957 (2003) [7] D W Sukow et al, Chaos 7, 560 (1997) [8] J N Blakely et al, Phys. Rev. Lett. 92, 193901 (2004) [9] J N Blakely et al, IEEE J. Quantum Electron. 40, 299 (2004) Pramana J. Phys., Vol. 64, No. 3, March 2005 441