1 Logic Design of Asynchronous Circuits Jordi Cortadella Jim Garside Alex Yakovlev Univ. Politècnica de Catalunya, Barcelona, Spain Manchester University,

Slides:



Advertisements
Similar presentations
1 Bridging the gap between asynchronous design and designers Hao Zheng.
Advertisements

Andrey Mokhov, Victor Khomenko Danil Sokolov, Alex Yakovlev Dual-Rail Control Logic for Enhanced Circuit Robustness.
Data Synchronization Issues in GALS SoCs Rostislav (Reuven) Dobkin and Ran Ginosar Technion Christos P. Sotiriou FORTH ICS- FORTH.
Reading1: An Introduction to Asynchronous Circuit Design Al Davis Steve Nowick University of Utah Columbia University.
Self-Timed Systems Timing complexity growing in digital design -Wiring delays can dominate timing analysis (increasing interdependence between logical.
ECE C03 Lecture 81 Lecture 8 Memory Elements and Clocking Hai Zhou ECE 303 Advanced Digital Design Spring 2002.
ELEC 256 / Saif Zahir UBC / 2000 Timing Methodology Overview Set of rules for interconnecting components and clocks When followed, guarantee proper operation.
Avshalom Elyada, Ran GinosarPipeline Synchronization 1 A Unique and Successfully Implemented Approach to the Synchronization Problem Based on the article.
Presenter : Ching-Hua Huang 2012/4/16 A Low-latency GALS Interface Implementation Yuan-Teng Chang; Wei-Che Chen; Hung-Yue Tsai; Wei-Min Cheng; Chang-Jiu.
1 Clockless Logic  Recap: Lookahead Pipelines  High-Capacity Pipelines.
Modern VLSI Design 4e: Chapter 8 Copyright  2008 Wayne Wolf Topics High-level synthesis. Architectures for low power. GALS design.
Jordi Cortadella, Universitat Politecnica de Catalunya, Barcelona Mike Kishinevsky, Intel Corp., Strategic CAD Labs, Hillsboro.
Synchronous Digital Design Methodology and Guidelines
RTL Hardware Design by P. Chu Chapter 161 Clock and Synchronization.
Hazard-free logic synthesis and technology mapping I Jordi Cortadella Michael Kishinevsky Alex Kondratyev Luciano Lavagno Alex Yakovlev Univ. Politècnica.
Hardware and Petri nets Synthesis of asynchronous circuits from Signal Transition Graphs.
© Ran Ginosar Lecture 3: Handshake Ckt Implementations 1 VLSI Architectures Lecture 3 S&F Ch. 5: Handshake Ckt Implementations.
Digital Integrated Circuits© Prentice Hall 1995 Timing ISSUES IN TIMING.
Hardware and Petri nets: application to asynchronous circuit design Jordi CortadellaUniversitat Politècnica de Catalunya, Spain Michael KishinevskyIntel.
1 Clockless Logic Montek Singh Thu, Jan 13, 2004.
1 Clockless Logic Montek Singh Tue, Mar 23, 2004.
© Ran GinosarAsynchronous Design and Synchronization 1 VLSI Architectures Lecture 2: Theoretical Aspects (S&F 2.5) Data Flow Structures.
ELEC 6200, Fall 07, Oct 24 Jiang: Async. Processor 1 Asynchronous Processor Design for ELEC 6200 by Wei Jiang.
Low Power Design for Wireless Sensor Networks Aki Happonen.
Demystifying Data-Driven and Pausible Clocking Schemes Robert Mullins Tutorial presented at 18 th UK Asynchronous Forum Newcastle, September 2006.
Handshake protocols for de-synchronization I. Blunno, J. Cortadella, A. Kondratyev, L. Lavagno, K. Lwin and C. Sotiriou Politecnico di Torino, Italy Universitat.
COMP Clockless Logic and Silicon Compilers Lecture 3
1 Logic synthesis from concurrent specifications Jordi Cortadella Universitat Politecnica de Catalunya Barcelona, Spain In collaboration with M. Kishinevsky,
Jordi Cortadella, Universitat Politècnica de Catalunya, Spain
1 Bridging the gap between asynchronous design and designers Thanks to Jordi Cortadella, Luciano Lavagno, Mike Kishinevsky and many others.
ASYNC 2000 Eilat April Priority Arbiters Alex Bystrov David Kinniment Alex Yakovlev University of Newcastle upon Tyne, UK.
1 Synchronization of complex systems Jordi Cortadella Universitat Politecnica de Catalunya Barcelona, Spain Thanks to A. Chakraborty, T. Chelcea, M. Greenstreet.
High-Throughput Asynchronous Pipelines for Fine-Grain Dynamic Datapaths Montek Singh and Steven Nowick Columbia University New York, USA
1 Petrify: Method and Tool for Synthesis of Asynchronous Controllers and Interfaces Jordi Cortadella (UPC, Barcelona, Spain), Mike Kishinevsky (Intel Strategic.
Automatic synthesis and verification of asynchronous interface controllers Jordi CortadellaUniversitat Politècnica de Catalunya, Spain Michael KishinevskyIntel.
Chapter #6: Sequential Logic Design 6.2 Timing Methodologies
1 Bridging the gap between asynchronous design and designers Peter A. BeerelFulcrum Microsystems, Calabasas Hills, CA, USA Jordi CortadellaUniversitat.
1 Clockless Computing Montek Singh Thu, Sep 13, 2007.
Fall 2009 / Winter 2010 Ran Ginosar (
Asynchronous Circuit Verification and Synthesis with Petri Nets J. Cortadella Universitat Politècnica de Catalunya, Barcelona Thanks to: Michael Kishinevsky.
Lecture 11 MOUSETRAP: Ultra-High-Speed Transition-Signaling Asynchronous Pipelines.
1 Recap: Lectures 5 & 6 Classic Pipeline Styles 1. Williams and Horowitz’s PS0 pipeline 2. Sutherland’s micropipelines.
1 Clockless Logic: Dynamic Logic Pipelines (contd.)  Drawbacks of Williams’ PS0 Pipelines  Lookahead Pipelines.
Asynchronous Circuits Kent Orthner Wed. March 2nd, 2005 Presentation for: High speed and Low Power VLSI, Dr. Maitham Shams Kent Orthner Wed. March 2nd,
MOUSETRAP Ultra-High-Speed Transition-Signaling Asynchronous Pipelines Montek Singh & Steven M. Nowick Department of Computer Science Columbia University,
Paper review: High Speed Dynamic Asynchronous Pipeline: Self Precharging Style Name : Chi-Chuan Chuang Date : 2013/03/20.
NTU Confidential Test Asynchronous FIR Filter Design Presenter: Po-Chun Hsieh Advisor:Tzi-Dar Chiueh Date: 2003/12/1.
RTL Hardware Design by P. Chu Chapter Overview on sequential circuits 2. Synchronous circuits 3. Danger of synthesizing asynchronous circuit 4.
1 Clockless Computing Montek Singh Thu, Sep 6, 2007  Review: Logic Gate Families  A classic asynchronous pipeline by Williams.
Reading1: An Introduction to Asynchronous Circuit Design Al Davis Steve Nowick University of Utah Columbia University.
Penn ESE370 Fall DeHon 1 ESE370: Circuit-Level Modeling, Design, and Optimization for Digital Systems Day 26: October 31, 2014 Synchronous Circuits.
UNIVERSITY OF ROSTOCK Institute of Applied Microelectronics and Computer Science Single-Rail Self-timed Logic Circuits in Synchronous Designs Frank Grassert,
Reader: Pushpinder Kaur Chouhan
Reading Assignment: Rabaey: Chapter 9
Lecture 11: FPGA-Based System Design October 18, 2004 ECE 697F Reconfigurable Computing Lecture 11 FPGA-Based System Design.
1 Practical Design and Performance Evaluation of Completion Detection Circuits Fu-Chiung Cheng Department of Computer Science Columbia University.
1 Bridging the gap between asynchronous design and designers Peter A. BeerelFulcrum Microsystems, Calabasas Hills, CA, USA Jordi CortadellaUniversitat.
VADA Lab.SungKyunKwan Univ. 1 L5:Lower Power Architecture Design 성균관대학교 조 준 동 교수
Implementing Tile-based Chip Multiprocessors with GALS Clocking Styles Zhiyi Yu, Bevan Baas VLSI Computation Lab, ECE Department University of California,
Penn ESE370 Fall DeHon 1 ESE370: Circuit-Level Modeling, Design, and Optimization for Digital Systems Day 20: October 25, 2010 Pass Transistors.
1 Recap: Lecture 4 Logic Implementation Styles:  Static CMOS logic  Dynamic logic, or “domino” logic  Transmission gates, or “pass-transistor” logic.
1 Clockless Logic Montek Singh Thu, Mar 2, Review: Logic Gate Families  Static CMOS logic  Dynamic logic, or “domino” logic  Transmission gates,
Specification mining for asynchronous controllers Javier de San Pedro† Thomas Bourgeat ‡ Jordi Cortadella† † Universitat Politecnica de Catalunya ‡ Massachusetts.
Other Approaches.
Asynchronous Interface Specification, Analysis and Synthesis
Recap: Lecture 1 What is asynchronous design? Why do we want to study it? What is pipelining? How can it be used to design really fast hardware?
Fundamentals of Computer Science Part i2
Synthesis of asynchronous controllers from Signal Transition Graphs:
De-synchronization: from synchronous to asynchronous
Clockless Logic: Asynchronous Pipelines
Presentation transcript:

1 Logic Design of Asynchronous Circuits Jordi Cortadella Jim Garside Alex Yakovlev Univ. Politècnica de Catalunya, Barcelona, Spain Manchester University, UK University of Newcastle upon Tyne, UK

ASPDAC / VLSI Tutorial on Logic Design of Asynchronous Circuits2 Outline I: Basic concepts on asynchronous circuit design II: Logic synthesis from concurrent specifications III: Advanced topics on synthesis IV: Design practice

3 Logic Design of Asynchronous Circuits Part I: Basic concepts on asynchronous circuit design

ASPDAC / VLSI Tutorial on Logic Design of Asynchronous Circuits4 Outline What is an asynchronous circuit ? Asynchronous communication Async Design Styles (Micropipelines, …) Asynchronous logic building blocks Control specification and implementation Delay models and classes of async circuits Why asynchronous circuits ?

ASPDAC / VLSI Tutorial on Logic Design of Asynchronous Circuits5 Synchronous circuit Implicit (global) synchronization between blocks Clock Period > Max Delay (CL) RRRRCL CLK

ASPDAC / VLSI Tutorial on Logic Design of Asynchronous Circuits6 Asynchronous circuit RRRRCL Explicit (Local) synchronization: Req/Ack handshakes Req Ack

ASPDAC / VLSI Tutorial on Logic Design of Asynchronous Circuits7 Motivation for asynchronous Asynchronous design is often unavoidable: –Asynchronous interfaces, arbiters etc. Modern clocking is multi-phase and distributed – and virtually ‘asynchronous’ (cf. GALS – next slide): –Mesachronous (clock travels together with data) –Local (possibly stretchable) clock generation Robust asynchronous design flow is coming (e.g. VLSI programming from Philips, Balsa from Univ of Manchester, NCL from Theseus Logic …)

ASPDAC / VLSI Tutorial on Logic Design of Asynchronous Circuits8 Globally Async Locally Sync (GALS) Local CLK RR CL Async-to-sync Wrapper Req1 Req2 Req3 Req4 Ack3 Ack4 Ack2 Ack1 Asynchronous World Clocked Domain

ASPDAC / VLSI Tutorial on Logic Design of Asynchronous Circuits9 Key Design Differences Synchronous logic design: –proceeds without taking timing correctness (hazards, signal ack-ing etc.) into account –Combinational logic and memory latches (registers) are built separately –Static timing analysis of CL is sufficient to determine the Max Delay (clock period) –Fixed set-up and hold conditions for latches

ASPDAC / VLSI Tutorial on Logic Design of Asynchronous Circuits10 Key Design Differences Asynchronous logic design: –Must ensure hazard-freedom, signal ack-ing, local timing constraints –Combinational logic and memory latches (registers) are often mixed in “complex gates” –Dynamic timing analysis of logic is needed to determine relative delays between paths To avoid complex issues, circuits may be built as Delay-insensitive and/or Speed- independent (as discussed later)

ASPDAC / VLSI Tutorial on Logic Design of Asynchronous Circuits11 Verification and Testing Differences Synchronous logic verification and testing: –Only functional correctness aspect is verified and tested –Testing can be done with standard ATE and at low speed Asynchronous logic verification and testing: –In addition to functional correctness, temporal aspect is crucial: e.g. causality and order, deadlock-freedom –Testing must cover faults in complex gates (logic+memory) and must proceed at normal operation rate –Delay fault testing may be needed

ASPDAC / VLSI Tutorial on Logic Design of Asynchronous Circuits12 Synchronous communication Clock edges determine the time instants where data must be sampled Data wires may glitch between clock edges (set-up/hold times must be satisfied) Data are transmitted at a fixed rate (clock frequency)

ASPDAC / VLSI Tutorial on Logic Design of Asynchronous Circuits13 Dual rail Two wires with L(low) and H (high) per bit –“LL” = “spacer”, “LH” = “0”, “HL” = “1” n-bit data communication requires 2n wires Each bit is self-timed Other delay-insensitive codes exist (e.g. k-of-n) and event-based signalling (choice criteria: pin and power efficiency)

ASPDAC / VLSI Tutorial on Logic Design of Asynchronous Circuits14 Bundled data Validity signal –Similar to an aperiodic local clock n-bit data communication requires n+1 wires Data wires may glitch when no valid Signaling protocols –level sensitive (latch) –transition sensitive (register): 2-phase / 4-phase

ASPDAC / VLSI Tutorial on Logic Design of Asynchronous Circuits15 Example: memory read cycle Transition signaling, 4-phase Valid address Address Valid data Data AA DD

ASPDAC / VLSI Tutorial on Logic Design of Asynchronous Circuits16 Example: memory read cycle Transition signaling, 2-phase Valid address Address Valid data Data AA DD

ASPDAC / VLSI Tutorial on Logic Design of Asynchronous Circuits17 Asynchronous modules Signaling protocol: reqin+ start+ [computation] done+ reqout+ ackout+ ackin+ reqin- start- [reset] done- reqout- ackout- ackin- (more concurrency is also possible) Data INData OUT req inreq out ack inack out DATA PATH CONTROL startdone

ASPDAC / VLSI Tutorial on Logic Design of Asynchronous Circuits18 Asynchronous latches: C element C A B Z A B Z Z 1 0 Z Vdd Gnd A A A AB B B B Z Z Z [van Berkel 91] Static Logic Implementation

ASPDAC / VLSI Tutorial on Logic Design of Asynchronous Circuits19 C-element: Other implementations A A B B Gnd Vdd Z A A B B Gnd Vdd Z Weak inverter Quasi-Static Dynamic

ASPDAC / VLSI Tutorial on Logic Design of Asynchronous Circuits20 Dual-rail logic A.t A.f B.t B.f C.t C.f Dual-rail AND gate Valid behavior for monotonic environment

ASPDAC / VLSI Tutorial on Logic Design of Asynchronous Circuits21 Completion detection Dual-rail logic C done Completion detection tree

ASPDAC / VLSI Tutorial on Logic Design of Asynchronous Circuits22 Differential cascode voltage switch logic start A.t B.t C.t A.fB.f C.f Z.tZ.f done 3-input AND/NAND gate N-type transistor network

ASPDAC / VLSI Tutorial on Logic Design of Asynchronous Circuits23 Examples of dual-rail design Asynchronous dual-rail ripple-carry adder (A. Martin, 1991) –Critical delay is proportional to logN (N=number of bits) –32-bit adder delay (1.6m MOSIS CMOS): 11ns versus 40 ns for synchronous –Async cell transistor count = 34 versus synchronous = 28 More recent success stories (modularity and automatic synthesis) of dual-rail logic from Null-Convension Logic from Theseus Logic

ASPDAC / VLSI Tutorial on Logic Design of Asynchronous Circuits24 Bundled-data logic blocks Single-rail logic delay startdone Conventional logic + matched delay

ASPDAC / VLSI Tutorial on Logic Design of Asynchronous Circuits25 Mutual exclusion element req 1 req 2 ack1 ack2 (0) (1) (0) Basic arbitration element: Mutex An asynchronous data latch with MS resolver can be built similarly Metastability resolver

ASPDAC / VLSI Tutorial on Logic Design of Asynchronous Circuits26 Micropipelines (Sutherland 89) C Join Merge Toggle r1 r2 g1 g2 d1 d2 Request- Grant-Done (RGD)Arbiter Call r1 r2 r a a1 a2 Select in outf outt sel in out 0 out 1 Micropipeline (2-phase) control blocks

ASPDAC / VLSI Tutorial on Logic Design of Asynchronous Circuits27 Micropipelines (Sutherland 89) LLLLlogic R in A out C C C C R out A in delay

ASPDAC / VLSI Tutorial on Logic Design of Asynchronous Circuits28 Data-path / Control LLLLlogic R in R out CONTROL A in A out

ASPDAC / VLSI Tutorial on Logic Design of Asynchronous Circuits29 Control specification A+ B+ A- B- A B A input B output

ASPDAC / VLSI Tutorial on Logic Design of Asynchronous Circuits30 Control specification A+ B+ A- B- A B

ASPDAC / VLSI Tutorial on Logic Design of Asynchronous Circuits31 Control specification A+ B- A- B+ A B

ASPDAC / VLSI Tutorial on Logic Design of Asynchronous Circuits32 Control specification A+ C- A- C+ A C B+ B- B C

ASPDAC / VLSI Tutorial on Logic Design of Asynchronous Circuits33 Control specification A+ C- A- C+ A C B+ B- B C

ASPDAC / VLSI Tutorial on Logic Design of Asynchronous Circuits34 Control specification C C Ri Ro Ai Ao Ri+ Ao+ Ri- Ao- Ro+ Ai+ Ro- Ai- Ri Ro Ao Ai FIFO cntrl

ASPDAC / VLSI Tutorial on Logic Design of Asynchronous Circuits35 A simple filter: specification y := 0; loop x := READ (IN); WRITE (OUT, (x+y)/2); y := x; end loop R in A in A out R out IN OUT filter

ASPDAC / VLSI Tutorial on Logic Design of Asynchronous Circuits36 A simple filter: block diagram xy + control R in A in R out A out RxRx AxAx RyRy AyAy RaRa AaAa IN OUT x and y are level-sensitive latches (transparent when R=1) + is a bundled-data adder (matched delay between R a and A a ) R in indicates the validity of IN After A in + the environment is allowed to change IN (R out,A out ) control a level-sensitive latch at the output

ASPDAC / VLSI Tutorial on Logic Design of Asynchronous Circuits37 A simple filter: control spec. xy + control R in A in R out A out RxRx AxAx RyRy AyAy RaRa AaAa IN OUT R in + A in + R in - A in - Rx+Rx+ Ax+Ax+ Rx-Rx- Ax-Ax- Ry+Ry+ Ay+Ay+ Ry-Ry- Ay-Ay- Ra+Ra+ Aa+Aa+ Ra-Ra- Aa-Aa- R out + A out + R out - A out -

ASPDAC / VLSI Tutorial on Logic Design of Asynchronous Circuits38 A simple filter: control impl. R in + A in + R in - A in - Rx+Rx+ Ax+Ax+ Rx-Rx- Ax-Ax- Ry+Ry+ Ay+Ay+ Ry-Ry- Ay-Ay- Ra+Ra+ Aa+Aa+ Ra-Ra- Aa-Aa- R out + A out + R out - A out - C R in A in RxRx AxAx RyRy AyAy AaAa RaRa A out R out

ASPDAC / VLSI Tutorial on Logic Design of Asynchronous Circuits39 Control: observable behavior Rx+Rx+ R in + Ax+Ax+Ra+Ra+Aa+Aa+R out +A out +z+R out -A out -Ry+Ry+ Ry-Ry- Ay+Ay+ Rx-Rx-Ax-Ax- Ay-Ay- A in - A in + Ra-Ra- R in - Aa-Aa- z- C R in A in RxRx AxAx RyRy AyAy AaAa RaRa A out R out z

ASPDAC / VLSI Tutorial on Logic Design of Asynchronous Circuits40 Taking delays into account x+ x- y+ y- z+ z- x z y x’ z’ Delay assumptions: Environment: 3 times units Gates: 1 time unit events: x+  x’-  y+  z+  z’-  x-  x’+  z-  z’+  y-  time:

ASPDAC / VLSI Tutorial on Logic Design of Asynchronous Circuits41 Taking delays into account x+ x- y+ y- z+ z- x z y x’ z’ Delay assumptions: unbounded delays events: x+  x’-  y+  z+  x-  x’+  y- time: very slow failure !

ASPDAC / VLSI Tutorial on Logic Design of Asynchronous Circuits42 Gate vs wire delay models Gate delay model: delays in gates, no delays in wires Wire delay model: delays in gates and wires

ASPDAC / VLSI Tutorial on Logic Design of Asynchronous Circuits43 Delay models for async. circuits Bounded delays (BD): realistic for gates and wires. –Technology mapping is easy, verification is difficult Speed independent (SI): Unbounded (pessimistic) delays for gates and “negligible” (optimistic) delays for wires. –Technology mapping is more difficult, verification is easy Delay insensitive (DI): Unbounded (pessimistic) delays for gates and wires. –DI class (built out of basic gates) is almost empty Quasi-delay insensitive (QDI): Delay insensitive except for critical wire forks (isochronic forks). –In practice it is the same as speed independent BD SI  QDI DI

ASPDAC / VLSI Tutorial on Logic Design of Asynchronous Circuits44 Motivation (designer’s view) Modularity for system-on-chip design –Plug-and-play interconnectivity Average-case peformance –No worst-case delay synchronization Many interfaces are asynchronous –Buses, networks,...

ASPDAC / VLSI Tutorial on Logic Design of Asynchronous Circuits45 Motivation (technology aspects) Low power –Automatic clock gating Electromagnetic compatibility –No peak currents around clock edges Security –No ‘electro-magnetic difference’ between logical ‘0’ and ‘1’in dual rail code Robustness –High immunity to technology and environment variations (temperature, power supply,...)

ASPDAC / VLSI Tutorial on Logic Design of Asynchronous Circuits46 Dissuasion Concurrent models for specification –CSP, Petri nets,...: no more FSMs Difficult to design –Hazards, synchronization Complex timing analysis –Difficult to estimate performance Difficult to test –No way to stop the clock

ASPDAC / VLSI Tutorial on Logic Design of Asynchronous Circuits47 But... some successful stories Philips AMULET microprocessors Sharp Intel (RAPPID) Start-up companies: –Theseus logic, ADD Inc., Self-Timed Solutions Recent blurb: It's Time for Clockless Chips, by Claire Tristram (MIT Technology Review, v. 104, no.8, October 2001: /oct01/tristram.asp) /oct01/tristram.asp ….