...
Scroll Only (inline) |
---|
Online version of this manual and other related documents can be found at https://wiki.trenz-electronic.de/display/PD/Quartus+Project+Delivery |
Scroll pdf ignore | ||||
---|---|---|---|---|
Table of contents
|
The most Trenz Electronic FPGA Reference Designs are TCL-script based projects.
...
Note |
---|
For Problems, please check Checklist / Troubleshoot at first. |
...
Description | PCB Name | Project Name+(opt. Variant) | supported Quartus Version | Date | ||||
---|---|---|---|---|---|---|---|---|
Example: | TEI0001 | - | test_board(_noprebuilt) | - | quartus_18.1 | - | 20191024100836 | .zip |
Type or File | Version |
---|---|
Quartus Prime | 18.1 |
Trenz Project Scripts | 18.1.00 |
Trenz <board_series>_devices.csv | 1.0 |
Trenz zip_ignore_list.csv | 1.0 |
Trenz mod_list.csv | 1.0 |
File or Directory | Type | Description |
---|---|---|
<design_name> | work, base directory | Base directory with predefined batch files (*.cmd) to generate or open Quartus-Project |
<design_name>/backup/ | generated | (Optional) Directory for project backups |
<design_name>/board_files/ | source | Local list of available board variants (<board_series>_devices.csv) |
<design_name>/console | source | Folder with different command files. Use _create_win_setup.cmd to generate files on top folder |
<design_name>/log/ | generated | (Temporary) Directory with quartus log files (used only with predefined commands from tcl scripts, otherwise this logs will be writen into the Quartus working directory) |
<design_name>/prebuilt/ | prebuilt | Contains subfolders for different board variants |
<design_name>/prebuilt/<device_list_shortname> | prebuilt | Directory with prebuilt programming files (*.pof) for FPGA and different source files for hardware (*.sopcinfo) and software (*.elf) included in subfolders |
<design_name>/prebuilt/<device_list_shortname>/programming_files/ | prebuilt | Directory with prebuilt programming files (*.pof) |
<design_name>/prebuilt/<device_list_shortname>/hardware/ | prebuilt | Directory with prebuilt hardware sources (*.sopcinfo) |
<design_name>/prebuilt/<device_list_shortname>/software/ | prebuilt | Directory with prebuilt software sources (*.elf) |
<design_name>/quartus/ | generated | (Temporary) Directory where Quartus project is created. Quartus project file is <design_name>.qpf |
<design_name>/scripts/ | source | TCL scripts to build a project |
<design_name>/settings/ | source | (Optional) Additional design settings: zip_ignore_list.csv, mod_list.csv, preset_qsys.qprs |
<design_name>/software/ | generated | (Temporary) Directory with additional software |
<design_name>/source_files/ | source | Directory with source files needed for creating project |
<design_name>/source_files/quartus/ | source | Source files for Quartus project |
<design_name>/source_files/software/ | source | Source files for additional software |
Command files will be generated with "_create_win_setup.cmd".
File Name | Description |
---|---|
Design + Settings | |
_create_win_setup.cmd | Use to create batch files or project with "Module Selection Guide". |
design_basic_settings.cmd | Settings for the other *.cmd files. Following Settings are avaliable:
|
Hardware Design | |
quartus_create_project_batchmode.cmd | Create Project with settings from "design_basic_settings.cmd" and source folders. Build all Quartus hardware and software files if the sources are available. If old quartus project exists, type "y" into the command line input to delete "<design_name>/quartus/", and "<design_name>/software/" directory with related files before project will created again. |
quartus_open_existing_project_guimode.cmd | Opens an existing Project from "<design_name>/quartus/<design_name>.qpf" |
Device list csv file is used for TE-Scripts only.
Name | Description | Value |
---|---|---|
ID | ID to identify the board variant of the module series, used in TE-Scripts | Number, should be unique in csv list |
PRODID | Product ID | Product Name |
FAMILY | FPGA family, used in Quartus and TE-Scripts | device family, which is available in Quartus, ex. MAX 10 |
DEVICE | FPGA device, used in Quartus and TE-Scripts | device, which is available in Quartus, ex. 10M08SAU169C8G |
SHORTNAME | Subdirectory name, used for multi board projects to get correct sources and save prebuilt data | name to save prebuilt files or search for sources |
FLASHTYP | Flash typ used for programming Devices via Quartus/LabTools | "<Flash Name from Quartus>|<SPI Interface>" or "NA" , NA is not defined |
FLASH_SIZE | Size of Module Flash | use MB, for ex. "64MB" or "NA" if not available |
DDR_DEV | DDR Module | DDR module name |
DDR_SIZE | Size of Module DDR | use GB or MB, for ex. "2GB" or "512MB" or "NA" if not available |
PCB_REV | Supported PCB Revision | "<supported PCB Revision>|<supported PCB Revision>", for ex. "REV02" or "REV03|REV02" |
Attention not all features of the TE-Scripts are supported in the advanced usage!
To modifiy current device list csv list, make a copy of the original csv and rename with suffix "_mod.csv", ex.TEI0001_devices.csv as TEI0001_devices_mod.csv. Scripts use modified csv instead of the original file.
ZIP ignore list:
Files which should not be added in the backup file can be defined in this file: "<design_name>/settings/zip_ignore_list.csv". This file will be loaded automaticaly on script initialisation.
...
List with commands to modify source files during project creation. (<design_name>/settings/mod_list.csv)
HDL files can be saved in the subfolder "<design_name>/vhdl/". They will be loaded automatically on project creation. Available formats are *.vhd, *.v and *.sv.
...
...
...
To get content of older revision got to "Change History" of this page and select older revision number.
...