A Stochastic D/A Converter Based on a Cellular

Similar documents
How to Predict the Output of a Hardware Random Number Generator

Design for Test. Design for test (DFT) refers to those design techniques that make test generation and test application cost-effective.

LFSR Counter Implementation in CMOS VLSI

Bit Swapping LFSR and its Application to Fault Detection and Diagnosis Using FPGA

WINTER 15 EXAMINATION Model Answer

DESIGN OF LOW POWER TEST PATTERN GENERATOR

Research Article Ring Counter Based ATPG for Low Transition Test Pattern Generation

True Random Number Generation with Logic Gates Only

Chapter 4. Logic Design

Design of Fault Coverage Test Pattern Generator Using LFSR

Retiming Sequential Circuits for Low Power

VLSI System Testing. BIST Motivation

data and is used in digital networks and storage devices. CRC s are easy to implement in binary

Digital Circuits I and II Nov. 17, 1999

PICOSECOND TIMING USING FAST ANALOG SAMPLING

Design of BIST with Low Power Test Pattern Generator

Decade Counters Mod-5 counter: Decade Counter:

Y. Tsiatouhas. VLSI Systems and Computer Architecture Lab. Built-In Self Test 2

Low Power VLSI CMOS Design An Image Processing Chip for RGB to HSI Conversion

ISSN:

VLSI Test Technology and Reliability (ET4076)

EL302 DIGITAL INTEGRATED CIRCUITS LAB #3 CMOS EDGE TRIGGERED D FLIP-FLOP. Due İLKER KALYONCU, 10043

Logic Design Viva Question Bank Compiled By Channveer Patil

Overview of All Pixel Circuits for Active Matrix Organic Light Emitting Diode (AMOLED)

Design and Simulation of a Digital CMOS Synchronous 4-bit Up-Counter with Set and Reset

A Low Power Delay Buffer Using Gated Driver Tree

Weighted Random and Transition Density Patterns For Scan-BIST

Report on 4-bit Counter design Report- 1, 2. Report on D- Flipflop. Course project for ECE533

Guidance For Scrambling Data Signals For EMC Compliance

Implementation of BIST Test Generation Scheme based on Single and Programmable Twisted Ring Counters

Cellular Automaton prng with a Global Loop for Non-Uniform Rule Control

PARALLEL PROCESSOR ARRAY FOR HIGH SPEED PATH PLANNING

VLSI Technology used in Auto-Scan Delay Testing Design For Bench Mark Circuits

Notes on Digital Circuits

LFSR Test Pattern Crosstalk in Nanometer Technologies. Laboratory for Information Technology University of Hannover, Germany

Digital Logic Design: An Overview & Number Systems

A Pseudorandom Binary Generator Based on Chaotic Linear Feedback Shift Register

SIC Vector Generation Using Test per Clock and Test per Scan

Diagnosis of Resistive open Fault using Scan Based Techniques

INTERNATIONAL JOURNAL OF PURE AND APPLIED RESEARCH IN ENGINEERING AND TECHNOLOGY

Testing Digital Systems II

Power Problems in VLSI Circuit Testing

Design of Test Circuits for Maximum Fault Coverage by Using Different Techniques

Topic D-type Flip-flops. Draw a timing diagram to illustrate the significance of edge

A FOUR GAIN READOUT INTEGRATED CIRCUIT : FRIC 96_1

NH 67, Karur Trichy Highways, Puliyur C.F, Karur District UNIT-III SEQUENTIAL CIRCUITS

DESIGN and IMPLETATION of KEYSTREAM GENERATOR with IMPROVED SECURITY

Efficient Architecture for Flexible Prescaler Using Multimodulo Prescaler

Optimization of Multi-Channel BCH Error Decoding for Common Cases. Russell Dill Master's Thesis Defense April 20, 2015

Overview: Logic BIST

Reconfigurable Neural Net Chip with 32K Connections

Sri Vidya College of Engineering And Technology. Virudhunagar Department of Electrical and Electronics Engineering

An MFA Binary Counter for Low Power Application

IT T35 Digital system desigm y - ii /s - iii

Jin-Fu Li Advanced Reliable Systems (ARES) Laboratory. National Central University

12-bit Wallace Tree Multiplier CMPEN 411 Final Report Matthew Poremba 5/1/2009

Digital Correction for Multibit D/A Converters

I. INTRODUCTION. S Ramkumar. D Punitha

Module -5 Sequential Logic Design

ASNT8140. ASNT8140-KMC DC-23Gbps PRBS Generator with the (x 7 + x + 1) Polynomial. vee. vcc qp. vcc. vcc qn. qxorp. qxorn. vee. vcc rstn_p.

FDTD_SPICE Analysis of EMI and SSO of LSI ICs Using a Full Chip Macro Model

DESIGN OF TEST PATTERN OF MULTIPLE SIC VECTORS FROM LOW POWER LFSR THEORY AND APPLICATIONS IN BIST SCHEMES

Notes on Digital Circuits

International Journal of Scientific & Engineering Research, Volume 5, Issue 9, September ISSN

UNIT IV CMOS TESTING. EC2354_Unit IV 1

Scan. This is a sample of the first 15 pages of the Scan chapter.

High Speed 8-bit Counters using State Excitation Logic and their Application in Frequency Divider

Area-efficient high-throughput parallel scramblers using generalized algorithms

Synthesis Techniques for Pseudo-Random Built-In Self-Test Based on the LFSR

Interfacing Analog to Digital Data Converters. A/D D/A Converter 1

A NOVEL DESIGN OF COUNTER USING TSPC D FLIP-FLOP FOR HIGH PERFORMANCE AND LOW POWER VLSI DESIGN APPLICATIONS USING 45NM CMOS TECHNOLOGY

Lecture 18 Design For Test (DFT)

Dynamic Power Reduction in Sequential Circuits Using Look Ahead Clock Gating Technique R. Manjith, C. Muthukumari

Chapter 3: Sequential Logic Systems

Asynchronous (Ripple) Counters

Copyright 2011 by Enoch Hwang, Ph.D. and Global Specialties. All rights reserved. Printed in Taiwan.

Dual Slope ADC Design from Power, Speed and Area Perspectives

Midterm Exam 15 points total. March 28, 2011

An FPGA Implementation of Shift Register Using Pulsed Latches

DESIGN AND IMPLEMENTATION OF SYNCHRONOUS 4-BIT UP COUNTER USING 180NM CMOS PROCESS TECHNOLOGY

CMOS Testing-2. Design for testability (DFT) Design and Test Flow: Old View Test was merely an afterthought. Specification. Design errors.

Vignana Bharathi Institute of Technology UNIT 4 DLD

Efficient 500 MHz Digital Phase Locked Loop Implementation sin 180nm CMOS Technology

Instructions. Final Exam CPSC/ELEN 680 December 12, Name: UIN:

DIGITAL ELECTRONICS MCQs

ANALYSIS OF POWER REDUCTION IN 2 TO 4 LINE DECODER DESIGN USING GATE DIFFUSION INPUT TECHNIQUE

Lecture 23 Design for Testability (DFT): Full-Scan (chapter14)

ECE 715 System on Chip Design and Test. Lecture 22

Improve Performance of Low-Power Clock Branch Sharing Double-Edge Triggered Flip-Flop

Adding Analog and Mixed Signal Concerns to a Digital VLSI Course

CS3350B Computer Architecture Winter 2015

International Journal of Engineering Research-Online A Peer Reviewed International Journal

Available online at ScienceDirect. Procedia Computer Science 46 (2015 ) Aida S Tharakan a *, Binu K Mathew b

MUHAMMAD NAEEM LATIF MCS 3 RD SEMESTER KHANEWAL

FPGA IMPLEMENTATION AN ALGORITHM TO ESTIMATE THE PROXIMITY OF A MOVING TARGET

RS flip-flop using NOR gate

A Fast Constant Coefficient Multiplier for the XC6200

Massachusetts Institute of Technology Department of Electrical Engineering and Computer Science Introductory Digital Systems Laboratory

Random Access Scan. Veeraraghavan Ramamurthy Dept. of Electrical and Computer Engineering Auburn University, Auburn, AL

Low Power VLSI Circuits and Systems Prof. Ajit Pal Department of Computer Science and Engineering Indian Institute of Technology, Kharagpur

Transcription:

VLSI DESIGN 1998, Vol. 7, No. 2, pp. 203-210 Reprints available directly from the publisher Photocopying permitted by license only (C) 1998 OPA (Overseas Publishers Association) Amsterdam B.V. Published under license under the Gordon and Breach Science Publishers imprint. Printed in India. A Stochastic D/A Converter Based on a Cellular Automaton Architecture I. ANDREADIS*, I. KOKOLAKIS, A. GASTERATOS and PH. TSALIDES Laboratory of Electronics, Section of Electronics and Information Systems Technology, Department of Electrical and Computer Engineering, Democritus University of Thrace 67100 Xanthi, Greece (Received 22 February 1997) The design and VLSI implementation of a new stochastic D/A converter using the properties of Cellular Automata (CA) is presented in this paper. The converter is implemented using a Double Layer Metal (DLM), 0.7 tm, N-well, CMOS technology process provided by the European Silicon Structures (ES2). Its maximum conversion rate is 6 khz and it is intended to be used in low-cost applications. Additionally, the proposed approach integrates into digital techniques more easily than other popular building D/A techniques. Keywords: Converters, cellular automata, VLSI 1. INTRODUCTION The goal of a D/A converter is to convert a quantity specified as a binary number to a voltage or current proportional to the value of this number. The most popular D/A conversion techniques are: (i) scaled resistors into summing junction, (ii) R-2R ladder and (iii) stochastic. The vast majority of converters use the resistor ladder approach. The stochastic technique though slower is significantly lower in cost and it integrates into digital techniques more easily [1]. The key building block of a stochastic D/A is the Pseudo Random Number Generator (PRNG). In the stochastic D/A converter approach the pseudo number generation is usually performed through software. Although this results in a lowcost implementation the conversion rates achieved are only a few tens Hz. The use of specific hardware (CA or LFSRs) in the pseudo number generation process significantly improves conversion rates. PRNGs based on Additive Cellular Automata (ACA) do not have long feedback loops and, therefore, can operate at significantly higher speeds compared to traditional Linear Feedback Shift Register (LFSR) based PRNGs [2, 3]. A sixcell CA circuit is 1.7 times faster than the analogous LFSR circuit. Also, they compare favourably with the autocorrelation and cross correlation of LFSR generators. Furthermore, their regular structure and interconnections result in efficient layouts and less silicon. This paper *Corresponding author. 203

204 I. ANDREADIS et al. presents for the first time, as far as we know, the design and VLSI implementation of a stochastic D/A converter using the properties of CA. Its maximum speed of operation is 6 khz. The D/A converter is intended to be used in low-cost D/A conversion applications. 2. DEFINITIONS OF CELLULAR AUTOMATA One-dimensional (l-d) CA consist of cells arranged in a straight line, as shown in Figure 1 [4]. The local state of a CA is defined as the value al t) of the cell at position on time step t. A CA evolves in discrete time steps, and the value of a local state at any given clock cycle depends on the cell neighbourhood values on the previous clock cycle, according to a specific rule (local rule). Neighbourhood which consists of the adjacent cells is called 3-neighbourhood. The CA local rule, g, of a 3-neighbourhood CA is denoted as: (t+l) g(a}21 al t) (t) ai "i+ (1) A rule can be represented by a state transition table shown in Table I. The local rules for the CA are described by an 8-bit number. This number represents the state transition function of the CA, and its decimal equivalent is referred to as the rule number [5]. There are 28 distinct CA rules in one dimension with a 3-neighbourhood. A CA that uses only linear functions to form the local rule is called an additive CA. For example, XOR operation (modulo 2 addition) of the two nearest neighbours defines rule 90 [4], where: a}t) ai-l(t-1) 1 "i+l"(t--1)(@ denotes mod 2 addition) Rule 150 is defined by the relation [4]: a}t) a(t-1)..(t-l) a(t-1) "i-1 ( i ] "i+1 (3) The boundary conditions can be either periodic or null. Periodic boundary conditions suggest that the CA forms a ring thereby making the first and last neighbours, whilst null boundary conditions assume that the first and last cells consider their missing neighbour cell to always have a zero value. The.global state for a CA is defined as the ordered set of the local states of its cells. The total number of possible global states for a CA with N distinct cells is 2v, each state being uniquely specified by an integer word of N bits, which represent individual cells. An N-bit additive CA is characterised by a NxN matrix Tr, called the global rule transition matrix, operating over GF(2). The construction of the Tv matrix is based on the neighbourhood dependence of the cells. For Boundary Conditions Boundary Conditions Cell 2 N-1 N FIGURE One dimensional cellular automation. TABLE State transition table for rules 0, 90 and 150 111 110 Rule 0 0 0 Rule 90.0 Rule 150 0 101 100 011 010 001 00 Previous 0 State 0 0 0 0 0 0 Next 0 0 0 State 0 0 0

STOCHASTIC D/A CONVERTER 205 example rule 90 is characterised by the following matrix: 0 0 0 0. 0 0 1 0 1 0 0. 0 0 TN= 0 1 0 1 0. 0 0 (4) 0 0 exhaustive if its characteristic polynomial PX) is primitive. An exhaustive CA can be built by a null bounded HCA with alternation of additive rules resulting in a primitive polynomial Px) [2]. As an example of the behaviour of such a hybrid additive CA (HACA), construct a null boundary CA of an even length N, and then alternate rule 90 and rule 150, as shown in Figure 2a. The transition matrix in this case is" If a (t) [a t) at).., a?] ris the global state vector of clock cycle then the next global state, A (t + 1), of clock cycle + 1 can be directly obtained from the relation: T90/150 Cll 1 0 0 0 0 0 C22 0 0 0 0 0 1 c33 0 0 0 A (t+l) TN * A(t)(* represents matrix multiplication over GF (2)) The characteristic polynomial of the matrix Tv characterises completely the CA and is given by the relation: Pv(X) det ITn +x. IN] (6) where lv denotes the NxN identity matrix. 3. CA BASED PSEUDO RANDOM BINARY SEQUENCE GENERATION In homogeneous CA the same rule is applied to all cells. A Hybrid Cellular Automaton (HCA) renounces the uniformity of the rule and different cells can follow different rules to update their states. An N-bit CA which yields to a sequence of global states of length 2v-1 (maximum length sequence) is called exhaustive [2]. A CA is 0 Cnn where cii(1 <i<n) can either be 0 or 1; ii"-" 0 refers to rule 90 whilst cii refers to rule 150. It can be seen from equation (7) that the HACA can be constructed directly from the values in the diagonal, if its 90/150 matrix is known [6]. Figures 2b and 2c show the cells of the CA based pseudo random number generator. The required communications are restricted to the nearest neighbours, and, thus the speed advantage becomes obvious. A HACA is much faster than a LFSR with the same characteristic polynomial [2-3]. The most critical nodes, as far as the speed of the 8-bit HACA circuit is concerned, are the outputs of the three input XOR. As a result the speed of a HACA does not depend on its length, but on the delay of the three input XOR. For larger implementations the advantage in speed is even more significant, as the CA approach does not become slower, whereas the LFSR technique becomes appreciably slower, since the delay grows (7) 150 Rule 90 Rule 150 Rule 90 Rule 150 Rule 90 Cell 2 3 4 5 6 7 8 FIGURE 2 (a) Eight-cell CA based PRNG, (b) Rule 90 cell circuitry and (c) Rule 150 cell circuitry.

206 I. ANDREADIS et al. Next Neighbour Next Neighbour 4. CIRCUITRY OF THE STOCHASTIC D/A XOR Previous Neighbour Next Neighbour l XOR Previous Neighbour Clock Reset Clock Reset Rule 150 Cell Rule 90 Cell FIGURE 2 DFLIP-FLOP Previous Neighbour Next Neighbour l DFLIP-FLOP (Continued). Previous Neighbour linearly with the number of stages. Also, LFSRs and HACA produce sequences of global states of similar statistical characteristics with uniform distributions but HACA are Superior than LFSRs in several statistical tests [7]. Figure 3 shows two different presentations of the state-time diagram of the 8-bit CA based PRNG. The state-time diagram shown in Figure 3b, assigns each bit in the CA to a horizontal pixel and assigns the pixel the value "" if the corresponding bit is a logical 1. The time axis runs vertically, thereby, showing successive values in the CA. All the 255 different local states are present. The block diagram of a stochastic converter is shown in Figure 4. In this circuit, the digital value is converted to a time ratio which is output as a pulse width. The pulses are output as//max for time Ton followed by zero for time Toff in a continuously repeated cycle until a new Your is required. The pulse train is then integrated by an external lossy integrator circuit. This is a classical case of a smoothing (or reconstruction) filter. The output of the integrator, assuming a very long time constant, is: Ton Vout Vmax (8) To. + To The long term average of the pulse train is the correct mean Vout, but there is a problem as frequency f of the output signal should be f<<l/ (Ton+ Tort). The problem can be visualised by considering the capacitor being charged up for time To and then discharging for time Tom In this way the output fluctuates about the desired value. The proposed solution is to distribute the To into many more shorter ON times, and distribute the Tort into similar number of OFF times leaving the total on and off in a cycle unaltered by spreading them evenly through the cycle. This can be achieved through a PRNG that produces pseudo random sequences of a uniform distribution. CA based PRNGs provide an alternative to conventional LFSR based generators with improved Decimal Representation of Global States 150,50 loo 50 200 250 Time Steps FIGURE 3 Two different presentations of the state-time diagram of the CA based PRNG; 255 time steps are presented.

STOCHASTIC D/A CONVERTER 207. 8 m............ m...._ 8 88 88 8..... 8 8 8 8 88. 8 8 8 8_... 8... 88 8 888 8 _8888 8_..8 _8_8._. 8..8_8 _8 88 _. 8 88 8 88 8._ 8 _8_88_8 8 8..8 8_ 88 8 8 888 8 _..8 88 8 8_8 8..888 8 m 8 88.. 8 888 88 8 8 8 8 88 8 8 88 8 _8 8 8 8 8 88 FIGURE 3 (Continued).

208 I. ANDREADIS et al. Digital Input I 8 Analog Output I FIGURE 4 Block diagram of the stochastic D/A convertor. randomness properties [3]. The digital input value is compared with the present value of the PRNG and if the digital input is greater, then Vmax is output for the duration of that minor cycle, otherwise the output is zero. Of course, there are now minor cycles but the same timing accuracy is required for a given digital to analogue accuracy as for a simple pulse width cycle. Also, notice that for FIGURE 5 Parallel pipelined comparator. an eight-bit resolution, 256 possible time divisions per major pulse are required. The comparator, shown in Figure 5, is a parallel pipelined 8-bit comparator. It operates similarly to FIGURE 6 Block level layout of the ASIC.

STOCHASTIC D/A CONVERTER 209 400 800 1200 1600 2000 20-- 0 400 800 1200 1600 2000 {b} FIGURE 7 Illustration of conversion process for two digital inputs. the traditional comparators, but the results of the processing levels are latched using the pipelining principle to speed up the comparison process. Thus, the comparator can operate at similar speed to the PRNG. The maximum frequency of operation of the digital block, implemented in VLSI, is 125MHz (worst case). The die size dimensions of the chip are 1.65 mmx 1.65 mm= 2.72 mm2. A block level layout of this chip is shown in Figure 6. The inputs to the chip are the 8-bit digital data, the clock, as well as the power and ground connections, whereas the output is the output of the comparator. The simulation and test language STL, a high level language with a structure similar to the C language, has been used to examine the functionality of the chip. The STL simulation output comparison capability allows to automatically compare the expected output values specified in the STL source program with the results of the simulation. No errors have been detected during this process. The required integration is performed by an external smoothing filter. For each minor cycle, these must be either on or off. Each of these divisions has a duration of t 1/125 8 ns and the major cycle has a duration of 255*t-2ps. The integrator must integrate a number of such cycles before its output settles. With a single pole integrator with a time constant of 10 ps the settling time will be approximately 4.5 (time constants) x 10 40.5 ts. Assuming four outputs per cycle the maximum conversion frequency becomes 6 khz. Figure 7a depicts the output of the comparator for two digital inputs, whereas Figure 7b shows the output of the integrator for the latter inputs. This is the analogue output of the proposed technique. It is clear from the previous discussion that the higher the resolution of the converter the lower its speed. As a CMOS device a low power consumption is expected. The circuit draws only 0.5 pa from the + 5V dc power supply. The linearity error is 4-1/2 LSB maximum. 5. CONCLUSIONS The design and VLSI implementation of a new stochastic D/A converter using the properties of

210 I. ANDREADIS et al. CA have been presented in this paper. The implementation technique is faster than the similar existing ones, due to the speed of the CA based PRNG. Furthermore, it integrates more easily with digital techniques. Its maximum frequency of operation is 6 khz. The converter is intended for use in low-cost D/A conversion applications. Acknowledgements The financial support of DUTH Research Committee is gratefully acknowledged. References [1] Maloberti, F. and Jonnaeum, P. O. L. (1991). "Over Sampling Converters", (In Analogue-Digital ASICs: Circuit Techniques, Design and Applications: Editors R.S. Soin, F. Maloberti and J. Franea), IEE Circuits and Systems Series 3. [2] Tsalides, Ph., York, T. A. and Thanailakis, A. (July 1991). "Pseudorandom Number Generators for VLSI Systems Based on Linear Cellular Automata", IEE Proceedings-E, 138(4), pp. 241 249. [3] Hortensius, P., McLeod, R., Pries, W., Miller, M. and Card, H. (August 1989). "Cellular Automata-Based Pseudorandom Number Generators for Built-in-Self Test", IEEE Trans. on CAD, 8(8), pp. 842-859. [4] Pries, W., Thanailakis, A. and Card, H. C. (Dec. 1986). "Group Properties of Cellular Automata and VLSI Applications", IEEE Trans. on Computers, 35(12), pp. 1013-1024. [5] Wolfram, S. (1983). "Statistical Mechanics of Cellular Automata", Review of Modern Physics, 55(3), pp. 601-644. [6] Damarla, Th. and Sathye, A. (Oct. 1993). "Applications of One-dimensional Cellular Automata and Linear Feed-.back Shift Registers for Pseudo-exhaustive Testing", IEEE Trans. Computer Aided Design, 12(10), pp. 1580-1591. [7] Nandi, S. and Chaudhuri, P. P. (Jan. 1996). "Analysis of Periodic and Intermediate Boundary 90/150 Cellular Automata", IEEE Trans. Computers, 45(1), pp. 1-12. Authors Biographies loannis Andreadis received the Diploma Degree from the Department of Electrical Engineering, Democritus University of Thrace, Greece, in 1983, and the M.Sc. and Ph.D. degrees from the University of Manchester Institute of Science and Technology (UMIST), U.K., in 1985 and 1989, respectively. His research interests are mainly in machine vision and VLSI based computing architectures for machine vision. He joined the Department of Electrical and Computer Engineering, Democritus University of Thrace, Greece, as a Lecturer in 1992. He is a member of the Technical Chamber of Greece (TEE) and the IEEE Computer Society. loannis Kokolakis received the Diploma Degree from the Department of Electrical and Computer Engineering, Democritus University of Thrace, Greece, in 1993. He is currently a Ph.D. candidate in the Department of Electrical and Computer Engineering, Democritus University of Thrace, Greece. His research interests are mainly in coding/decoding techniques using Cellular Automata. He is a member of the Technical Chamber of Greece (TEE). Antonios Gasteratos received the Diploma Degree from the Department of Electrical and Computer Engineering, Democritus University of Thrace, Greece, in 1994. He is currently a Ph.D. candidate in the Department of Electrical and Computer Engineering, Democritus University of Thrace, Greece. His research interests are mainly in VLSI image processing. He is a member of the Technical Chamber of Greece (TEE). Philippos Tsalides was born in Mirina Limnou, Greece, on October 14th 1953. He received the Diploma Degree from the University of Padova, Italy, in 1979 and the Ph.D. degree from Democritus University of Thrace, Greece, in 1985. He is the Professor of Applied Electronics in the Department of Electrical and Computer Engineering, Democritus University of Thrace, Greece. His current research interests include VLSI architectures, VLSI systems, BIST Technique, Applications of Cellular Automata in Image Processing, as well as in Computational Systems. He has published a number of papers and a Textbook on VLSI Systems (Basic Principles of Design and Fabrication). He is a fellow member of the IEE and a member of the Technical Chamber of Greece (TEE).

Rotating Machinery Engineering The Scientific World Journal Distributed Sensor Networks Sensors Control Science and Engineering Advances in Civil Engineering Submit your manuscripts at Electrical and Computer Engineering Robotics VLSI Design Advances in OptoElectronics Navigation and Observation Chemical Engineering Active and Passive Electronic Components Antennas and Propagation Aerospace Engineering Volume 2010 Modelling & Simulation in Engineering Shock and Vibration Advances in Acoustics and Vibration