Fall 08, Oct 31ELEC2200-002 Lecture 8 (Updated) 1 Lecture 8: Design, Simulation Synthesis and Test Tools ELEC 2200: Digital Logic Circuits Nitin Yogi

Slides:



Advertisements
Similar presentations
Xilinx 6.3 Tutorial Integrated Software Environment (ISE) Set up basic environment Select Gates or Modules to Be simulated (Insert Program Code) Run Waveform.
Advertisements

HT650 Product Introduction 2013/8/26. Main menu, with options Worker Settings Worker-menu with 2 sub options and application buttons.
Verilog XL Tutorial By Greg Edmiston Scott McClure August 2004.
Presentation Heading – font Arial
Adding a Crystal Report to M3 This presentation will assist you in adding a custom Crystal report into Millennium 3.
CSS Central: Central Management Utility Screen View Samples Next.
Integrated Circuits Laboratory Faculty of Engineering Digital Design Flow Using Mentor Graphics Tools Presented by: Sameh Assem Ibrahim 16-October-2003.
Java Programming Working with TextPad. Using TextPad to Work with Java This text editor is designed for working with Java You can download a trial version.
The Internet. Telnet Telnet means using your computer as a terminal. All commands you type are sent to the host computer you are connected to and executed.
Verilog Lab This presentation includes some material that is selected from BUCKNELL VERILOG HANDBOOK. Instructor: Dr. Charles Liu Prepared by John Ren.
Altera’s Quartus II Installation, usage and tutorials Gopi Tummala Lab/Office Hours : Friday 2:00 PM to.
CS1020: Intro Workshop. Topics CS1020Intro Workshop Login to UNIX operating system 2. …………………………………… 3. …………………………………… 4. …………………………………… 5. ……………………………………
Guest Lecture by Ben Magstadt CprE 281: Digital Logic.
Multi-Functional Printer Scan-to-PC (SMB) Office of the Chief Information Officer (OCIO) The Hong Kong Institute of Education Last Update: 06 Dec 2013.
Fall 08, Oct 29ELEC Lecture 7 (updated) 1 Lecture 7: VHDL - Introduction ELEC 2200: Digital Logic Circuits Nitin Yogi
1 - ECpE 583 (Reconfigurable Computing): Tools overview Iowa State University (Ames) CPRE 583 Reconfigurable Computing (Tools overview) Instructor: Dr.
One to One instructions Installing and configuring samba on Ubuntu Linux to enable Linux to share files and documents with Windows XP.
Guest Lecture by Ben Magstadt CprE 281: Digital Logic.
Back to content Final Presentation Mr. Phay Sok Thea, class “2B”, group 3, Networking Topic: Mail Client “Outlook Express” *At the end of the presentation.
Simulink ® Interface Course 13 Active-HDL Interfaces.
SharePoint You must use Internet Explorer Single click only on links and buttons There are two handouts 1.Importing a Web Part into SharePoint 2.Adding.
Mentor Tools tutorial Bold Browser Design Manager Design Architect Library Components Quicksim Creating and Compiling the VHDL Model.
Simulink ® Interface Course 13 Active-HDL Interfaces.
Spring Introduction  Today’s tutorial focuses on introducing you to Xilinx ISE and Modelsim.  These tools are used for Verilog Coding Simulation.
ELEC 5270/6270 Spring 2013 Low-Power Design of Electronic Circuits Tools for Power Analysis
Graduate Computer Architecture I VHDL Structure and Testing Michael Sorensen.
VistA Imaging Capture via Scanning. October VistA Imaging Capture via Scanning The information in this documentation includes only new and updated.
Introduction to Engineering MATLAB – 6 Script Files - 1 Agenda Script files.
HDL Bencher FPGA Design Workshop. For Academic Use Only Presentation Name 2 Objectives After completing this module, you will be able to:  Describe the.
Active-HDL Interfaces Debugging C Code Course 10.
정 용 군 ( 전자공학과 대학원 ) 대상 : VLSI 설계 연구회 1,2,3 학년 기간 : ~ Synopsys Tool 교육 Synopsys 교육 1.
Open a editor Write/Type the program Save the program with “.c” extension Compile the program (alt + F9) Run/Execute the program (ctrl + F9) Check the.
Programmable Logic Training Course HDL Editor
Introductory project. Development systems Design Entry –Foundation ISE –Third party tools Mentor Graphics: FPGA Advantage Celoxica: DK Design Suite Design.
Fall 08, Oct 29ELEC Lecture 7 (updated) 1 Lecture 7: VHDL - Introduction ELEC 2200: Digital Logic Circuits Nitin Yogi
Java Programming, Second Edition Appendix A Working with Java SDK 1.4.
Using Simulator With Undertow Suite. Source environment variables For example, envsource has all the environment variables set up. You can change the.
MySQL Getting Started BCIS 3680 Enterprise Programming.
Introduction to KE EMu Unit objectives: Introduction to Windows Use the keyboard and mouse Use the desktop Open, move and resize a.
04/26/20031 ECE 551: Digital System Design & Synthesis Lecture Set : Introduction to VHDL 12.2: VHDL versus Verilog (Separate File)
1 Installing Java on Your PC. Installing Java To develop Java programs on your PC: Install JDK (Java Development Kit) Add the directory where JDK was.
11 EENG 1920 Introduction to VHDL. 22 Hardware Description Language A computer language used to design circuits with text-based descriptions of the circuits.
CSE/CoE 535 : Attig 1 ModelSim Tutorial for CSE 535 Michael Attig
Copyright (c) 2003 by Valery Sklyarov and Iouliia Skliarova: DETUA, IEETA, Aveiro University, Portugal.
THE C PROGRAMMING ENVIRONMENT. Four parts of C environment  Main menu  Editor status line and edit window  Compiler message window  “Hot Keys” quick.
Java On the ENB 116 Computers The JDK is now available on the ENB 116 computers. You can use a classroom computer rather than your own laptop or CIRCE.
VHDL ELEC 311 Digital Logic and Circuits Dr. Ron Hayne Images Courtesy of Cengage Learning.
Teaching Digital Logic courses with Altera Technology
CprE 281: Verilog Tutorial Ben Magstadt – Master’s Student Electrical Engineering.
Associate ® Administration An Associate administrator has the ability to change the parameters for both the author and for the typist. There can be enterprise.
Tutorial for Modelsim 1 Installation Download the Modelsim Student Edition: Follow the.
MySQL Getting Started BCIS 3680 Enterprise Programming.
Copyright © 2007 by Pearson Education 1 UNIT 6A COMBINATIONAL CIRCUIT DESIGN WITH VHDL by Gregory L. Moss Click hyperlink below to select: Tutorial for.
How to use ISE Dept. of Info & Comm. Eng. Prof. Jongbok Lee.
1 Introduction to Engineering Spring 2007 Lecture 18: Digital Tools 2.
VLSI Synthesis and Simulation Tools Nitin Yogi 01/09/2009
Introduction to Vivado
Development Environment Basics
Getting started with CentOS Linux
Dept. of Electrical and Computer Engineering
CPRE 583 Reconfigurable Computing (Tools overview)
Getting Started: Amazon AWS Account Creation
CGS 3175: Internet Applications Fall 2009
Founded in Silicon Valley in 1984
DAT2343 LMC Simulator Usage © Alan T. Pinck / Algonquin College; 2003.
Modelsim Simulation & Example VHDL Testbench
VHDL - Introduction.
Presentation transcript:

Fall 08, Oct 31ELEC Lecture 8 (Updated) 1 Lecture 8: Design, Simulation Synthesis and Test Tools ELEC 2200: Digital Logic Circuits Nitin Yogi

Fall 08, Oct 31ELEC Lecture 8 (Updated) 2 X-Win32  X-Win32 is used to log into UNIX session  Use Windows Auburn login and password to log into X-Win32 session.

Fall 08, Oct 31ELEC Lecture 8 (Updated) 3 Start X-Win32 from here

Fall 08, Oct 31ELEC Lecture 8 (Updated) 4 Windows Security Alert Warning If Windows Security Alert window pops up, press OK

Fall 08, Oct 31ELEC Lecture 8 (Updated) 5 You might also get this screen Double click on “Scan for Unix/Linux hosts” Click on any of the server names and click on “Select”

Fall 08, Oct 31ELEC Lecture 8 (Updated) 6 You might also get this screen Click “OK”

Fall 08, Oct 31ELEC Lecture 8 (Updated) 7 X-Win32 Login Screen

Fall 08, Oct 31ELEC Lecture 8 (Updated) 8 UNIX session  Setup the softwares required to run the tools for simulation, synthesis and test  At the command prompt type the following command and hit “Enter” >> user-setup Command prompt to type commands in

Fall 08, Oct 31ELEC Lecture 8 (Updated) 9 User Setup screen Click on button “Electronics Data Analysis (EDA)”

Fall 08, Oct 31ELEC Lecture 8 (Updated) Go to the bottom of the option screen 2. Click on the following software packages: eda/Modelsim/6.4 eda/ICFlow/ eda/DFT/ Click the X button on the top right

Fall 08, Oct 31ELEC Lecture 8 (Updated) 11 Click on “Save and Quit”

Fall 08, Oct 31ELEC Lecture 8 (Updated) 12 Press “Commit Changes” The Added modules will be displayed here

Fall 08, Oct 31ELEC Lecture 8 (Updated) 13 X-Win32 reset  Exit X-Win32 and restart the X-Win32 session again as described earlier

Fall 08, Oct 31ELEC Lecture 8 (Updated) 14 UNIX environment  When you log-in into X-Win32, the current default directory is the H: of windows system  Some useful UNIX commands >> cd : change directory >> cd.. : go up one directory >> ls : list contents of directory >> pwd : display the full path of the current dir. >> mkdir : create directory

Fall 08, Oct 31ELEC Lecture 8 (Updated) 15 Setting the simulation environment  In the current default directory, create another directory for your designs by using the mkdir command. Ex. >> mkdir my_name Do not use spaces while giving names as it may create problems in UNIX This new directory can be accessed in windows in H drive  Ex. by accessing H:\my_name  Change to this new directory using the cd command Ex. >> cd my_name  In the current design directory (ex. my_name ) run the following commands: >> vlib work >> vmap work work

Fall 08, Oct 31ELEC Lecture 8 (Updated) 16 Example VHDL code library IEEE; use IEEE.std_logic_1164.all; use IEEE.numeric_std.all; entity my_ckt is port ( A: in bit; B: in bit; S: in bit; X: out bit; Y: out bit ); end my_ckt ; architecture behav_seq of my_ckt is signal Xtmp: bit; begin p1: process (A,B,S,Xtmp) begin if (S=‘0’) then Xtmp <= A; else Xtmp <= B; end if; if ((Xtmp = ‘0’) and (S = ‘0’)) then Y <= ‘1’; else Y <= ‘0’; end if; X <= Xtmp; end process p1; end; Need to add this for compiling

Fall 08, Oct 31ELEC Lecture 8 (Updated) 17 Designing, compiling and simulating designs  Write VHDL description in any text editor (notepad, wordpad) and save the file as *.vhd  To simulate any design, you need to compile your design first. Compile your VHDL design using the command: >> vcom e.g. >> vcom my_ckt.vhd  We shall use the tool ModelSim for simulating the design To invoke ModelSim, use the following command: >> vsim e.g. >> vsim my_ckt

Fall 08, Oct 31ELEC Lecture 8 (Updated) 18

Fall 08, Oct 31ELEC Lecture 8 (Updated) Click on “View > List” to select it (displayed as a tick) 2. Click on “View > Objects” to select it (displayed as a tick)

Fall 08, Oct 31ELEC Lecture 8 (Updated) 20

Fall 08, Oct 31ELEC Lecture 8 (Updated) Select the input and output signals by clicking and holding the CTRL key 2. Click “Edit > Copy”

Fall 08, Oct 31ELEC Lecture 8 (Updated) 22 Click on the list window and then click “Edit > Paste”

Fall 08, Oct 31ELEC Lecture 8 (Updated) 23

Fall 08, Oct 31ELEC Lecture 8 (Updated) 24 Right click the input signal name and then click Force

Fall 08, Oct 31ELEC Lecture 8 (Updated) 25 Enter the value of the signal over here and then click OK If the signal is of type bit_vector you will assign binary values here. Ex. “010” for a signal of type bit_vector(2 downto 0)

Fall 08, Oct 31ELEC Lecture 8 (Updated) 26 To simulate, click Simulate > Run > Run 100

Fall 08, Oct 31ELEC Lecture 8 (Updated) 27

Fall 08, Oct 31ELEC Lecture 8 (Updated) 28

Fall 08, Oct 31ELEC Lecture 8 (Updated) 29 Click on the list window then on File > Export > Tabular list

Fall 08, Oct 31ELEC Lecture 8 (Updated) 30

Fall 08, Oct 31ELEC Lecture 8 (Updated) 31 Useful resource  VHDL Design and Simulation using ModelSim /ee/mgc/quickvhdl/modelsim.html /ee/mgc/quickvhdl/modelsim.html

Fall 08, Oct 31ELEC Lecture 8 (Updated) 32 Synthesis  We shall use the tool Leonardo to synthesize the behavioral description into structural level netlist  Command to invoke Leonardo is: >> leonardo

Fall 08, Oct 31ELEC Lecture 8 (Updated) 33 Click on LeonardoSpectrum Level 3 and then click OK

Fall 08, Oct 31ELEC Lecture 8 (Updated) Click on Advanced FlowTabs 2. Under the “Technology” tab, click on the ASIC plus sign

Fall 08, Oct 31ELEC Lecture 8 (Updated) 35 Click ADK then TSMC 0.18 micron (typ), then click on “Load Library”

Fall 08, Oct 31ELEC Lecture 8 (Updated) 36 Click the “Input” tab and then the button besides “Open files”

Fall 08, Oct 31ELEC Lecture 8 (Updated) 37 Select the required VHDL file and click “Open”

Fall 08, Oct 31ELEC Lecture 8 (Updated) 38 Current selected designs will be displayed in this list Click on the “Read” button to read the current selected VHDL design(s) into the tool

Fall 08, Oct 31ELEC Lecture 8 (Updated) Click the type of optimization: area or delay 3. Click “Optimize” 1. Click on “Optimize” tab

Fall 08, Oct 31ELEC Lecture 8 (Updated) Click on “Report” tab 2. Click on “Report Area”

Fall 08, Oct 31ELEC Lecture 8 (Updated) Select the report being displayed 2. Select Edit > Copy to copy the report. This can then be pasted in MS Word 1. Select the report being displayed 2. Select Edit > Copy to copy the report. This can then be pasted in MS Word

Fall 08, Oct 31ELEC Lecture 8 (Updated) 42 Click on the “Report Delay” tab and then on the button “Report Delay”

Fall 08, Oct 31ELEC Lecture 8 (Updated) Select the report being displayed 2. Select Edit > Copy to copy the report. This can then be pasted in MS Word

Fall 08, Oct 31ELEC Lecture 8 (Updated) Select “Output” tab 2. Select the Verilog option in the Format menu and enter a name for the output netlist file (*.v) 3. Click “Write”

Fall 08, Oct 31ELEC Lecture 8 (Updated) 45 Changes in design performed by Synthesis tool Leonardo  Data-type changes Integer data type in behavioral design is mapped to bit_vector data type (array of bits) in structural design  Ex. a signal A of integer data type of range -2 7 to defined in the behavioral design is mapped/changed to a data type bit_vector(0 to 7) Enumerated / User-defined data types are encoded as binary numbers  Ex. A signal of type temperature with values (high, medium, low) defined at the behavioral level may be encoded as (00, 01, 11) at the structural level

Fall 08, Oct 31ELEC Lecture 8 (Updated) 46 Preparing for simulation of netlist  The netlist saved from Leonardo is in Verilog format (and not VHDL)  You need to compile your verilog netlist to simulate it  Before you compile your verilog netlist, you need to compile all the gate designs that your netlist uses.  The gate designs are in a file named adk.vhd at the location $ADK/technology  To compile the gate designs, type the following command in your current working directory at the command prompt: >> vcom $ADK/technology/adk.vhd -work./work/

Fall 08, Oct 31ELEC Lecture 8 (Updated) 47 Simulation of netlist  You need to compile your verilog netlist in order to simulate it. Command to compile Verilog netlist: >> vlog e.g. >> vlog my_ckt.v  Simulate the design using ModelSim Command to invoke ModelSim: >> vsim e.g. >> vsim my_ckt

Fall 08, Oct 31ELEC Lecture 8 (Updated) 48

Fall 08, Oct 31ELEC Lecture 8 (Updated) 49 Test generation  We shall use the tool FlexTest to generate test vectors for the netlist  Command to invoke FlexTest: >> flextest

Fall 08, Oct 31ELEC Lecture 8 (Updated) Select the output netlist file generated by Leonardo using the Browse button 2. Click on the “Browse” button to select the ATPG Library

Fall 08, Oct 31ELEC Lecture 8 (Updated) Select the file adk.atpg in the directory /opt/ADK3.1/technology/ and then click OK

Fall 08, Oct 31ELEC Lecture 8 (Updated) 52 Invoke FlexTest

Fall 08, Oct 31ELEC Lecture 8 (Updated) 53 Click on “Done With Setup”

Fall 08, Oct 31ELEC Lecture 8 (Updated) 54 Click on “Pattern Generation”

Fall 08, Oct 31ELEC Lecture 8 (Updated) 55 Click on “Fault Universe”

Fall 08, Oct 31ELEC Lecture 8 (Updated) 56 Click on “Typical”

Fall 08, Oct 31ELEC Lecture 8 (Updated) 57 Click on “Pattern Source”

Fall 08, Oct 31ELEC Lecture 8 (Updated) 58 Click on “Typical”

Fall 08, Oct 31ELEC Lecture 8 (Updated) 59 Click on “Test Generation”

Fall 08, Oct 31ELEC Lecture 8 (Updated) 60 Click on “Run with Existing Settings”

Fall 08, Oct 31ELEC Lecture 8 (Updated) 61 Click on “Save Patterns”

Fall 08, Oct 31ELEC Lecture 8 (Updated) 62

Fall 08, Oct 31ELEC Lecture 8 (Updated) Check “Save the Pattern Set to a File” 2. Enter a filename for the test vector file 3. Click OK

Fall 08, Oct 31ELEC Lecture 8 (Updated) 64 Opening the pattern file saved  You can open the pattern file you just saved in the windows environment using any text editor (notepad, wordpad, Word,etc.)  The pattern file you saved will be in your current working design directory e.g. H:\my_name\  Next slide shows the pattern file

Fall 08, Oct 31ELEC Lecture 8 (Updated) 65 Total no. of faults Fault Coverage Total no. of test cycles (vectors) User CPU time