Hardware/FPGARack/Programmation
(Difference between revisions)
m (→Flash Programmation) |
m |
||
Line 28: | Line 28: | ||
# Perform a boundary Scan | # Perform a boundary Scan | ||
## '''Initialise Chain''' (CTRL + i) | ## '''Initialise Chain''' (CTRL + i) | ||
− | ##:[[File:fpgarack_impact_1_1.png | + | ##:[[File:fpgarack_impact_1_1.png|FPGA prog 1]] |
# Left click on the FPGA symbol (turns green) | # Left click on the FPGA symbol (turns green) | ||
− | #:[[File:fpgarack_impact_1_2.png | + | #:[[File:fpgarack_impact_1_2.png|FPGA prog 2]] |
# Right click on the FPGA | # Right click on the FPGA | ||
## Choose '''Assign new configuration file''' | ## Choose '''Assign new configuration file''' | ||
− | ##:[[File:fpgarack_impact_1_3.png | + | ##:[[File:fpgarack_impact_1_3.png|FPGA prog 3]] |
## Choose previously generated *.bit file | ## Choose previously generated *.bit file | ||
## Choose No for Attaching SPI or BPI PROM | ## Choose No for Attaching SPI or BPI PROM | ||
− | ##:[[File:fpgarack_impact_1_4.png | + | ##:[[File:fpgarack_impact_1_4.png|FPGA prog 4]] |
# Right click on the FPGA | # Right click on the FPGA | ||
## Choose Program | ## Choose Program | ||
− | ##:[[File:fpgarack_impact_1_5.png | + | ##:[[File:fpgarack_impact_1_5.png|FPGA prog 5]] |
## Choose Verify if you like (not necessary) | ## Choose Verify if you like (not necessary) | ||
− | ##:[[File:fpgarack_impact_1_6.png | + | ##:[[File:fpgarack_impact_1_6.png|FPGA prog 6]] |
# DONE | # DONE | ||
− | #:[[File:fpgarack_impact_1_7.png | + | #:[[File:fpgarack_impact_1_7.png|FPGA prog 7]] |
= Flash Programmation = | = Flash Programmation = | ||
Line 51: | Line 51: | ||
== Create Flash *.mcs File == | == Create Flash *.mcs File == | ||
# Choose Task '''Create PROM File''' | # Choose Task '''Create PROM File''' | ||
− | #:[[File:fpgarack_impact_2_1.png | + | #:[[File:fpgarack_impact_2_1.png|FPGA Flash prog 1]] |
# Dialog '''File PROM Formatter''' opens | # Dialog '''File PROM Formatter''' opens | ||
## Choose '''Configure Single FPGA''' | ## Choose '''Configure Single FPGA''' | ||
Line 64: | Line 64: | ||
## Set Data Width to '''x16''' | ## Set Data Width to '''x16''' | ||
## Click OK | ## Click OK | ||
− | ##:[[File:fpgarack_impact_2_2.png | + | ##:[[File:fpgarack_impact_2_2.png|FPGA Flash prog 2]] |
# Click OK on Add Device Dialog | # Click OK on Add Device Dialog | ||
− | #:[[File:fpgarack_impact_2_3.png | + | #:[[File:fpgarack_impact_2_3.png|FPGA Flash prog 3]] |
## Choose you previously generated *.bit file | ## Choose you previously generated *.bit file | ||
# Click NO on the second Add Device Dialog | # Click NO on the second Add Device Dialog | ||
− | #:[[File:fpgarack_impact_2_4.png | + | #:[[File:fpgarack_impact_2_4.png|FPGA Flash prog 4]] |
# Dialog Multiboot BPI Revision and Data File Assignment opens | # Dialog Multiboot BPI Revision and Data File Assignment opens | ||
## Because we have only one program nothing can be changed here | ## Because we have only one program nothing can be changed here | ||
## Click OK | ## Click OK | ||
− | ##:[[File:fpgarack_impact_2_5.png | + | ##:[[File:fpgarack_impact_2_5.png|FPGA Flash prog 5]] |
# Right click on the white canvas | # Right click on the white canvas | ||
## Choose Generate File | ## Choose Generate File | ||
− | #:[[File:fpgarack_impact_2_6.png | + | #:[[File:fpgarack_impact_2_6.png|FPGA Flash prog 6]] |
# The Flash program file *.mcs is now created | # The Flash program file *.mcs is now created | ||
Line 83: | Line 83: | ||
# Perform a boundary Scan | # Perform a boundary Scan | ||
## '''Initialise Chain''' (CTRL + i) | ## '''Initialise Chain''' (CTRL + i) | ||
− | ##:[[File:fpgarack_impact_1_1.png | + | ##:[[File:fpgarack_impact_1_1.png|FPGA Flash prog 7]] |
# Right Click on the Blue SPI/BPI Symbol | # Right Click on the Blue SPI/BPI Symbol | ||
## Choose '''Add SPI/BPI Flash | ## Choose '''Add SPI/BPI Flash | ||
− | ##:[[File:fpgarack_impact_2_7.png | + | ##:[[File:fpgarack_impact_2_7.png|FPGA Flash prog 8]] |
## Choose your previously generated *.mcs file | ## Choose your previously generated *.mcs file | ||
## Select Attached SPI/BPI | ## Select Attached SPI/BPI | ||
Line 93: | Line 93: | ||
### Select Data Width '''16''' | ### Select Data Width '''16''' | ||
### Click OK | ### Click OK | ||
− | ###:[[File:fpgarack_impact_2_8.png | + | ###:[[File:fpgarack_impact_2_8.png|FPGA Flash prog 9]] |
# Right Click on the new FLASH Symbol | # Right Click on the new FLASH Symbol | ||
## Choose Program | ## Choose Program | ||
− | ##:[[File:fpgarack_impact_2_9.png | + | ##:[[File:fpgarack_impact_2_9.png|FPGA Flash prog 10]] |
# DONE | # DONE | ||
− | #:[[File:fpgarack_impact_2_10.png | + | #:[[File:fpgarack_impact_2_10.png|FPGA Flash prog 11]] |
[[Category:Hardware]] | [[Category:Hardware]] | ||
[[Category:FPGARack]] | [[Category:FPGARack]] |
Revision as of 09:06, 21 June 2012
|
General
For all programmation you first have to complete the following steps:
- Create a Design
- Test and Simulate the Design
- Perform Task Flow Prepare for Synthesis
- Generate all VHDL Files
- Concatenate into a single VHDL File
- Trimming work libraries
- Perform Task Flow Xilinx Project Navigator
- Updating the ISE (*.xise) Project file
- Launch ISE
- Perform Task Generate Programmation File
- Synthesis
- P&R
- Generate Programmation File *.bit file
- Manage Configuration Project (impact)
- Launch Impact
- First part is done see below
FPGA Programing
If you want to program the FPGA directly, you can use the previously generated *.bit file. This programmation works with the Amontec Chameleon Programmer but the Official Xilinx USB programmer is recommended
Execute the following steps:
- Perform a boundary Scan
- Left click on the FPGA symbol (turns green)
- Right click on the FPGA
- Right click on the FPGA
- DONE
Flash Programmation
To program the FLASH you need to turn your *.bit into a *.mcs files witch can then be programmed through the FPGA into the Flash.
Flash programmation works ONLY with Official Xilinx USB Programmer
Create Flash *.mcs File
- Choose Task Create PROM File
- Dialog File PROM Formatter opens
- Click OK on Add Device Dialog
- Choose you previously generated *.bit file
- Click NO on the second Add Device Dialog
- Dialog Multiboot BPI Revision and Data File Assignment opens
- Right click on the white canvas
- Choose Generate File
- The Flash program file *.mcs is now created
Programm *.mcs File
- Perform a boundary Scan
- Right Click on the Blue SPI/BPI Symbol
- Right Click on the new FLASH Symbol
- DONE