© 2003 Xilinx, Inc. All Rights Reserved
•
•
•
•
After completing this module, you will be able to:
Use the FPGA Editor to view device resources
Connect the internal nets of an FPGA to output pins (Insert Probes)
Determine the specific resources used by your design
Make minor changes to your design without re-implementing
FPGA Editor - 18 - 3 © 2003 Xilinx, Inc. All Rights Reserved For Academic Use Only
Rhett Whatcott: v6.1: Changed the order of the sections - moved
“Viewing Device
Resources…” as
2nd section.
•
•
•
•
•
•
FPGA Editor Basics
Viewing Device Resources and Constrained Paths
Adding a Probe
Making Minor Changes
Summary
Appendix: Creating a Macro
FPGA Editor - 18 - 4 © 2003 Xilinx, Inc. All Rights Reserved For Academic Use Only
Rhett Whatcott: v6.1: Next slide was removed, titled: FPGA
Editor Input Files
•
•
The FPGA Editor is a graphical application
–
–
Displays device resources
Precise layout of chosen device
The FPGA Editor is commonly used to:
–
–
–
View device resources
Make minor modifications
•
Done late in the design cycle
•
Does not require reimplementation of the design
Insert Probes
•
Used for in circuit testing
© 2003 Xilinx, Inc. All Rights Reserved For Academic Use Only FPGA Editor - 18 - 5
•
Use the FPGA Editor to:
–
View the design’s layout
–
–
Drive a signal to an output pin for testing (inserting a probe)
Add logic or special architectural features to your design without having to recompile the design
•
Do not use the FPGA Editor to:
–
–
Floorplan
Carelessly control the place and route
© 2003 Xilinx, Inc. All Rights Reserved For Academic Use Only FPGA Editor - 18 - 6
•
The FPGA Editor cannot:
–
Add additional logic from a second netlist
•
•
Because translation (NGDBuild) is completed
Additional logic would need to be hand-placed and routed
–
Make modification to design files
•
HDL and netlist files will not reflect modifications
FPGA Editor - 18 - 7 © 2003 Xilinx, Inc. All Rights Reserved For Academic Use Only
Rhett Whatcott: v6.1: Changed notes
Removed next slide.
MAP
•
Xilinx implementation flow
–
Entry points for FPGA Editor
FPGA Editor NCD & PCF
PAR
•
Placing and routing critical components
–
Before implementation (Post-MAP)
NCD
BITGEN
•
Making minor changes
–
After implementation (Post-PAR) BIT
Remember to document the changes to your design, because your netlist will not reflect the changes made by the FPGA Editor!
© 2003 Xilinx, Inc. All Rights Reserved For Academic Use Only FPGA Editor - 18 - 8
Rhett Whatcott: v6.1: Removed next two slides.
Menu
Bar
Array
Window
History
Window
FPGA Editor - 18 - 9
Push
Button
Panel
List
Window
World
Window
© 2003 Xilinx, Inc. All Rights Reserved For Academic Use Only
Rhett Whatcott: v6.1: New slide, replacing the next two.
•
Zoom
•
Array window resources
•
Use the World window to keep track of your location on the die when you are zoomed in
FPGA Editor - 18 - 10 © 2003 Xilinx, Inc. All Rights Reserved For Academic Use Only
Rhett Whatcott: v6.1: retranslate.
•
•
•
•
Easiest way to select objects in your design
Displays
–
–
–
–
–
–
Components
Nets
Paths
Layers
Constraints
Macros
Name Filter search feature
–
–
Limit the number of elements shown
Use Wildcards (* and ?)
Ability to highlight components
–
Choose from 15 different colors
© 2003 Xilinx, Inc. All Rights Reserved For Academic Use Only FPGA Editor - 18 - 11
Rhett Whatcott: v6.1: Viewing
Device
Resources… section moved here.
Changed the order of the sections.
•
•
•
•
•
•
FPGA Editor Basics
Viewing Device Resources and Constrained Paths
Adding a Probe
Making Minor Changes
Summary
Appendix: Creating a Macro
FPGA Editor - 18 - 12 © 2003 Xilinx, Inc. All Rights Reserved For Academic Use Only
Rhett Whatcott: v6.1: Removed
previous slide.
•
•
•
Select a slice or IOB
Click the editblock button
View LUT configuration
–
LUT
–
–
–
RAM
ROM
SRL
•
View the LUT equations
–
Click the Show/Hide Attributes button
© 2003 Xilinx, Inc. All Rights Reserved For Academic Use Only FPGA Editor - 18 - 13
•
View constraints in the List window
–
Select Constraints in the pulldown menu
•
Perform a timing analysis
–
Tools Trace Setup and Run
•
Trace window
–
–
–
Generates a Timing Analysis report
Select the Type of Report
Click Apply
© 2003 Xilinx, Inc. All Rights Reserved For Academic Use Only FPGA Editor - 18 - 14
•
•
Trace Summary window
–
Select the constraint to report on
–
Click Details
The Trace Errors window
–
Lists the slack on each delay path
–
–
–
Most-critical path is listed last
Select a delay path to be displayed
Click Hilite
FPGA Editor - 18 - 15 © 2003 Xilinx, Inc. All Rights Reserved For Academic Use Only
Rhett Whatcott: v6.1: Moved location of this slide… retranslate.
•
Determine net delays
–
History window shows:
•
•
Net destination
Associated delay
•
Click the “attrib” button
–
Located on the Push Button Panel
–
Select Pins tab
•
Determine skew
–
(Longest Delay) - (Shortest Delay)
© 2003 Xilinx, Inc. All Rights Reserved For Academic Use Only FPGA Editor - 18 - 16
•
•
•
Multiple Array windows can be viewed by using the command:
–
Window New Array
Window
–
List, Array, or World window can be selected
Useful for viewing different areas of interest at the same time
View and edit the sources and destinations of routes
© 2003 Xilinx, Inc. All Rights Reserved For Academic Use Only FPGA Editor - 18 - 17
Rhett Whatcott: v6.1: Changed the order of the sections - moved
“Viewing Device
Resources…” as
2nd section.
•
•
•
•
•
•
FPGA Editor Basics
Viewing Device Resources and Constrained Paths
Adding a Probe
Making Minor Changes
Summary
Appendix: Creating a Macro
FPGA Editor - 18 - 18 © 2003 Xilinx, Inc. All Rights Reserved For Academic Use Only
•
Ties an internal signal to an output pin
•
Probes are managed in the
Probes GUI
–
–
Click the “probes” button on the Push Button Panel
Tools Probes
•
Probes can be added, deleted, edited, or highlighted
© 2003 Xilinx, Inc. All Rights Reserved For Academic Use Only FPGA Editor - 18 - 19
•
•
•
Click the Add button
–
Opens the Define Probe window
Select desired probes to Delete, Edit, or Hilite
After a Probe has been added:
–
–
–
Click Bitgen to create new bitfile
Click Download to open iMPACT programmer
Document the change
© 2003 Xilinx, Inc. All Rights Reserved For Academic Use Only FPGA Editor - 18 - 20
Rhett Whatcott: v5.2: Changed
Notes for Demo.
•
•
•
Enter a Pin Name
Select Net to be probed
Click OK
•
Filter feature to limit net options
•
Method
–
–
Automatic routing
•
Selects the shortest route
•
Possible long wait times
Manual routing
•
Specific pins can be selected
•
Selects the shortest route if multiple pins are selected
FPGA Editor - 18 - 21 © 2003 Xilinx, Inc. All Rights Reserved For Academic Use Only
Rhett Whatcott: v6.1: Changed the order of the sections - moved
“Viewing Device
Resources…” as
2nd section.
•
•
•
•
•
•
FPGA Editor Basics
Viewing Device Resources and Constrained Paths
Adding a Probe
Making Minor Changes
Summary
Appendix: Creating a Macro
FPGA Editor - 18 - 22 © 2003 Xilinx, Inc. All Rights Reserved For Academic Use Only
Rhett Whatcott: v6.1: retranslate.
•
Adding a Component
–
Select the resource (slice, IOB, etc.) from the Array window
–
–
Click the add button
Complete the Component Properties box
•
All resources can be added
FPGA Editor - 18 - 23 © 2003 Xilinx, Inc. All Rights Reserved For Academic Use Only
Rhett Whatcott: v6.1: New slide.
•
Adding component pins
–
Select pin
–
–
Select “add” in push button panel
Complete Properties box
•
Pin name
FPGA Editor - 18 - 24 © 2003 Xilinx, Inc. All Rights Reserved For Academic Use Only
Rhett Whatcott: v6.1: retranslate.
Added demo.
•
•
Modifying the equations
–
Click the Show/Hide Attributes button
–
–
Complete the Component
Properties box
•
* (AND), + (OR), ~ (NOT), @
(XOR)
Select Apply changes
•
Tool performs a Design Rule
Check (DRC)
Click the Save Changes and Close Window button
© 2003 Xilinx, Inc. All Rights Reserved For Academic Use Only FPGA Editor - 18 - 25
Rhett Whatcott: v6.1: Added demo.
•
Add resources
–
Select properties of resource
–
–
Click on pin to route signal paths
This will automatically route the signals inside the slice
•
Click the Apply button
–
Performs a Design Rule Check
•
Click the Save Changes and Close Window button
© 2003 Xilinx, Inc. All Rights Reserved For Academic Use Only FPGA Editor - 18 - 26
Rhett Whatcott: v6.1: New slide.
•
Routing setup: Tools Route Auto Route Setup…
–
Auto Route Design: Options used to auto route the entire design (default values)
–
•
•
Timespec Driven: Auto routes signals to meet timing constraints
–
Generally best results
Allow Pin Swap: Allow for pin swapping during auto routing. Enables better use of resources
Auto Route Selection: Options used for a selected route
(pins, nets, components)
•
Delay driven: Auto routes selected item as fast as possible
•
–
Generally best results
Resource Driven: Minimizes use of resources (wires and pips) during auto route
–
Default
© 2003 Xilinx, Inc. All Rights Reserved For Academic Use Only FPGA Editor - 18 - 27
Rhett Whatcott:
V6.1: new slide.
•
Rerouting a signal:
–
–
–
Select net in Array or List window to reroute
Click unroute in pushbutton panel
Specify routing options (Auto Route
Setup)
–
Click autoroute in pushbutton panel
FPGA Editor - 18 - 28 © 2003 Xilinx, Inc. All Rights Reserved For Academic Use Only
Rhett Whatcott: v6.1: Changed
Heading.
•
Select site pins
–
Click the site pin of a resource
–
–
Hold down the Shift key
Click another site pin
•
Route the net
–
Click the “route” button
•
Automatically chooses the shortest route between site pins
© 2003 Xilinx, Inc. All Rights Reserved For Academic Use Only FPGA Editor - 18 - 29
Rhett Whatcott: v6.1: Changed
Heading.
•
Select object to route
–
Click the site pin of a resource
–
–
–
Hold down the Shift key
Click net
Click subsequent nets
•
Route the net
–
Click the “route” button
•
Routes one net segment
© 2003 Xilinx, Inc. All Rights Reserved For Academic Use Only FPGA Editor - 18 - 30
Rhett Whatcott: v6.1: Changed
Heading.
•
Select object to route
–
Click previously routed segment
–
–
Hold down the Shift key
Click site pin
•
Route the net
–
Click the “route” button
•
Automatically chooses the shortest route from segment to site pins
FPGA Editor - 18 - 31 © 2003 Xilinx, Inc. All Rights Reserved For Academic Use Only
Rhett Whatcott: v6.1: retranslate.
•
Adding an IOB
–
Select IOB
–
–
•
Make certain the IOB is bonded, unbonded IOBs have X in IOB box
Select “add” in pushbutton panel
Edit Properties, click OK
•
Use the editblock command to edit resources
FPGA Editor - 18 - 32 © 2003 Xilinx, Inc. All Rights Reserved For Academic Use Only
Rhett Whatcott: v6.1: Changed heading.
Removed next slide.
•
Input/Output registers, output 3-state, I/O standard, drive strength, and slew rate control can be viewed and modified
FPGA Editor - 18 - 33 © 2003 Xilinx, Inc. All Rights Reserved For Academic Use Only
Rhett Whatcott: v6.1: Changed the order of the sections - moved
“Viewing Device
Resources…” as
2nd section.
•
•
•
•
•
•
FPGA Editor Basics
Viewing Device Resources and Constrained Paths
Adding a Probe
Making Minor Changes
Summary
Appendix: Creating a Macro
FPGA Editor - 18 - 34 © 2003 Xilinx, Inc. All Rights Reserved For Academic Use Only
•
List some of the common uses for the FPGA Editor
•
When should the FPGA Editor not be used?
•
What are the benefits of inserting a probe?
•
If any modifications were made using the FPGA Editor, it is important to
__________ any changes. Why?
FPGA Editor - 18 - 35 © 2003 Xilinx, Inc. All Rights Reserved For Academic Use Only
•
List some of the common uses for the FPGA Editor
–
View device resources
–
–
–
Make minor modification
Insert probes
Generate a new bitstream
•
When should the FPGA Editor not be used?
–
FPGA Editor should not be used to Floorplan a design or control the place and route
© 2003 Xilinx, Inc. All Rights Reserved For Academic Use Only FPGA Editor - 18 - 36
•
What are the benefits of inserting a probe?
–
The probes capability makes it possible to route a signal to an output pin for testing, and generate a new bitstream for the design without re-implementing
•
If any modifications were made using the FPGA Editor, it is important to
Document any changes. Why?
–
It is necessary to document your changes because the netlist will not reflect the changes made by the FPGA Editor
FPGA Editor - 18 - 37 © 2003 Xilinx, Inc. All Rights Reserved For Academic Use Only
•
•
•
•
•
The FPGA Editor provides you with a tremendous amount of design control
Most customers use this tool for understanding the device utilization or adding test probes
Careful use of this tool is important because indiscriminate movement of logic can severely reduce the likelihood of getting good design performance and utilization
The FPGA Editor allows you to make minor changes to a design without re-implementing your design
Document any changes to your design because your netlist will not reflect the changes made by the FPGA Editor
© 2003 Xilinx, Inc. All Rights Reserved For Academic Use Only FPGA Editor - 18 - 38
•
FPGA Editor Help
– http://support.xilinx.com Software Manuals
–
Help Help Topics
•
Tech Tips
– http://support.xilinx.com Tech Tips Floorplanner & FPGA Editor
FPGA Editor - 18 - 39 © 2003 Xilinx, Inc. All Rights Reserved For Academic Use Only