Department of Electronic Engineering, FJU Verilog HDL: A Guide to Digital Design and Synthesis 1 Digital Systems Design Shyue-Kung Lu Department of Electronic.

Slides:



Advertisements
Similar presentations
State-machine structure (Mealy)
Advertisements

Register Transfer Level
التصميم المنطقي Second Course
Digital systems. Course Details Lecturer - Ido Bergman TA - Yehuda Arav Telephone Silverman : Ross: Course.
Synchronous Sequential Logic
Circuits require memory to store intermediate data
CPT 310 Logic and Computer Design Instructor: David LublinerPhone Engineering Technology Dept.Cell
1 Lecture 23 More Sequential Circuits Analysis. 2 Analysis of Combinational Vs. Sequential Circuits °Combinational : Boolean Equations Truth Table Output.
ECE 331 – Digital System Design Introduction to and Analysis of Sequential Logic Circuits (Lecture #20) The slides included herein were taken from the.
Review and Overview. Review  Combinational logic circuit – Decoder, Encoder, Multiplexer, De-multiplexer, Full Adder, Multiplier  Sequential logic circuit.
EECC341 - Shaaban #1 Lec # 14 Winter Clocked Synchronous State-Machines Such machines have the characteristics: –Sequential circuits designed.
Logic and Computer Design Fundamentals Registers and Counters
Chapter 8 -- Analysis and Synthesis of Synchronous Sequential Circuits.
Combinational Logic1 DIGITAL LOGIC DESIGN by Dr. Fenghui Yao Tennessee State University Department of Computer Science Nashville, TN.
ECE 301 – Digital Electronics
DIGITAL ELECTRONICS CIRCUIT P.K.NAYAK P.K.NAYAK ASST. PROFESSOR SYNERGY INSTITUTE OF ENGINEERING & TECHNOLOGY.
ECE 301 – Digital Electronics Introduction to Sequential Logic Circuits (aka. Finite State Machines) and FSM Analysis (Lecture #17)
ECE 331 – Digital Systems Design Introduction to Sequential Logic Circuits (aka. Finite State Machines) and FSM Analysis (Lecture #19)
Registers and Counters
Chapter 1_4 Part II Counters
1 Sequential Circuits Registers and Counters. 2 Master Slave Flip Flops.
ECE/CS 352 Digital System Fundamentals© T. Kaminski & C. Kime 1 ECE/CS 352 Digital Systems Fundamentals Spring 2001 Chapter 4 – Part 3 Tom Kaminski & Charles.
ECE 331 – Digital Systems Design Sequential Logic Circuits: FSM Design (Lecture #20)
CHAPTER 14 Digital Systems.
SUPLEMENTARY CHAPTER 1: An Introduction to Digital Logic The Architecture of Computer Hardware and Systems Software: An Information Technology Approach.
Rabie A. Ramadan Lecture 3
Chapter 8 -- Analysis and Synthesis of Synchronous Sequential Circuits.
2017/4/24 CHAPTER 6 Counters Chapter 5 (Sections )
ACOE361 – Digital Systems Design. Useful information Instructor: Lecturer K. Tatas Office hours: Mo5, Tu3, We6-8, Fri5 Prerequisites: ACOE201 (ACOE161)
7-6 단일 레지스터에서 Microoperation Multiplexer-Based Transfer  Register 가 서로 다른 시간에 둘 이상의 source 에서 data 를 받을 경우 If (K1=1) then (R0 ←R1) else if (K2=1) then.
ECA1212 Introduction to Electrical & Electronics Engineering Chapter 9: Digital Electronics – Sequential Logic by Muhazam Mustapha, November 2011.
2017/4/24 1.
ANALYSIS OF SEQUENTIAL CIRCUITS by Dr. Amin Danial Asham.
Computer Architecture and Organization Unit -1. Digital Logic Circuits – Logic Gates – Boolean Algebra – Map Simplification – Combinational Circuits –
CHAPTER 6 Sequential Circuits’ Analysis CHAPTER 6 Sequential Circuits’ Analysis Sichuan University Software College.
Registers and Counters
Chapter 8 -- Analysis and Synthesis of Synchronous Sequential Circuits.
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Logic Design Dr. Oliver Faust.
Fuw-Yi Yang1 數位系統 Digital Systems Department of Computer Science and Information Engineering, Chaoyang University of Technology 朝陽科技大學資工系 Speaker: Fuw-Yi.
Logic Design (CE1111 ) Lecture 6 (Chapter 6) Registers &Counters Prepared by Dr. Lamiaa Elshenawy 1.
Chapter 3 Boolean Algebra and Digital Logic T103: Computer architecture, logic and information processing.
TOPIC : Introduction to Sequential Circuits UNIT 1: Modeling and Simulation Module 4 : Modeling Sequential Circuits.
1 Registers A register is a group of n flip-flops each of them capable of storing one bit of information There are two types of registers: parallel and.
Sequential logic circuits First Class 1Dr. AMMAR ABDUL-HAMED KHADER.
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.
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.
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.
CHAPTER 16 SEQUENTIAL CIRCUIT DESIGN
Sequential Logic Design
Sequential Circuits.
Sequential Circuits.
FIGURE 5.1 Block diagram of sequential circuit
Digital Design Lecture 9
Overview Introduction Logic Gates Flip Flops Registers Counters
ECE 301 – Digital Electronics
ECE Digital logic Lecture 16: Synchronous Sequential Logic
Registers and Counters
Sequential logic circuits
Digital Design Fundamentals
FIGURE 4.1 Block diagram of combinational circuit
29-Nov-18 Counters Chapter 5 (Sections ).
ECEN 248: INTRODUCTION TO DIGITAL SYSTEMS DESIGN
Computer Architecture and Organization: L02: Logic design Review
CSE 370 – Winter Sequential Logic-2 - 1
SYEN 3330 Digital Systems Chapter 6 – Part 5 SYEN 3330 Digital Systems.
Digital Logic Department of CNET Chapter-6
Synchronous sequential
Digital Logic Department of CNET Chapter-6
Synchronous Sequential
Presentation transcript:

Department of Electronic Engineering, FJU Verilog HDL: A Guide to Digital Design and Synthesis 1 Digital Systems Design Shyue-Kung Lu Department of Electronic Engineering

Department of Electronic Engineering, FJU Verilog HDL: A Guide to Digital Design and Synthesis 2 Syllabus Recommended Texts 1. Michael D. Ciletti, “Advanced Digital Design with the Verilog HDL,” Prentice Hall ( 新月圖書 ) References 1. Richard S. Sandige, “Digital Design Essentials,” Prentice Hall ( 開發圖書 ) 2. John F. Wakerly, “Digital Design: Principle and Practices,” Prentice Hall ( 新月圖書 ) 3. M. Morris Mano, “Digital Design,” Prentice Hall, Third Edition ( 滄海書 局, ) 4. M. Morris Mano, :Digital Logic and Computer Design Fundamentals,” Prentice Hall ( 新月圖書 ) Grades 1. 作業 25% 2. 期中考 30 % 3. 期末考 30% 4. Project 15% Project 以歷屆 FPGA 比賽題目為主

Department of Electronic Engineering, FJU Verilog HDL: A Guide to Digital Design and Synthesis 3 Digital Systems Design Course Overview Review of combinational and sequential logic design Introduction to synthesis with HDLs (Verilog HDL) Programmable logic devices (CPLD and FPGA) State machines, datapath controllers, RISC CPU Architectures and algorithms for computation Synchronization across clock domains Static Timing Analysis Fault simulation and testing, JTAG, BIST

Department of Electronic Engineering, FJU Verilog HDL: A Guide to Digital Design and Synthesis 4 Chapter 1-3 Review of Digital Systems

Department of Electronic Engineering, FJU Verilog HDL: A Guide to Digital Design and Synthesis 5 Logic Level Ranges of Voltage for a Digital Circuit

Department of Electronic Engineering, FJU Verilog HDL: A Guide to Digital Design and Synthesis 6 Representations of a Digital Design + b a out Z = A' B' (C + D) = (A' (B' (C + D))) True table Logic expression Gate netlist Transistor circuit

Department of Electronic Engineering, FJU Verilog HDL: A Guide to Digital Design and Synthesis 7 Basic Primitives

Department of Electronic Engineering, FJU Verilog HDL: A Guide to Digital Design and Synthesis 8 Some Common IC Gates

Department of Electronic Engineering, FJU Verilog HDL: A Guide to Digital Design and Synthesis 9 Typical IC Datasheet

Department of Electronic Engineering, FJU Verilog HDL: A Guide to Digital Design and Synthesis 10 Combinational Logic Circuit  Combinational circuit: logic circuit whose outputs at any time are determined directly and only from the present input combination.  A combinational circuit performs a specific information- processing operation fully specified logically by a set of Boolean functions.  Sequential circuit: one that employ memory elements in addition to (combinational) logic gates—their outputs are determined from the present input combination as well as the state of the memory cells.

Department of Electronic Engineering, FJU Verilog HDL: A Guide to Digital Design and Synthesis 11 Block Diagram of a Combinational Circuit Combinational Circuit n inputsm outputs Fig. 4-1: Block Diagram of Combinational Circuit

Department of Electronic Engineering, FJU Verilog HDL: A Guide to Digital Design and Synthesis 12 Combinational Modules  Ripple Carry Adder  Carry Look ahead Adder  Binary Adder-Subtractor  BCD Adder  Magnitude Comparator  Binary Multiplier  Decoder/Encoder  Priority Encoder  Multiplexers/Demultiplexers  Three-State Gates

Department of Electronic Engineering, FJU Verilog HDL: A Guide to Digital Design and Synthesis 13 Sequential Circuits

Department of Electronic Engineering, FJU Verilog HDL: A Guide to Digital Design and Synthesis 14 Synchronous Clocked Sequential Circuit

Department of Electronic Engineering, FJU Verilog HDL: A Guide to Digital Design and Synthesis 15 Clock Response in Latch and Flip-Flop

Department of Electronic Engineering, FJU Verilog HDL: A Guide to Digital Design and Synthesis 16 Setup time and Hold Time

Department of Electronic Engineering, FJU Verilog HDL: A Guide to Digital Design and Synthesis 17 DFF

Department of Electronic Engineering, FJU Verilog HDL: A Guide to Digital Design and Synthesis 18 JKFF

Department of Electronic Engineering, FJU Verilog HDL: A Guide to Digital Design and Synthesis 19 JKFF

Department of Electronic Engineering, FJU Verilog HDL: A Guide to Digital Design and Synthesis 20 Characteristic Tables and Equations J KQ(t+1) Q(t) 0 1 Q’(t) No change Reset Set Complement DQ(t+1) Reset Set TQ(t+1) 0101 Q(t) Q’(t) No change Complement Q(t + 1) = D (D Flip-Flop) Q(t + 1) = JQ’ + K’Q (JK Flip-Flop) Q(t + 1) = TQ’ + T’Q (T Flip-Flop)

Department of Electronic Engineering, FJU Verilog HDL: A Guide to Digital Design and Synthesis 21 D A = A  x  y

Department of Electronic Engineering, FJU Verilog HDL: A Guide to Digital Design and Synthesis 22 Mealy Machine Outputs dependent on inputs and state variables. Are inputs synchronized with clock?

Department of Electronic Engineering, FJU Verilog HDL: A Guide to Digital Design and Synthesis 23 Moore Machine Comb. Circuit State Registers Output Input Outputs dependent on state variables only. Comb. Circuit

Department of Electronic Engineering, FJU Verilog HDL: A Guide to Digital Design and Synthesis 24 4-Bit Register  A register is a group of flip-flops, read/written as a unit.  A register that goes through a prescribed sequence of states upon the application of input pulses is called a counter.

Department of Electronic Engineering, FJU Verilog HDL: A Guide to Digital Design and Synthesis 25 Register with Parallel Load I0I0 I1I1 I2I2 I3I3 I0I0 I1I1 I2I2 I3I3 I0I0 I1I1 I2I2 I3I I0I0 I1I1 I2I2 I3I3 I0I0 I1I1 I2I2 I3I3

Department of Electronic Engineering, FJU Verilog HDL: A Guide to Digital Design and Synthesis 26 Shift Register Edge trigger or level trigger?

Department of Electronic Engineering, FJU Verilog HDL: A Guide to Digital Design and Synthesis 27 Synchronous Counter  No need to go through a sequential logic design process.  The flip-flop in the least significant position is complemented with every pulse. A flip-flop in any other position is complemented when all the bits in the lower significant positions are equal to 1.