A Digital Circuit Toolbox

Slides:



Advertisements
Similar presentations
VERILOG: Synthesis - Combinational Logic Combination logic function can be expressed as: logic_output(t) = f(logic_inputs(t)) Rules Avoid technology dependent.
Advertisements

FSM and Efficient Synthesizable FSM Design using Verilog
Verilog Fundamentals Shubham Singh Junior Undergrad. Electrical Engineering.
컴퓨터구조론 교수 채수환. 교재 Computer Systems Organization & Architecture John D. Carpinelli, 2001, Addison Wesley.
Counters Discussion D8.3.
Encoders Three-state devices Multiplexers
Supplement on Verilog adder examples
Combinational Logic.
Combinational Circuits
Review for Exam 2 Using MUXs to implement logic
Table 7.1 Verilog Operators.
Combinational Logic with Verilog Materials taken from: Digital Design and Computer Architecture by David and Sarah Harris & The Essentials of Computer.
Analysis of Clocked Sequential Circuits
1 KU College of Engineering Elec 204: Digital Systems Design Lecture 9 Programmable Configurations Read Only Memory (ROM) – –a fixed array of AND gates.
ECE 551 Digital System Design & Synthesis Lecture 08 The Synthesis Process Constraints and Design Rules High-Level Synthesis Options.
Camera Auto Focus Presentation 4, February 14 th, 2007 Team W1: Tom Goff (W11) David Hwang (W12) Kate Killfoile (W13) Greg Look (W14) Design Manager: Bowei.
CSE241 RTL Performance.1Kahng & Cichy, UCSD ©2003 CSE241A VLSI Digital Circuits Winter 2003 Recitation 2.5: Performance Coding.
CS 140L Lecture 7 Professor CK Cheng 11/12/02. Transformation between Mealy and Moore Machines Algorithm: 1) For each NS, z = S i, j create a state S.
ECE 448 Lecture 3 Combinational-Circuit Building Blocks Data Flow Modeling of Combinational Logic ECE 448 – FPGA and ASIC Design with VHDL.
Combinational Logic1 DIGITAL LOGIC DESIGN by Dr. Fenghui Yao Tennessee State University Department of Computer Science Nashville, TN.
Shannon’s Expansion Muxes and Encoders. Tri-State Buffers  A tri-state buffer has one input x, one output f and one control line e Z means high impedance,
Encoder, Tristate Driver
Verilog Digital System Design Z. Navabi, 2006
Outline Analysis of Combinational Circuits Signed Number Arithmetic
ECE 2372 Modern Digital System Design
Registers CPE 49 RMUTI KOTAT.
Unit 9 Multiplexers, Decoders, and Programmable Logic Devices
Documentation Standards Circuit specification. –Description of what the system is supposed to do, including a description of all inputs and outputs and.
Tutorial 1 Combinational Logic Synthesis. Introduction to VHDL VHDL = Very high speed Hardware Description Language VHDL and Verilog are the industry.
Chapter 11: System Design Methodology Digital System Designs and Practices Using Verilog HDL and 2008, John Wiley11-1 Ders 8: FSM Gerçekleme ve.
1 COMP541 Combinational Logic - 4 Montek Singh Jan 30, 2012.
Anurag Dwivedi. Basic Block - Gates Gates -> Flip Flops.
ELEN 468 Lecture 131 ELEN 468 Advanced Logic Design Lecture 13 Synthesis of Combinational Logic II.
Verilog hdl – II.
ECE 320 Homework #4 1. Using 8 data input selector logic (MUX), implement the following two functions: a) F(A,B,C)=S 0 S 2 S 3 S 5 b) F(A,B,C,D)=P 0 +P.
Teaching Digital Logic courses with Altera Technology
Chapter 11: System Design Methodology Digital System Designs and Practices Using Verilog HDL and 2008, John Wiley11-1 Chapter 11: System Design.
Digital Design Lecture 8 Combinatorial Logic (Continued)
B0110 Fabric and Trust ENGR xD52 Eric VanWyk Fall 2013.
EMT 351/4 DIGITAL IC DESIGN Verilog Behavioral Modeling  Finite State Machine -Moore & Mealy Machine -State Encoding Techniques.
Digital Design: With an Introduction to the Verilog HDL, 5e M. Morris Mano Michael D. Ciletti Copyright ©2013 by Pearson Education, Inc. All rights reserved.
Introduction to the FPGA and Labs
Hardware Description Languages: Verilog
Adapted from Krste Asanovic
Figure 8.1. The general form of a sequential circuit.
Introduction Introduction to VHDL Entities Signals Data & Scalar Types
Advance Skills TYWu.
Combinational Logic Circuits
Hardware Description Languages: Verilog
ECE 448 Lecture 3 Combinational-Circuit Building Blocks Data Flow Modeling of Combinational Logic ECE 448 – FPGA and ASIC Design with VHDL.
Digital System Design Review.
Instructor: Alexander Stoytchev
Digital Building Blocks
  State Encoding مرتضي صاحب الزماني.
Instructor: Alexander Stoytchev
ECE 448 Lecture 3 Combinational-Circuit Building Blocks Data Flow Modeling of Combinational Logic ECE 448 – FPGA and ASIC Design with VHDL.
FIGURE 4.1 Block diagram of combinational circuit
Computer Architecture
ECE 448 Lecture 3 Combinational-Circuit Building Blocks Data Flow Modeling of Combinational Logic ECE 448 – FPGA and ASIC Design with VHDL.
Instructor: Alexander Stoytchev
Number Systems and Circuits for Addition
ECE 448 Lecture 3 Combinational-Circuit Building Blocks Data Flow Modeling of Combinational Logic ECE 448 – FPGA and ASIC Design with VHDL.
Figure 8.1. The general form of a sequential circuit.
The Verilog Hardware Description Language
XOR Function Logic Symbol  Description  Truth Table 
Half & Full Subtractor Half Subtractor Full Subtractor.
Optimizing RTL for EFLX Tony Kozaczuk, Shuying Fan December 21, 2016
Half & Full Subtractor Half Subtractor Full Subtractor.
Computer Architecture
CSE140: System Design Xinyuan Wang 05/31/2019.
Presentation transcript:

A Digital Circuit Toolbox

Verilog Hierarchy Each design identifier creates a new branch of the hierarchy tree

Tristate Signals and Busses Tristate busses are allowed by most FPGA architectures on devices output pins If tristate are not allowed, the synthesis may have control to automatically substitutes with MUXes

Schematics for Internal Tristate Buffer Design

MUX version of Tristate Buffer Design

Bidirectional Busses The signals is divided into two parts: the driver part input part The two parts are then wired together

Bidirectional Busses

If/else Priority Encoder Implied priority with precedence assigned to the first instruction encountered in a begin/end block

If/else Priority Encoder

Case Priority Encoder The cases are mutually exclusive and do not overlap

State Machines Use a set of registers, to determine current machine state Moore style : the output depends only on the state Mealy style: the output depends on the state and some input signals

State Machines

State Machines

Converting Binary to Gray Code

Converting Gray Code to Binary

State Assignment Make a big difference in how efficiently your logic will be synthesize use parameters, ‘define and ‘ifdef to select between encoding assignments

State Assignment One-hot state assignment means that each state is assigned a single state flip-flop which is active only in the assigned state One-could state assignment means that a flip-flop is inactive only in the assigned state

Adders Half-Adder The synthesis tool will examine each instance of the + operator and will try to implement the logic with a preoptimized module

Half-Adder

Full Adder To turn the half adder into a full adder, we take the output of a half adder and connect it into another half adder

Full Adder

Full Adder

Full Adder

Subtractor Similar to the adder

Full-Subtractor

Hard-Wired Multipliers Multiply value by a constant The multiplication process shifts and adds

Generic Multipliers We must create logic which allows all the shift and adds to be used