Using CAD Tools to implement Digital Circuits

Slides:



Advertisements
Similar presentations
3-13 Alternate Logic-Gate Representations
Advertisements

10/2/0810/2/2008ECE 561 -ECE Lecture 51 State Machine Implementation 10/2/20081ECE Lecture 5.
VHDL Lecture 1 Megan Peck EECS 443 Spring 08.
Sequential Circuits Storage elements
CSE 201 Computer Logic Design * * * * * * * Verilog Modeling
Give qualifications of instructors: DAP
VHDL Structural Architecture ENG241 Week #5 1. Fall 2012ENG241/Digital Design2 VHDL Design Styles Components and interconnects structural VHDL Design.
1 Lecture 13 VHDL 3/16/09. 2 VHDL VHDL is a hardware description language. The behavior of a digital system can be described (specified) by writing a.
L18 – VHDL for other counters and controllers. Other counters  More examples Gray Code counter Controlled counters  Up down counter  Ref: text Unit.
CS 151 Digital Systems Design Lecture 37 Register Transfer Level
DISCUSSION CSE 140L 3 rd November 2010 Vikram Murali.
Introduction to VHDL (Lecture #5) ECE 331 – Digital System Design The slides included herein were taken from the materials accompanying Fundamentals of.
6/27/20061 Sequence Detectors Lecture Notes – Lab 5 Sequence detection is the act of recognizing a predefined series of inputs A sequence detector is a.
6/12/20151 Sequence Detectors Lecture Notes – Lab 4 Sequence detection is the act of recognizing a predefined series of inputs A sequence detector is a.
Dr. Turki F. Al-Somani VHDL synthesis and simulation – Part 3 Microcomputer Systems Design (Embedded Systems)
ECE 331 – Digital System Design Course Introduction and VHDL Fundamentals (Lecture #1)
9/15/09 - L22 Sequential Circuit Design Copyright Joanne DeGroat, ECE, OSU1 Sequential Circuit Design Creating a sequential circuit to address a.
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.
Introduction to VHDL (part 2)
ECE 332 Digital Electronics and Logic Design Lab Lab 5 VHDL Design Styles Testbenches.
Data Flow Modeling of Combinational Logic Simple Testbenches
An Introduction to VHDL Using Altera’s Quartus II IDE Dr. William M. Jones Coastal Carolina University Numbers and Bytes Meeting 20 OCT 2008.
L16 – Testbenches for state machines. VHDL Language Elements  More examples HDL coding of class examples Testbench for example  Testing of examples.
Chapter 10 State Machine Design. 2 State Machine Definitions State Machine: A synchronous sequential circuit consisting of a sequential logic section.
1/8/ L20 Project Step 8 - Data Path Copyright Joanne DeGroat, ECE, OSU1 State Machine Design with an HDL A methodology that works for documenting.
L16 – VHDL for State Machines with binary encoding.
L12 – VHDL Overview. VHDL Overview  HDL history and background  HDL CAD systems  HDL view of design  Low level HDL examples  Ref: text Unit 10, 17,
Fall 2004EE 3563 Digital Systems Design EE 3563 VHSIC Hardware Description Language  Required Reading: –These Slides –VHDL Tutorial  Very High Speed.
Introduction to VLSI Design – Lec01. Chapter 1 Introduction to VLSI Design Lecture # 11 High Desecration Language- Based Design.
 Seattle Pacific University EE Logic System DesignCAD-VHDL-1 The Grunt Work of Design Many design tasks require a lot of time and effort Forming.
Introduction to VHDL Simulation … Synthesis …. The digital design process… Initial specification Block diagram Final product Circuit equations Logic design.
Hardware languages "Programming"-language for modelling of (digital) hardware 1 Two main languages: VHDL (Very High Speed Integrated Circuit Hardware Description.
1/8/ L2 VHDL Introcution© Copyright Joanne DeGroat, ECE, OSU1 Introduction to VHDL.
VHDL Discussion Finite State Machines
ELEE 4303 Digital II Introduction to Verilog. ELEE 4303 Digital II Learning Objectives Get familiar with background of HDLs Basic concepts of Verilog.
CEC 220 Digital Circuit Design Latches and Flip-Flops Monday, March 03 CEC 220 Digital Circuit Design Slide 1 of 19.
04/26/20031 ECE 551: Digital System Design & Synthesis Lecture Set : Introduction to VHDL 12.2: VHDL versus Verilog (Separate File)
VHDL for Sequential Logic
Digital Design Using VHDL and PLDs ECOM 4311 Digital System Design Chapter 1.
Introduction to VHDL Coding Wenchao Cao, Teaching Assistant Department of EECS University of Tennessee.
ENG241 Digital Design Week #7 Sequential Circuits (Part B)
Project 1.  Two parts Implement a 3 bit Gray Code Counter Implement a 4-to-1 muxtiplexer  Can be done on Altera (Quartis) or Xilinx 8/22/2012 – ECE.
Algorithmic State Machine (ASM) Charts: VHDL Code & Timing Diagrams
State Machine Design with an HDL
LAB #6 Sequential Logic Design (Flip Flops, Shift Registers)
Week #7 Sequential Circuits (Part B)
ECE 448 Lecture 6 Finite State Machines State Diagrams, State Tables, Algorithmic State Machine (ASM) Charts, and VHDL Code.
Introduction Introduction to VHDL Entities Signals Data & Scalar Types
CHAPTER 17 VHDL FOR SEQUENTIAL LOGIC
Some VHDL Details 10/8/08 ECE Lecture 8.
State Machine Realizations
Algorithmic State Machine (ASM) Charts: VHDL Code & Timing Diagrams
VHDL Hierarchy in XILINX
CHAPTER 17 VHDL FOR SEQUENTIAL LOGIC
Copyright Joanne DeGroat, ECE, OSU
Instructions to get MAX PLUS running
VHDL (VHSIC Hardware Description Language)
State Machine Design with an HDL
VHDL Introduction.
Figure 8.1. The general form of a sequential circuit.
How do you achieve deterministic concurrent simulation.
SYEN 3330 Digital Systems Chapter 6 – Part 3 SYEN 3330 Digital Systems.
Copyright Joanne DeGroat, ECE, OSU
ECE 448 Lecture 6 Finite State Machines State Diagrams, State Tables, Algorithmic State Machine (ASM) Charts, and VHDL code ECE 448 – FPGA and ASIC Design.
L4 – An overview of Quartis
© Copyright Joanne DeGroat, ECE, OSU
Digital Designs – What does it take
ECE 448 Lecture 6 Finite State Machines State Diagrams vs. Algorithmic State Machine (ASM) Charts.
L25 – Final Review AU 15 Final Exam – Classroom – Journalism 300
System Controller Approach
Presentation transcript:

Using CAD Tools to implement Digital Circuits 10/6/08 ECE 561 - Lecture 7

Overview Schematic Capture HDL implementation/specification/code for the sequential machine 10/6/08 ECE 561 - Lecture 7

Starting Point Problem Statement/Specification Needs to be correct Needs to be complete Translation from problem statement to state/transition table or state diagram One of the most important steps today 10/6/08 ECE 561 - Lecture 7

Schematic Capture Must work through to excitation and output equations Having these – can create circuit schematic that can be captured in Xilinx ISE or Altera Quartis 10/6/08 ECE 561 - Lecture 7

Example from before Next state and output equations D1 = Q2 X’ Y + Q1’ X Y + Q1 X’ Y’ + Q2 X Y’ Z = Q1’ Q2’ D2 = Q1’ X’ Y + Q1’ X Y’ + Q2 X’ Y’ + Q2 X Y 10/6/08 ECE 561 - Lecture 7

Implementation Needs to be completed 10/6/08 ECE 561 - Lecture 7

HDL Capture For VHDL, need only use a subset of the language Rigid style allows for a “shell” approach for writing state machines that synthesize well Have 2 parts The Entity – the interface to the state machine The Architecture – the interior or the function 10/6/08 ECE 561 - Lecture 7

The Entity Can be done in the following style ENTITY descriptor IS port ( port list ); END descriptor; Port list is a specification of the inputs and output, their direction and type. 10/6/08 ECE 561 - Lecture 7

Simple Port List Mode–the direction of transfer – IN or OUT Signal Name – your choice Names start with a letter and are alphanumeric after that Cannot use reserved words of language Signal Type – for simplicity will just use type BIT which has values of ‘0’ and ‘1’ 10/6/08 ECE 561 - Lecture 7

Example And example for a state machine ENTITY example_1 IS PORT (X,Y : IN BIT; R : OUT BIT; CLK : IN BIT); END example_1; 10/6/08 ECE 561 - Lecture 7

The Architecture The architecture design unit is where the function of the state machine is specified. Is easiest to think of state machines as composed of three parts 10/6/08 ECE 561 - Lecture 7

For VHDL Will keep each of these units distinct The next state logic The F/F The output logic Will use a process language structure process for each Within each the VHDL used is much like any other language 10/6/08 ECE 561 - Lecture 7

F/F Specification --The structure to specify the F/F PROCESS BEGIN WAIT UNTIL clk=‘1’ and clk’event; state <= next_state; END PROCESS; 10/6/08 ECE 561 - Lecture 7

The next state process Code for specification of the next state 10/6/08 ECE 561 - Lecture 7

The next state process Note that you never get to actual logic equations. You simply use a state table where the states are A,B,C,…. Similarly, you do not get to state encoding. You use pneumonic representation for the states. Here they are idle, l1, l2, l3, r1, r2, r3, lr3 10/6/08 ECE 561 - Lecture 7

The output process A third process and similar in structure to the next state process. 10/6/08 ECE 561 - Lecture 7

Where to put the processes? The processes are held in the ARCHECTURE design unit. ARCHECTURE one OF example_1 IS -- Local Declarations TYPE state_type IS (idle,l1,l2,l3,r1,r2,r3,lr3); SIGNAL state, next_state : state_type; BEGIN -- and now come the three processes in any order END one; 10/6/08 ECE 561 - Lecture 7

Next More on Language Elements for specifying next state and output logic. An example of HDL state machine implementation 10/6/08 ECE 561 - Lecture 7