ch3 3.1 03xilinx design flow ise 2003

25
© 2003 Xilinx, Inc. All Rights R eserved Xilinx Design Flow PDF created with pdfFactory Pro trial version www.pdffactory.com

Upload: varadha-rajan

Post on 09-Apr-2018

224 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Ch3 3.1 03xilinx Design Flow ISE 2003

8/7/2019 Ch3 3.1 03xilinx Design Flow ISE 2003

http://slidepdf.com/reader/full/ch3-31-03xilinx-design-flow-ise-2003 1/25

© 2003 Xilinx, Inc. All Rights Reserved

Xilinx Design Flow

PDF created with pdfFactory Pro trial version www.pdffactory.com

Page 2: Ch3 3.1 03xilinx Design Flow ISE 2003

8/7/2019 Ch3 3.1 03xilinx Design Flow ISE 2003

http://slidepdf.com/reader/full/ch3-31-03xilinx-design-flow-ise-2003 2/25

Xilinx Design Flow 3 - 3 © 2003 Xilinx, Inc. All Rights Reserved

Objectives

 After completing this module, you will be able to:

• List the steps of the Xilinx design process

• Implement an FPGA design by using default software options

PDF created with pdfFactory Pro trial version www.pdffactory.com

Page 3: Ch3 3.1 03xilinx Design Flow ISE 2003

8/7/2019 Ch3 3.1 03xilinx Design Flow ISE 2003

http://slidepdf.com/reader/full/ch3-31-03xilinx-design-flow-ise-2003 3/25

Xilinx Design Flow 3 - 4 © 2003 Xilinx, Inc. All Rights Reserved

Outline

• Overview

• ISE

• Summary

PDF created with pdfFactory Pro trial version www.pdffactory.com

Page 4: Ch3 3.1 03xilinx Design Flow ISE 2003

8/7/2019 Ch3 3.1 03xilinx Design Flow ISE 2003

http://slidepdf.com/reader/full/ch3-31-03xilinx-design-flow-ise-2003 4/25

Xilinx Design Flow 3 - 5 © 2003 Xilinx, Inc. All Rights Reserved

Translate

Map

Place & Route

Xilinx Design Flow

Plan & Budget HDL RTL

Simulation

Synthesize

to create netlist

Functional

Simulation

Create

Bit File

 Attain Timing

Closure

Timing

Simulation

Implement

Create Code/

Schematic

PDF created with pdfFactory Pro trial version www.pdffactory.com

Page 5: Ch3 3.1 03xilinx Design Flow ISE 2003

8/7/2019 Ch3 3.1 03xilinx Design Flow ISE 2003

http://slidepdf.com/reader/full/ch3-31-03xilinx-design-flow-ise-2003 5/25

Xilinx Design Flow 3 - 6 © 2003 Xilinx, Inc. All Rights Reserved

Design Entry

• Plan and budget

• Two design-entry methods: HDL or schematic

 – Architecture Wizard, CORE Generator ™ system, and StateCADare available

to assist in design entry

• Whichever method you use, you will need a tool to generate an EDIF or NGC

netlist to bring into the Xilinx implementation tools

 – Popular synthesis tools: Synplify, Precision, FPGA Compiler II, and XST

• Simulate the design to ensure that it works as expected!

Plan & Budget Create Code/

Schematic

HDL RTL

Simulation

Synthesize

to create netlist

Functional

Simulation. . .

PDF created with pdfFactory Pro trial version www.pdffactory.com

Page 6: Ch3 3.1 03xilinx Design Flow ISE 2003

8/7/2019 Ch3 3.1 03xilinx Design Flow ISE 2003

http://slidepdf.com/reader/full/ch3-31-03xilinx-design-flow-ise-2003 6/25

Xilinx Design Flow 3 - 7 © 2003 Xilinx, Inc. All Rights Reserved

Xilinx Implementation

• Once you generate a netlist,

you can implement the design

• There are several outputs of 

implementation – Reports

 – Timing simulation netlists

 – Floorplan files

 – FPGA Editor files

 –

and more!

Translate

Map

Place & Route

Implement

. . .

.

.

.

PDF created with pdfFactory Pro trial version www.pdffactory.com

Page 7: Ch3 3.1 03xilinx Design Flow ISE 2003

8/7/2019 Ch3 3.1 03xilinx Design Flow ISE 2003

http://slidepdf.com/reader/full/ch3-31-03xilinx-design-flow-ise-2003 7/25

Xilinx Design Flow 3 - 8 © 2003 Xilinx, Inc. All Rights Reserved

What is Implementation?

• More than just “Place & Route”

• Implementation includes many phases

 – Translate: Merge multiple design files into a single netlist

 – Map: Group logical symbols from the netlist (gates) into physical

components (slices and IOBs) – Place & Route: Place components onto the chip, connect them, and extract

timing data into reports

• Each phase generates files that allow you to use other Xilinx tools

 – Floorplanner, FPGA Editor, XPower 

PDF created with pdfFactory Pro trial version www.pdffactory.com

Page 8: Ch3 3.1 03xilinx Design Flow ISE 2003

8/7/2019 Ch3 3.1 03xilinx Design Flow ISE 2003

http://slidepdf.com/reader/full/ch3-31-03xilinx-design-flow-ise-2003 8/25

Xilinx Design Flow 3 - 9 © 2003 Xilinx, Inc. All Rights Reserved

Timing Closure

• The Timing Closure Flow is a recommended method for helping designs

meet their timing objectives

• Details on each part of the flow are discussed in this course and in the

Designing for Performance course

PDF created with pdfFactory Pro trial version www.pdffactory.com

Page 9: Ch3 3.1 03xilinx Design Flow ISE 2003

8/7/2019 Ch3 3.1 03xilinx Design Flow ISE 2003

http://slidepdf.com/reader/full/ch3-31-03xilinx-design-flow-ise-2003 9/25

Xilinx Design Flow 3 - 10 © 2003 Xilinx, Inc. All Rights Reserved

Download

• Once a design is implemented, you must create a file that the FPGA

can understand

 – This file is called a bitstream: a BIT file (.bit extension)

The BIT file can be downloaded directly to the FPGA, or it can beconverted into a PROM file, which stores the programming information

PDF created with pdfFactory Pro trial version www.pdffactory.com

Page 10: Ch3 3.1 03xilinx Design Flow ISE 2003

8/7/2019 Ch3 3.1 03xilinx Design Flow ISE 2003

http://slidepdf.com/reader/full/ch3-31-03xilinx-design-flow-ise-2003 10/25

Xilinx Design Flow 3 - 11 © 2003 Xilinx, Inc. All Rights Reserved

Outline

• Overview

• ISE

• Summary

PDF created with pdfFactory Pro trial version www.pdffactory.com

Page 11: Ch3 3.1 03xilinx Design Flow ISE 2003

8/7/2019 Ch3 3.1 03xilinx Design Flow ISE 2003

http://slidepdf.com/reader/full/ch3-31-03xilinx-design-flow-ise-2003 11/25

Xilinx Design Flow 3 - 12 © 2003 Xilinx, Inc. All Rights Reserved

What is ISE?

• Graphical interface to

design entry and

implementation tools

 – Access to synthesis

and schematic tools

• Including third-party

synthesis tools

 – Implement your design

with a simple double-click

• Fine-tune with

easy-to-access

software options

PDF created with pdfFactory Pro trial version www.pdffactory.com

Page 12: Ch3 3.1 03xilinx Design Flow ISE 2003

8/7/2019 Ch3 3.1 03xilinx Design Flow ISE 2003

http://slidepdf.com/reader/full/ch3-31-03xilinx-design-flow-ise-2003 12/25

Xilinx Design Flow 3 - 13 © 2003 Xilinx, Inc. All Rights Reserved

WebUpdate

• Automatically checks for Service Packs on the web

• Alerts you when an update is available

• Supports PC platform only

PDF created with pdfFactory Pro trial version www.pdffactory.com

Page 13: Ch3 3.1 03xilinx Design Flow ISE 2003

8/7/2019 Ch3 3.1 03xilinx Design Flow ISE 2003

http://slidepdf.com/reader/full/ch3-31-03xilinx-design-flow-ise-2003 13/25

Xilinx Design Flow 3 - 14 © 2003 Xilinx, Inc. All Rights Reserved

Creating a Project

• Select Fileà New

Project

• New Project Wizard

guides you through

the process

 – Project name

and location

 – Target device

 – Software flow

 – Create or add

source files

PDF created with pdfFactory Pro trial version www.pdffactory.com

Page 14: Ch3 3.1 03xilinx Design Flow ISE 2003

8/7/2019 Ch3 3.1 03xilinx Design Flow ISE 2003

http://slidepdf.com/reader/full/ch3-31-03xilinx-design-flow-ise-2003 14/25

Xilinx Design Flow 3 - 15 © 2003 Xilinx, Inc. All Rights Reserved

Creating and AddingSource Files

• To include an existing source file,

double-click Add Existing Source

• To create a new source file,

double-click Create New Source

and choose the type of file

 – HDL file

 – IP

 – Schematic

 – State diagram

 – Testbench

 – Constraints file

PDF created with pdfFactory Pro trial version www.pdffactory.com

Page 15: Ch3 3.1 03xilinx Design Flow ISE 2003

8/7/2019 Ch3 3.1 03xilinx Design Flow ISE 2003

http://slidepdf.com/reader/full/ch3-31-03xilinx-design-flow-ise-2003 15/25

Xilinx Design Flow 3 - 16 © 2003 Xilinx, Inc. All Rights Reserved

Implementing a Design

• To implement a design:

 – In the Sources in Project window,

select the top-level source file

• HDL, schematic, or EDIF,

depending on your design flow

 – In the Processes for Source window,double-click Implement Design

PDF created with pdfFactory Pro trial version www.pdffactory.com

Page 16: Ch3 3.1 03xilinx Design Flow ISE 2003

8/7/2019 Ch3 3.1 03xilinx Design Flow ISE 2003

http://slidepdf.com/reader/full/ch3-31-03xilinx-design-flow-ise-2003 16/25

Xilinx Design Flow 3 - 17 © 2003 Xilinx, Inc. All Rights Reserved

Implementation Status

• ISE will run all of the necessary stepsto implement the design

 – Synthesize HDL code

 – Translate

 – Map

 – Place & Route• Progress and status are indicated by icons

 – Green check mark ( ) indicates that theprocess was completed successfully

 – Yellow exclamation point ( ! ) indicateswarnings

 – Yellow question mark ( ? ) indicates a filethat is out of date

 – Red “X” indicates errors

PDF created with pdfFactory Pro trial version www.pdffactory.com

Page 17: Ch3 3.1 03xilinx Design Flow ISE 2003

8/7/2019 Ch3 3.1 03xilinx Design Flow ISE 2003

http://slidepdf.com/reader/full/ch3-31-03xilinx-design-flow-ise-2003 17/25

Xilinx Design Flow 3 - 18 © 2003 Xilinx, Inc. All Rights Reserved

Simulating a Design

• To simulate a design:

 – In the Sources in Project window,

select a testbenchfile

 – In the Processes for Source window,

expand ModelSim Simulator 

 – Double-click Simulate

Behavioral Model or 

Simulate Post-Place & Route

Model

• Can also simulate after Translate

or after Map

PDF created with pdfFactory Pro trial version www.pdffactory.com

Page 18: Ch3 3.1 03xilinx Design Flow ISE 2003

8/7/2019 Ch3 3.1 03xilinx Design Flow ISE 2003

http://slidepdf.com/reader/full/ch3-31-03xilinx-design-flow-ise-2003 18/25

Xilinx Design Flow 3 - 19 © 2003 Xilinx, Inc. All Rights Reserved

Sub-Processes

• Each process can be expanded to

view sub-tools and sub-processes

 – Translate

• Floorplan

• Assign Package Pins

 – Map

• Analyze timing

 – Place & Route

• Analyze timing

• Floorplan

FPGA Editor • Analyze power 

• Create simulation model

PDF created with pdfFactory Pro trial version www.pdffactory.com

Page 19: Ch3 3.1 03xilinx Design Flow ISE 2003

8/7/2019 Ch3 3.1 03xilinx Design Flow ISE 2003

http://slidepdf.com/reader/full/ch3-31-03xilinx-design-flow-ise-2003 19/25

Xilinx Design Flow 3 - 20 © 2003 Xilinx, Inc. All Rights Reserved

Hierarchical SimulationNetlists

• Create separate simulation netlists and SDF files for each level of design

hierarchy

 – Simplifies timing verification

 – Allows you to re-use testbenchesfrom behavioral simulation

• Hierarchy must be maintained during synthesis

• Use the KEEP_HIERARCHY attribute in UCF file

• For more information, see Answer #17693

PDF created with pdfFactory Pro trial version www.pdffactory.com

Page 20: Ch3 3.1 03xilinx Design Flow ISE 2003

8/7/2019 Ch3 3.1 03xilinx Design Flow ISE 2003

http://slidepdf.com/reader/full/ch3-31-03xilinx-design-flow-ise-2003 20/25

Xilinx Design Flow 3 - 21 © 2003 Xilinx, Inc. All Rights Reserved

Program the FPGA

• There are two ways to

program an FPGA

 – Through a PROM device

• You will need to generate

a file that the PROM

programmer willunderstand

 – Directly from the computer 

• Use the iMPACT

configuration tool

PDF created with pdfFactory Pro trial version www.pdffactory.com

Page 21: Ch3 3.1 03xilinx Design Flow ISE 2003

8/7/2019 Ch3 3.1 03xilinx Design Flow ISE 2003

http://slidepdf.com/reader/full/ch3-31-03xilinx-design-flow-ise-2003 21/25

Xilinx Design Flow 3 - 22 © 2003 Xilinx, Inc. All Rights Reserved

Outline

• Overview

• ISE

• Summary

PDF created with pdfFactory Pro trial version www.pdffactory.com

Page 22: Ch3 3.1 03xilinx Design Flow ISE 2003

8/7/2019 Ch3 3.1 03xilinx Design Flow ISE 2003

http://slidepdf.com/reader/full/ch3-31-03xilinx-design-flow-ise-2003 22/25

Xilinx Design Flow 3 - 23 © 2003 Xilinx, Inc. All Rights Reserved

Review Questions

• What are the phases of the Xilinx design flow?

• What are the components of implementation, and what happens

at each step?

• What are two methods used to program an FPGA?

PDF created with pdfFactory Pro trial version www.pdffactory.com

Page 23: Ch3 3.1 03xilinx Design Flow ISE 2003

8/7/2019 Ch3 3.1 03xilinx Design Flow ISE 2003

http://slidepdf.com/reader/full/ch3-31-03xilinx-design-flow-ise-2003 23/25

Xilinx Design Flow 3 - 24 © 2003 Xilinx, Inc. All Rights Reserved

Answers

• What are the phases of the Xilinx design flow?

 – Planning and budgeting, create code or schematic, RTL simulation,

synthesize, functional simulation, implement, timing closure, timing simulation,

BIT file creation

• What are the components of implementation, and what happens

at each step? – Translate: merges multiple design files into one netlist

 – Map: groups logical symbols into physical components

 – Place & Route: places components onto the chip and connects themtogether 

• What are two methods used to program an FPGA?

 – PROM – Xilinx iMPACT configuration tool

PDF created with pdfFactory Pro trial version www.pdffactory.com

Page 24: Ch3 3.1 03xilinx Design Flow ISE 2003

8/7/2019 Ch3 3.1 03xilinx Design Flow ISE 2003

http://slidepdf.com/reader/full/ch3-31-03xilinx-design-flow-ise-2003 24/25

Xilinx Design Flow 3 - 25 © 2003 Xilinx, Inc. All Rights Reserved

Summary

• Implementation means more than place & route

• Xilinx provides a simple “pushbutton” tool to help you through the Xilinx

design process

PDF created with pdfFactory Pro trial version www.pdffactory.com

Page 25: Ch3 3.1 03xilinx Design Flow ISE 2003

8/7/2019 Ch3 3.1 03xilinx Design Flow ISE 2003

http://slidepdf.com/reader/full/ch3-31-03xilinx-design-flow-ise-2003 25/25

Xilinx Design Flow 3 - 26 © 2003 Xilinx, Inc. All Rights Reserved

Where Can I Learn More?

• Complete design flow tutorials

 – http://support.xilinx.com àDocumentationà Tutorials

• On the phases of implementation

 – http://support.xilinx.com à Software Manualsà Development System

Reference Guide

• On hierarchical simulation netlists

 – http://support.xilinx.comAnswer #17693

• Configuration Problem Solver 

 – http://support.xilinx.com à Problem Solversà Configuration Problem

Solver 

PDF created with pdfFactory Pro trial version www.pdffactory.com