ECE 551: Digital System Design & Synthesis

Slides:



Advertisements
Similar presentations
1 The 2-to-4 decoder is a block which decodes the 2-bit binary inputs and produces four output All but one outputs are zero One output corresponding to.
Advertisements

ECE 2110: Introduction to Digital Systems Chapter 6 Combinational Logic Design Practices Encoders.
5.5 Encoders A encoder is a multiple-input, multiple-output logic circuit that converts coded inputs into coded outputs, where the input and output codes.
Give qualifications of instructors: DAP
Logic Circuits Design presented by Amr Al-Awamry
Combinational Circuits
ECE Synthesis & Verification - Lecture 2 1 ECE 667 Spring 2011 ECE 667 Spring 2011 Synthesis and Verification of Digital Circuits High-Level (Architectural)
Chapter 9 Computer Design Basics. 9-2 Datapaths Reminding A digital system (or a simple computer) contains datapath unit and control unit. Datapath: A.
Combinational Logic and Verilog. XORs and XNORs XOR.
Give qualifications of instructors: DAP
Part 2: DESIGN CIRCUIT. LOGIC CIRCUIT DESIGN x y z F F = x + y’z x y z F Truth Table Boolean Function.
Adders, subtractors, ALUs
9/15/09 - L15 Decoders, Multiplexers Copyright Joanne DeGroat, ECE, OSU1 Decoders and Multiplexers.
Outline Analysis of Combinational Circuits Signed Number Arithmetic
+ CS 325: CS Hardware and Software Organization and Architecture Combinational Circuits 1.
Eng. Mohammed Timraz Electronics & Communication Engineer University of Palestine Faculty of Engineering and Urban planning Software Engineering Department.
ECE 3110: Introduction to Digital Systems Chapter 6 Combinational Logic Design Practices Adders, subtractors, ALUs.
Chapter 6 Know commonly used combinational subcircuits –Multiplexers –Decoders –Encoders Know VHDL constructs used to define combinational circuits.
CS/EE 3700 : Fundamentals of Digital System Design
1 CS 151: Digital Design Chapter 3: Combinational Logic Design 3-1Design Procedure CS 151: Digital Design.
Adding the Superset Adder to the DesignWare IP Library
Instructor: Alexander Stoytchev CprE 281: Digital Logic.
Digital Systems Section 11 Decoders and Encoders.
Multiplexors Decoders  Decoders are used for forming separate signals for different combination of input signals.  The multiplexer circuit is a digital.
2/1/20001 ECE 551: Digital System Design & Synthesis Lecture Set 7 7.1: Coding for if and case 7.2: Coding logic building blocks (In separate file) 7.3:
ECE 3110: Introduction to Digital Systems Chapter 5 Combinational Logic Design Practices Adders,subtractors, ALUs.
C OMBINATIONAL L OGIC D ESIGN 1 Eng.Maha AlGubali.
Decoders A decoder is a logic circuit that detects the presence of a specific combination of bits at its input. Two simple decoders that detect the presence.
Chapter 36 Combinational Logic Circuits. Objectives After completing this chapter, you will be able to: –Describe the functions of encoders, decoders,
Lecture No. 18 Combinational Functional Devices. Recap Decoder Decoder –3-to-8 Decoder –Cascading of Decoders 4-to-16 decoder –Implementing SOP & POS.
Overview Logistics Last lecture Today HW5 due today
Overview Part 2 – Combinational Logic Functions and functional blocks
Combinational Circuits
Lecture 12 Logistics Last lecture Today HW4 due today Timing diagrams
Computer Design Basics
CS221: Digital Logic Design Combinational Circuits 3
ECE 2110: Introduction to Digital Systems
Combinational Functions and Circuits
Combinational Circuit Design
Lecture 4: Combinational Functions and Circuits
ECE 448 Lecture 6 Finite State Machines State Diagrams vs. Algorithmic State Machine (ASM) Charts.
ECE 2110: Introduction to Digital Systems Chapter 6 Combinational Logic Design Practices Encoders.
ECE 448 Lecture 3 Combinational-Circuit Building Blocks Data Flow Modeling of Combinational Logic ECE 448 – FPGA and ASIC Design with VHDL.
ECE 448 Lecture 3 Combinational-Circuit Building Blocks Data Flow Modeling of Combinational Logic ECE 448 – FPGA and ASIC Design with VHDL.
CSE Winter 2001 – Arithmetic Unit - 1
Table 8.1 Verilog 2001 HDL Operators
ECE 551: Digital System Design & Synthesis
FIGURE 4.1 Block diagram of combinational circuit
Lecture 14 Logistics Last lecture Today
Digital Logic & Design Dr. Waseem Ikram Lecture No. 16.
CSE 370 – Winter 2002 – Comb. Logic building blocks - 1
ECE 448 Lecture 3 Combinational-Circuit Building Blocks Data Flow Modeling of Combinational Logic ECE 448 – FPGA and ASIC Design with VHDL.
Data Flow Modeling of Combinational Logic
COE 202: Digital Logic Design Combinational Circuits Part 3
Instructor: Alexander Stoytchev
Multiplexers Anindya IE CSE.
Digital Systems Section 17 Decoders and Encoders.
ECE 448 Lecture 3 Combinational-Circuit Building Blocks Data Flow Modeling of Combinational Logic ECE 448 – FPGA and ASIC Design with VHDL.
Data Flow Description of Combinational-Circuit Building Blocks
Instructor: Alexander Stoytchev
Lecture 14 Logistics Last lecture Today
Computer Design Basics
Data Flow Description of Combinational-Circuit Building Blocks
Combinational Circuits
Chapter-4 Combinational Logic
LOGIC Circuits.
Prof. Onur Mutlu ETH Zurich Spring March 2019
Instructor: Alexander Stoytchev
Instructor: Alexander Stoytchev
ECE 352 Digital System Fundamentals
Presentation transcript:

ECE 551: Digital System Design & Synthesis Lecture Set 7 7.1: Coding for if and case (In separate file) 7.2: Coding logic building blocks 7.3: High-Performance Coding 03/10/2003

Overview Premise Basic coding for if and case Synopsis case directives ECE 551 - Digital System Design & Synthesis Lecture 7.2 Coding for Synthesis of Combinational Logic - Coding Logic Building Blocks Overview Premise Basic coding for if and case Synopsis case directives Late signal arrival coding for if and case Data, Control Coding Logic Building Blocks Decoder, Priority Encoder, Reduction XOR, Multiplexer High-Performance Methods Datapath Duplication, Operator in if condition General Coding Issues Resource Sharing Arithmetic Expression Optimization 03/10/2003

Decoder Decoder using indexing Decoder using for loop Comparison Example 3-1 GHCS Decoder using for loop Example 3-3 GHCS Comparison Table 3-1 - Timing Table 3-2 - Area Table 3-3 - Compile Time 03/10/2003

Decoder Using Indexing in Verilog 03/10/2003

Decoder Using Loop in Verilog 03/10/2003

Decoder Verilog: Timing Comparison 03/10/2003

Decoder Verilog: Area Comparison 03/10/2003

Decoder Verilog: Compile Time Comparison 03/10/2003

Priority Encoder Priority encoder using for loop starting at lowest priority bit Example 3-5 GHCS Figure 3-4 - Chain structure Priority encoder using tree structure Verilog not shown Figure 3-5 - Tree structure Comparison Table 3-4 - Timing Table 3-5 - Area Table 3-6 - Compile Time 03/10/2003

Priority Encoder Verilog Loop - 1 03/10/2003

Priority Encoder Verilog Loop - 2 03/10/2003

Priority Encoder Loop Circuit Very long delay due to cascades 03/10/2003

Priority Encoder Tree Verilog 03/10/2003

Priority Encoder Tree Circuit 03/10/2003

Reduction XOR Reduction XOR chain Reduction XOR tree Note Example 3-8 GHCS Figure 3-7 GHCS Reduction XOR tree Example 3-10 GHCS Figure 3-8 GHCS Note Design Compiler can convert chain description to tree implementation if no intermediate points accessed in the chain. Thus, best to use tree structure. OR chains with intermediate points become tree implementations. 03/10/2003

Reduction XOR Verilog Loop 03/10/2003

Reduction XOR Verilog Loop Delay long due to cascade 03/10/2003

Reduction XOR Verilog Tree - 1 03/10/2003

Reduction XOR Verilog Tree - 2 03/10/2003

Reduction XOR Verilog Tree - 3 03/10/2003

Reduction XOR Circuit Tree Delay reduced by 40 % (from 5 to 3 XOR levels) 03/10/2003

Multiplexer Multiplexer chain Multiplexer tree Comparison Example 3-12 GHCS Figure 3-9 GHCS Multiplexer tree Example 3-14 GHCS Figure 3-10 GHCS Comparison Table 3-7 - Timing Table 3-8 - Area 03/10/2003

Multiplexer Chain Verilog 03/10/2003

Multiplexer Chain Circuit Long delay results from the cascade 03/10/2003

Multiplexer Tree Verilog - 1 03/10/2003

Multiplexer Tree Verilog - 2 03/10/2003

Multiplexer Tree Verilog - 3 03/10/2003

Multiplexer Tree Verilog - 4 03/10/2003

Multiplexer Tree Circuit 03/10/2003

Multiplexer Synth Comparison - 1 03/10/2003

Multiplexer Synth Comparison - 1 03/10/2003

Area, timing, and compile time are coding dependent Summary Area, timing, and compile time are coding dependent Indexing and loops give different results If delay is an issue, target tree rather than cascade circuits Tree may also improve area 03/10/2003