Dept. of Electronics & Info. Eng. Prof. Jongbok Lee

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

Verilog Intro: Part 1.
Integrated Circuits Laboratory Faculty of Engineering Digital Design Flow Using Mentor Graphics Tools Presented by: Sameh Assem Ibrahim 16-October-2003.
ECE – 329 Fall 2007 Lab Manual for Xilinx Example: Design and simulation of a Half Adder Instructor: Dr.Botros.
02/02/20091 Logic devices can be classified into two broad categories Fixed Programmable Programmable Logic Device Introduction Lecture Notes – Lab 2.
1/31/20081 Logic devices can be classified into two broad categories Fixed Programmable Programmable Logic Device Introduction Lecture Notes – Lab 2.
Altera’s Quartus II Installation, usage and tutorials Gopi Tummala Lab/Office Hours : Friday 2:00 PM to.
DIGITAL DESIGN WITH VHDL Exercise 1 1Muhammad Amir Yousaf.
Digital System Design EEE344 Lecture 1 INTRODUCTION TO THE COURSE
ECE 448: Spring 12 Lab 4 – Part 2 Finite State Machines Basys2 FPGA Board.
Introduction to FPGA Design Illustrating the FPGA design process using Quartus II design software and the Cyclone II FPGA Starter Board. Physics 536 –
Tutorial 2: Introduction to ISE 14.6 (revised by khw)
Guest Lecture by Ben Magstadt CprE 281: Digital Logic.
ISE. Tatjana Petrovic 249/982/22 ISE software tools ISE is Xilinx software design tools that concentrate on delivering you the most productivity available.
Lecture #3 Page 1 ECE 4110– Sequential Logic Design Lecture #3 Agenda 1.FPGA's 2.Lab Setup Announcements 1.No Class Monday, Labor Day Holiday 2.HW#2 assigned.
Boolean Algebra (Continued) ELEC 311 Digital Logic and Circuits Dr. Ron Hayne Images Courtesy of Cengage Learning.
System Arch 2008 (Fire Tom Wada) /10/9 Field Programmable Gate Array.
1 Keyboard Controller Design By Tamas Kasza Digital System Design 2 (ECE 5572) Summer 2003 A Project Proposal for.
Lecture #3 Page 1 ECE 4110– Sequential Logic Design Lecture #3 Agenda 1.FPGA's 2.Lab Setup Announcements 1.No Class Monday, Labor Day Holiday 2.HW#2 assigned.
Spring Introduction  Today’s tutorial focuses on introducing you to Xilinx ISE and Modelsim.  These tools are used for Verilog Coding Simulation.
© 2003 Xilinx, Inc. All Rights Reserved For Academic Use Only Xilinx Design Flow FPGA Design Flow Workshop.
1 Introduction to Xilinx ISL8.1i Schematic Capture and VHDL 1.
1 Introduction to Xilinx ISL8.1i & 11.1 Schematic Capture 1.
정 용 군 ( 전자공학과 대학원 ) 대상 : VLSI 설계 연구회 1,2,3 학년 기간 : ~ Synopsys Tool 교육 Synopsys 교육 1.
ASIC 121: Practical VHDL Digital Design for FPGAs Tutorial 1 September 27, 2006.
FPGA_Editor Probes. . Probe Overview 2 Adding a Probe : GUI Probes tie an internal signal to an output pin To Launch the GUI: Click the “probes” button.
Introduction to FPGA Created & Presented By Ali Masoudi For Advanced Digital Communication Lab (ADC-Lab) At Isfahan University Of technology (IUT) Department.
OVERVIEW OF OVERVIEW OF Spartan-3. DESIGNFLOW Translate Map Place & Route Plan & Budget HDL RTL Simulation Synthesize to create netlist Functional Simulation.
This material exempt per Department of Commerce license exception TSU Xilinx Tool Flow.
Lecture #3 Page 1 ECE 4110–5110 Digital System Design Lecture #3 Agenda 1.FPGA's 2.Lab Setup Announcements 1.HW#2 assigned Due.
Lecture #2 Page 1 ECE 4110– Sequential Logic Design Lecture #2 Agenda 1.Logic Design Tools Announcements 1.n/a.
ACCESS IC LAB Graduate Institute of Electronics Engineering, NTU FPGA Design with Xilinx ISE Presenter: Shu-yen Lin Advisor: Prof. An-Yeu Wu 2005/6/6.
Introductory project. Development systems Design Entry –Foundation ISE –Third party tools Mentor Graphics: FPGA Advantage Celoxica: DK Design Suite Design.
Introduction to FPGA Tools
11 EENG 1920 Introduction to VHDL. 22 Hardware Description Language A computer language used to design circuits with text-based descriptions of the circuits.
Teaching Digital Logic courses with Altera Technology
IAY 0600 Digital Systems Design Timing and Post-Synthesis Verifications Hazards in Combinational Circuits Alexander Sudnitson Tallinn University of Technology.
CprE 281: Verilog Tutorial Ben Magstadt – Master’s Student Electrical Engineering.
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.
Introduction to the FPGA and Labs
IAY 0600 Digital Systems Design
Introduction to Vivado
EECE6017C - Lab 0 Introduction to Altera tools and Basic Digital Logic
LAB #4 Xilinix ISE Foundation Tools VHDL Design Entry “A Tutorial”
Using Xilinx ChipScope Pro Tools
Dept. of Electrical and Computer Engineering
M1.5 Foundation Tools Xilinx XC9500/XL CPLD
Implementing VHDL Modules onto Atlys Demo Board
Dept. of Electronics & Info. Eng. Prof. Jongbok Lee
Introduction to Programmable Logic
Chapter 5. Code converter
ECE 4110–5110 Digital System Design
ENG6530 Reconfigurable Computing Systems
CR 245L Digital Design I Lab Sum of Products, 7-Segment Display,
Programmable Logic Devices: CPLDs and FPGAs with VHDL Design
Field Programmable Gate Array
Field Programmable Gate Array
Field Programmable Gate Array
Course Agenda DSP Design Flow.
Week 5, Verilog & Full Adder
Logic Gates Practical Objective: to develop an understanding of logic circuits and truth tables.
IAY 0800 Digitaalsüsteemide disain
Introduction to Verilog
Getting Started with Vivado
Founded in Silicon Valley in 1984
THE ECE 554 XILINX DESIGN PROCESS
Digital Designs – What does it take
THE ECE 554 XILINX DESIGN PROCESS
Presentation transcript:

Dept. of Electronics & Info. Eng. Prof. Jongbok Lee How to use ISE Dept. of Electronics & Info. Eng. Prof. Jongbok Lee

A. Introduction Xilinx ISE (Integrated Software Environment) VHDL/Verilog coding Synthesis FPGA Programming & Implementation

I. Start Double click Xilinx ISE 10.1i File New Project Project Navigator appears File New Project New Project window Project Name : proj_name Top-Level Module Type : HDL Click [next] File ***.ise is created

New Project window Device Family : Spartan3 Device : xc3s400 Package : FT256 Speed Grade : -4 [next][next][finish]

II. VHDL Coding Project  New Source ProjectAdd Source Select VHDL Module File Name : myinv ProjectAdd Source You can add an existing vhdl source Define VHDL Source window Port Name : Direction a: in b: out [next][finish]

if VHDL window appears, File  Save Source window:Source for Synthesis/Implementation You can double click Check Syntax and find the syntax error Architecture Behavioral of myinv is begin b <= not(a); end Behavioral

IV. Synthesis Source window : select Synthesis/Implementation signal B13 B14 A14 A12 Source window : select Synthesis/Implementation Synthesize-XST click Check Syntax if wrong, see the View Synthesis Report and fix it. if right Save FPGA pin number assigment Source window: select myinv.vhd Process window: User Constraints  Floor Plan IO - Pre Synthesis Xilinx PACE window appears Design Object List-I/O Pins I/O Name : I/O Direction : Loc a : Input :G3 b : Output :A12 File  Save G3 G4 H3 H4 signal pin no. a G3 b A12

Switches & LEDs on Board P16 D9 C9 C12 B13 B14 A14 A12 LED PUSH SWITCH DIP SWITCH G3 G4 H3 H4 R16 C15 B16 G14 G15 L13 M14 G1

Note In one project, only one module can be synthesized. if the User Constraint, Synthesize-XST,Implement, Generate menu does not appear in the process window, select module, click right mouse button and select to execute Set As Top Module Then the three triangle appears in front of the module.

Implementation Translate : transform the netlist into the inner format Map : optimize and then map the logic circuits to the FPGA resources such as CLB and IOB. Place & Route : connect the gates allocated in CLBs

note CLB(Configurable Logic Block) consists of 3 LUTs(Look Up Table) and 2 Flip Flops the basic block that constitutes FPGA

Synthesize and P&R Process window : double click Synthesize-XST Process window : double click Implement Design

EDA-Lab II Experiment Kit Function : An equipment for the verification of FPGA circuit design Usage : education, circuit development FPGA capacity : 400,000 gates Supporting software : Design Pro Shop

V. Emulation Emulation ? How to set up a hardware mimics another hardware How to set up connect EDA-Lab 2’s Xilinx USB JTAG port to PC. connect the power cable. Turn on the Power.

Generating an FPGA programming file Process window : Double click Generate Programming File See the Programming File Generation Report make sure myinv.bit has been created. It should be in the project folder.

iMPACT Process window Configure Target Device Manage Configuration Project(iMPACT) File  Initialize Chain Assign New Configuration File : myinv.bit [open] [bypass] select xc3s400 (left green one) and click the right mouse buttonprogram : Program Succeeded !

Emulation 입력 push button 1 누르지 않음 누름 출력 LED 꺼짐 1 켜짐 누름 출력 LED 꺼짐 1 켜짐 % 손을 떼면 입력 1- LED 꺼짐 출력 0, 누르면 입력- 0 LED 켜짐 출력 1

Emulation with DIP switch Try again with below pins for DIP switch R16 C15 B16 G14 G15 L13 M14 G1 입력 DIP switch 1 내림 올림 signal pin no. a R16 b A12

Emulation with DPS Try again with below pins for DPS Connect cables carefully Input : JP4.0~CN3.22 Output : JP6.0~CN1.17 Plug USB cable into the DPS-USB port. signal pin no. a D7 b A12

Emulation with DPS Execute DPS Down load DPS from the lecture site Double click DPS 3.5 and install View  Single Step Mode, input signals and click Write View  Waveform Mode, you can see the waves

View Multi Step Mode ToolOptionTiming Edit Add : lines appear(or click ‘+’ symbol). Input 16 digits either in Binary or Hexa. ex) 0000000000001000 or 0008 (which is simpler?) EditSelect All (or Ctrl-C). PortRun (or symbol ’’):automatically processes and outputs generated in binary and hexa. ToolOptionTiming Interval For Running 500ms may be changed.

Multi Step Mode I/O Hexa-decimal input and hexa-decimal output is recommended Without input, rest of the digits are filled with zero automatically.

DPS Emulation Result 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

[2] Full Adder Data Flow Modeling (3 methods) entity full_adder is port (a,b,ci : in std_logic; sum, co : out std_logic); end full_adder; architecture Behavioral of full_adder is begin co <= (a and b) or (b and ci) or (ci and a); sum <= a xor b xor ci; end Behavioral; P16 D9 C9 C12 B13 B14 A14 A12 G3 G4 H3 H4 R16 C15 B16 G14 G15 L13 M14 G1 signal push DIP pin no. (DPS) cable a G3 R16 D7 JP4.0~CN3.22 b G4 C15 C7 JP4.1~CN3.23 ci H3 B16 B7 JP4.2~CN3.24 sum A12 JP6.0~CN1.17 co A14 JP6.1~CN1.18 % 실험 예 손을 모두 떼면 입력 111 LED on-on이므로 출력 11 두개를 누르면 입력 100 LED off-on이므로 출력 01 (sum=1) 한 개를 누르면 입력 110 LED on-off이므로 출력 10 (co=1) 세개를 누르면 입력 000 LED off-off 출력 00

DPS Emulation Result 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 0 FFFC 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 1 FFFD 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 2 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 1 FFFD 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 3 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 FFFE 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 4 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 1 FFFD 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 5 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 FFFE 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 0 6 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 FFFE 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 7 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 FFFF