1 - ECpE 583 (Reconfigurable Computing): Tools overview Iowa State University (Ames) CPRE 583 Reconfigurable Computing (Tools overview) Instructor: Dr.

Slides:



Advertisements
Similar presentations
How to Use Stowe School District
Advertisements

Managing Your Site – Lesson 61 Managing Your Site Lesson 6.
Xilinx 6.3 Tutorial Integrated Software Environment (ISE) Set up basic environment Select Gates or Modules to Be simulated (Insert Program Code) Run Waveform.
Macintosh OS X. What is an operating system? O Like cars, computers have operating systems (sometimes abbreviated OS). O A computer operating system is.
Integrated Circuits Laboratory Faculty of Engineering Digital Design Flow Using Mentor Graphics Tools Presented by: Sameh Assem Ibrahim 16-October-2003.
1 - ECpE 583 (Reconfigurable Computing): State Machines (Part 2) Iowa State University (Ames) ECpE 583 Reconfigurable Computing Lect 5: Tues 9/9/2008 (State.
Rachelle Howell The University of Texas at Austin.
Dayu Zhang 9/8/2014 Lab02. Example of Commands pwd --- show your current directory This is home of venus, not your home directory Tilde: means you are.
ECE 272 Xilinx Tutorial. Workshop Goals Learn how to use Xilinx to: Draw a schematic Create a symbol Generate a testbench Simulate your circuit.
Installing SAS 9.3 Raymond R. Balise Health Research and Policy.
Installing SAS 9.3 Raymond R. Balise Health Research and Policy.
Exploring the Internet Creating and setting up your website Instructor: Michael Krolak Instructor: Patrick Krolak See also
CS115 HOW TO INSTALL THE JAVA DEVELOPMENT KIT (JDK)
Downloading and Installing AutoCAD Architecture 2015 This is a 4 step process 1.Register with the Autodesk Student Community 2.Downloading the software.
1 Introduction to Programming Environment Using MetroWerks CodeWarrior and Palm Emulator.
Programming with App Inventor Computing Institute for K-12 Teachers Summer 2012 Workshop.
Guest Lecture by Ben Magstadt CprE 281: Digital Logic.
Go to our website, and click on the eMedia Catalog link To find books, either click on the advanced search (which I will.
The Unix Environment and Compiling. Getting Set Up Your programs will be compiled and tested on the Departmental server ‘linprog’ The linprog servers.
Digital Logic and State Machine Design Installing Xilinx WebPACK 12.4 CS 2204 Digital Hardware.
CprE 288 – Quick intro for compiling C in Linux
Guest Lecture by Ben Magstadt CprE 281: Digital Logic.
Power Point EDU 271 Microsoft PowerPoint is a powerful tool to create professional looking presentations and slide shows. PowerPoint allows you to construct.
How to Download and Install a Sharp Print Driver on a Mac.
Home Media Network Hard Drive Training for Update to 2.0 By Erik Collett Revised for Firmware Update.
Guidelines for Homework 6. Getting Started Homework 6 requires that you complete Homework 5. –All of HW5 must run on the GridFarm. –HW6 may run elsewhere.
U3A Computing Class Leader – Brian Moore Week 5 of 10 weeks. Mondays 4:15 to 5:45 pm Next week is half term then an Inset day So Next lesson is 4 November.
Object-Oriented Software Engineering Using UNIX groups and CVS Estimated Time: minutes.
Welcome to the PACMAN/SFMe presentation. How a salesperson uses the system. Before the day starts During the day At the end of the day.
Installing SIGNZ on a stand- alone machine. These slides will guide you through the installation of the SIGNZ ‘server’ and ‘client’ components on one machine.
Spring Introduction  Today’s tutorial focuses on introducing you to Xilinx ISE and Modelsim.  These tools are used for Verilog Coding Simulation.
FTP Server and FTP Commands By Nanda Ganesan, Ph.D. © Nanda Ganesan, All Rights Reserved.
1 Introduction to Xilinx ISL8.1i Schematic Capture and VHDL 1.
1 ITI 1120 Lab # 1 An Introduction to the Lab Environment Contributors: G. Arbez, M. Eid, D. Inkpen, A. Williams, D. Amyot.
Booting Ubuntu Linux Live CSCI 130 – Fall 2008 Action Lab Dr. W. Jones.
1 Introduction to Xilinx ISL8.1i & 11.1 Schematic Capture 1.
My Second FPGA for Altera DE2-115 Board 數位電路實驗 TA: 吳柏辰 Author: Trumen.
CS/CoE 536 : Lockwood 1 CS/CoE 536 Reconfigurable System On Chip Design Lecture 4 : Demonstration of Machine Problem 1 : CAM-based Firewall Washington.
Synopsys Custom Designer Tutorial for a chip integration using the University of Utah Standard Cell Libraries In ON Semiconductor 0.5u C5 CMOS Version.
Diagnostic Pathfinder for Instructors. Diagnostic Pathfinder Local File vs. Database Normal operations Expert operations Admin operations.
Guidelines for ENSCONET partners in the use of the e-forum.
Fall 08, Oct 31ELEC Lecture 8 (Updated) 1 Lecture 8: Design, Simulation Synthesis and Test Tools ELEC 2200: Digital Logic Circuits Nitin Yogi
Downloading and Installing Autodesk Inventor Professional 2015 This is a 4 step process 1.Register with the Autodesk Student Community 2.Downloading 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.
1 - CPRE 583 (Reconfigurable Computing): VHDL to FPGA: A Tool Flow Overview Iowa State University (Ames) CPRE 583 Reconfigurable Computing Lecture 5: 9/7/2011.
Screenshots of Mentor Schematic Capture Software TAMU Group August 2014 J. Gilmore 1.
Using Simulator With Undertow Suite. Source environment variables For example, envsource has all the environment variables set up. You can change the.
Chapter 24 I’m Suffering from Information Overload (Access Databases) Clearly Visual Basic: Programming with Visual Basic nd Edition.
11 EENG 1920 Introduction to VHDL. 22 Hardware Description Language A computer language used to design circuits with text-based descriptions of the circuits.
FTP COMMANDS OBJECTIVES. General overview. Introduction to FTP server. Types of FTP users. FTP commands examples. FTP commands in action (example of use).
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.
1 - ECpE 583 (Reconfigurable Computing): CoreGen Overview Iowa State University (Ames) CPRE 583 Reconfigurable Computing Lecture 18: Wed 10/26/2011 (CoreGen.
These steps will guide you through installing the pcAnywhere Host software so that we can remote control your PC from NZ! Once installed, it will only.
CprE 281: Verilog Tutorial Ben Magstadt – Master’s Student Electrical Engineering.
Tutorial for Modelsim 1 Installation Download the Modelsim Student Edition: Follow the.
How to use ISE Dept. of Info & Comm. Eng. Prof. Jongbok Lee.
© CGI Group Inc. User Guide Subversion client TortoiseSVN.
Review Why do we use protection levels? Why do we use constructors?
VLSI Synthesis and Simulation Tools Nitin Yogi 01/09/2009
Introduction to Vivado
My Second FPGA for Altera DE2-115 Board
Implementing VHDL Modules onto Atlys Demo Board
Getting Started with Vivado
CPRE 583 Reconfigurable Computing (Tools overview)
CS115 HOW TO INSTALL THE JAVA DEVELOPMENT KIT (JDK)
Founded in Silicon Valley in 1984
Inside a PMI Online Course
bitcurator-access-webtools Quick Start Guide
Presentation transcript:

1 - ECpE 583 (Reconfigurable Computing): Tools overview Iowa State University (Ames) CPRE 583 Reconfigurable Computing (Tools overview) Instructor: Dr. Phillip Jones Reconfigurable Computing Laboratory Iowa State University Ames, Iowa, USA

2 - ECpE 583 (Reconfigurable Computing): Tools overview Iowa State University (Ames) Outline NX: For remotely accessing Linux machines from off campus Very basic Linux –Some on-line tutorials and quick reference cards pdfhttps:// pdf Creating a new ISE project Running simulation from within ISE Generating a bitfile Downloading a bitfile to the FPGA board (impact)

3 - ECpE 583 (Reconfigurable Computing): Tools overview Iowa State University (Ames) NX NX is an application that allows you to access Linux machines from off campus. –It is very lightweight and can be typically installed in less than 5 minutes You can download NX from the following links –For Windows: –For Linux: –For MAC OS: –For Solaris: After you install the NX client, make sure to install any additional fonts that are available for your platform type. If you do not some application will not display properly You can login to the following ISU Linux machines using your userID & password –Those listed here: Note: These machine do NOT have access to FPGA hardware –xilnx-1, xilinx-2, xilinx-3.ece.iastate.edu Note 1: the xilinx machines should only be used when testing a circuit using the FPGA hardware. Note 2: the xilinx machines are primarily for distance students to test hardware. On campus students should use a machine in Coover 2050

4 - ECpE 583 (Reconfigurable Computing): Tools overview Iowa State University (Ames) Very basic Linux How to unpack a.zip or.tar.gz file –.zip unzip my_file.zip –.tar.gz gunzip my_file.gz.tar tar -xvf my_file.tar How do I know where I am –pwd (tells you your current location, use this command often) What is in my current location –ls (list all the files and directors at this location) Changing directories –cd directory_name cd.. (takes you up one directory level) cd ~ (takes you to your home directory) Making a new directory –mkdir new_directory_name

5 - ECpE 583 (Reconfigurable Computing): Tools overview Iowa State University (Ames) Creating a new ISE project cd to where you want to make a directory for your project mkdir the directory for you project cd into the directory you made pwd to check that you are indeed in that directory source./Xilinx_12_4_src.txt –This command tells the computer where to find the tools (e.g. ise). You must run this command any time you open a new Linux terminal. In this case, I’m assuming you are running the “source” command where your “Xilinx_12_4_src.txt” file is located. start ise: ise & Note: If you already have a project: ise project_name.xise &

6 - ECpE 583 (Reconfigurable Computing): Tools overview Iowa State University (Ames) Creating a new ISE project Note you already have a project for the AND gate. Use these directions to get you going for the OR gate.

7 - ECpE 583 (Reconfigurable Computing): Tools overview Iowa State University (Ames) Creating a new ISE project

8 - ECpE 583 (Reconfigurable Computing): Tools overview Iowa State University (Ames) Creating a new ISE project Browse to the location of the directory you created

9 - ECpE 583 (Reconfigurable Computing): Tools overview Iowa State University (Ames) Creating a new ISE project Give your project a name

10 - ECpE 583 (Reconfigurable Computing): Tools overview Iowa State University (Ames) Creating a new ISE project Make your setting match this click Next

11 - ECpE 583 (Reconfigurable Computing): Tools overview Iowa State University (Ames) Creating a new ISE project You project summary should look something like this. Click finish

12 - ECpE 583 (Reconfigurable Computing): Tools overview Iowa State University (Ames) Creating a new ISE project You have no files! Here are your choices. Very rarely do I start a VHDL file from scratch. Lets create a new source files. Then use some existing VHDL to fill it. For example for the OR gate. Add new source files for the testbench and OR gate. Then copy/paste from the given AND example to get you going.

13 - ECpE 583 (Reconfigurable Computing): Tools overview Iowa State University (Ames) Creating a new ISE project Right click to pop up options

14 - ECpE 583 (Reconfigurable Computing): Tools overview Iowa State University (Ames) Creating a new ISE project In this case we will add two source files. One for the testbench (AND_TB) to test the AND gate (AND_2bit). Indicate you are Adding a VHDL file

15 - ECpE 583 (Reconfigurable Computing): Tools overview Iowa State University (Ames) Creating a new ISE project You can add the port names, direction and width here. Since we are going to copy VHDL source code form somewhere else we will skip this step. Note: This is a step for convince for when you do not have code to start from.

16 - ECpE 583 (Reconfigurable Computing): Tools overview Iowa State University (Ames) Creating a new ISE project

17 - ECpE 583 (Reconfigurable Computing): Tools overview Iowa State University (Ames) Creating a new ISE project The tool tries to be helpful by adding some VHDL for you. I would suggest deleting this and copying from the AND gate example, until you get more comfortable with the tools.

18 - ECpE 583 (Reconfigurable Computing): Tools overview Iowa State University (Ames) Creating a new ISE project Now let’s add a source file for the 2-bit AND gate component.

19 - ECpE 583 (Reconfigurable Computing): Tools overview Iowa State University (Ames) Creating a new ISE project

20 - ECpE 583 (Reconfigurable Computing): Tools overview Iowa State University (Ames) Creating a new ISE project

21 - ECpE 583 (Reconfigurable Computing): Tools overview Iowa State University (Ames) Creating a new ISE project

22 - ECpE 583 (Reconfigurable Computing): Tools overview Iowa State University (Ames) Creating a new ISE project You have some files Note: The Hierarchy window should show the strutural relationship between your files. At this point it shows AND_TB and AND_2bit at the same level

23 - ECpE 583 (Reconfigurable Computing): Tools overview Iowa State University (Ames) Creating a new ISE project After updating your VHDL files with the appropriating “entity” and “component” names. ISE will figure out the hierarchy. The 2-bit AND gate is a subcomponent of AND_TB.

24 - ECpE 583 (Reconfigurable Computing): Tools overview Iowa State University (Ames) Creating a new ISE project If you see a question mark, this could mean ISE lost track of your file when you were editing it. If your file is indeed in the project directory, then just tell ISE

25 - ECpE 583 (Reconfigurable Computing): Tools overview Iowa State University (Ames) Creating a new ISE project Remind ISE where it is Note: The “?” can also appear if you incorrectly named you entity in the VHDL

26 - ECpE 583 (Reconfigurable Computing): Tools overview Iowa State University (Ames) Creating a new ISE project

27 - ECpE 583 (Reconfigurable Computing): Tools overview Iowa State University (Ames) Simulating your design Set “View” to Simulation Select at what level you want to compile or simulate. In this case the whole design

28 - ECpE 583 (Reconfigurable Computing): Tools overview Iowa State University (Ames) Simulating your design Set simulation properties. For example how long to run for

29 - ECpE 583 (Reconfigurable Computing): Tools overview Iowa State University (Ames) Simulating your design For this case I’ve set the simulation to run for 1000 ns

30 - ECpE 583 (Reconfigurable Computing): Tools overview Iowa State University (Ames) Simulating your design Now simulate

31 - ECpE 583 (Reconfigurable Computing): Tools overview Iowa State University (Ames) Simulating your design Modelsim compiles your VHDL before simulating it. In this case it caught a syntax error. Missing semicolon

32 - ECpE 583 (Reconfigurable Computing): Tools overview Iowa State University (Ames) Simulating your design It looks like this version of ISE does syntax checking every time you save a file. So this error could have been caught earlier.

33 - ECpE 583 (Reconfigurable Computing): Tools overview Iowa State University (Ames) Simulating your design Now that you can run simulation. You need to add signals and dividers. Right click in the “Wave” window to Insert a Divider

34 - ECpE 583 (Reconfigurable Computing): Tools overview Iowa State University (Ames) Simulating your design To add signals for the AND gate. 1) select it in “Instance”, this instance of the AND gate is called “my_dut”, 2) select the signals in the “Objects window, 3) Drag and drop the signals into the “Wave” window 1 23

35 - ECpE 583 (Reconfigurable Computing): Tools overview Iowa State University (Ames) Simulating your design Typically you will want ALL of your signal in “Hexadecimal”. To do this 1) select all of the signals, 2) right in wave window, 3) Radix->Hexadecimal

36 - ECpE 583 (Reconfigurable Computing): Tools overview Iowa State University (Ames) Simulating your design: Saving wave formats To keep from having to reformat you signals EVERY time for the same Design, save you wave format

37 - ECpE 583 (Reconfigurable Computing): Tools overview Iowa State University (Ames) Simulating your design: Saving wave formats For this project I have named the wave format HW1_3_a_AND_wave.do Next we will look at how to tell ISE to use this wave format when it launches Modelsim. Note: there are a number of ways of doing this, and even different versions of ISE support different methods. Often this is something you need to play around with and figure out yourself.

38 - ECpE 583 (Reconfigurable Computing): Tools overview Iowa State University (Ames) Simulating your design: Saving wave formats Contents of your project directory Wave format you just created ISE file that will call your wave format Tell ISE to only call your wave format file “cat” prints the contents of a file This is how I modified AND_TB_wave.fdo After you make this updates, restart Modelsim from ISE to see if it worked

39 - ECpE 583 (Reconfigurable Computing): Tools overview Iowa State University (Ames) Simulating your design: Saving datasets Some times you want to save the dataset (.wlf) for a simulation run. Often this is used to compare the behavior of one version of a design to another while debugging. And for this class you will save datasets so that I can review the behavior of your circuits without needed your source code.

40 - ECpE 583 (Reconfigurable Computing): Tools overview Iowa State University (Ames) Simulating your design: Saving datasets 1. Modelsim typically saves the current dataset as “vsim.wlf” 2. Rename it to the name you want. In this case HW1_2_a_AND_dat.wlf

41 - ECpE 583 (Reconfigurable Computing): Tools overview Iowa State University (Ames) Simulating your design: Loading Dataset To check if your dataset saved correctly open Modelsim standalone (vsim &), and load the wave dataset (.wlf), and then the associated wave format

42 - ECpE 583 (Reconfigurable Computing): Tools overview Iowa State University (Ames) Simulating your design: Loading Datasets Open a wave window, then readjust/resize the windows of Modelsim

43 - ECpE 583 (Reconfigurable Computing): Tools overview Iowa State University (Ames) Simulating your design: Loading Datasets Find and open the dataset

44 - ECpE 583 (Reconfigurable Computing): Tools overview Iowa State University (Ames) Simulating your design: Loading Datasets Find and open the dataset

45 - ECpE 583 (Reconfigurable Computing): Tools overview Iowa State University (Ames) Simulating your design: Loading Datasets Now load the wave format (.do) associated with this dataset

46 - ECpE 583 (Reconfigurable Computing): Tools overview Iowa State University (Ames) Simulating your design: Loading Datasets Browse to find the correct wave format (.do)

47 - ECpE 583 (Reconfigurable Computing): Tools overview Iowa State University (Ames) Simulating your design: Loading Datasets Your dataset and associated waveform should appear

48 - ECpE 583 (Reconfigurable Computing): Tools overview Iowa State University (Ames) Simulating your design: Useful Buttons Useful Buttons in Modelsim Toggle between short and full signal names Zoom in Zoom out Zoom full Select mode Zoom mode (VERY useful!!) Jump to previous or next signal value transition (VERY useful!!)

49 - ECpE 583 (Reconfigurable Computing): Tools overview Iowa State University (Ames) Generating a bitfile View can be set to simulation or Implementation. Implementation only shows those files that will go on the hardware. Simulation typically shows files that will be simulated and/or put on the hardware

50 - ECpE 583 (Reconfigurable Computing): Tools overview Iowa State University (Ames) Generating a bitfile Any source file that will only be simulated should have its properties set to reflect this. In this case AND_TB will be set to Simulation. And my_dut (AND_2bit) will be set to ALL (i.e. both simulation and implementation)

51 - ECpE 583 (Reconfigurable Computing): Tools overview Iowa State University (Ames) Generating a bitfile Any source file that will only be simulated should have its properties set to reflect this. In this case AND_TB will be set to Simulation. And my_dut (AND_2bit) will be set to ALL (i.e. both simulation and implementation)

52 - ECpE 583 (Reconfigurable Computing): Tools overview Iowa State University (Ames) Generating a bitfile Now when the view is switch to “Implementation” only VHDL that will be put on the hardware is shown. Also note in the “Processes” we have new options. One of which is “Generate Programming File”

53 - ECpE 583 (Reconfigurable Computing): Tools overview Iowa State University (Ames) Generating a bitfile One typically selects the top level component and runs “Generate Programming File” to generate a bitfile to download to the FPGA. Note we’ve switched to MP1 because the AND_2bit example does not have a user constraint file (.ucf) defined to tell the tools how to connect the design to the FPGA I/O pins

54 - ECpE 583 (Reconfigurable Computing): Tools overview Iowa State University (Ames) Generating a bitfile If all goes well, then after some time you should get a GREEN check next the “Generate Programming File”. And a file called.bit, in this case MP1_top.bit, should be placed in your project directory.

55 - ECpE 583 (Reconfigurable Computing): Tools overview Iowa State University (Ames) Downloading a bitfile to the FPGA Go to the directory where your bitfile is located and start impact Note: You must be on a machine that has an FPGA board connected to it.

56 - ECpE 583 (Reconfigurable Computing): Tools overview Iowa State University (Ames) Downloading a bitfile to the FPGA Yes should be fine as well

57 - ECpE 583 (Reconfigurable Computing): Tools overview Iowa State University (Ames) Downloading a bitfile to the FPGA

58 - ECpE 583 (Reconfigurable Computing): Tools overview Iowa State University (Ames) Downloading a bitfile to the FPGA

59 - ECpE 583 (Reconfigurable Computing): Tools overview Iowa State University (Ames) Downloading a bitfile to the FPGA Bypass until you get to the FX70

60 - ECpE 583 (Reconfigurable Computing): Tools overview Iowa State University (Ames) Downloading a bitfile to the FPGA FX 70 is now selected (GREEN)

61 - ECpE 583 (Reconfigurable Computing): Tools overview Iowa State University (Ames) Downloading a bitfile to the FPGA

62 - ECpE 583 (Reconfigurable Computing): Tools overview Iowa State University (Ames) Downloading a bitfile to the FPGA

63 - ECpE 583 (Reconfigurable Computing): Tools overview Iowa State University (Ames) Downloading a bitfile to the FPGA

64 - ECpE 583 (Reconfigurable Computing): Tools overview Iowa State University (Ames) Downloading a bitfile to the FPGA

65 - ECpE 583 (Reconfigurable Computing): Tools overview Iowa State University (Ames) Generating a bitfile: Fixing a locked cable For various reasons “impact” will have an issue downloading your bitfile. This can be caused by more than one person trying to run impact to connect to the board, or impact crashing, or power being turned off to the board. In the worst case one as to reboot the machine. We like to avoid this because you do not have administrative rights to reboot the machine. Though one campus students can power cycle. Some things to try –In impact: output -> cable reset –From the command line > impact -batch > setMode -bscan > cleancablelock > quit –From the command line > xmd > xclean_cablelock –Send me an , and/or a “wall” message