Versions Compared
Key
- This line was added.
- This line was removed.
- Formatting was changed.
Page properties | ||||
---|---|---|---|---|
|
Template Revision 1.0 - on construction
Design Name always "TE Series Name" + Design name, for example " |
...
TEI0006 Test Board" |
...
|
Custom_table_size_100 |
---|
Page properties | ||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||||||||||
Important General Note:
|
...
Table of contents
Table of Contents | ||
---|---|---|
|
Overview
Scroll Ignore | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
...
Page properties | ||||
---|---|---|---|---|
| ||||
Notes :
|
...
|
NIOS II Design with SDRAM
...
controller, different sensors and LED sequences
...
.
Refer to http://trenz.org/analogmax-info for the current online version of this manual and other available documentation.
Key Features
Page properties | ||||
---|---|---|---|---|
| ||||
Notes :
|
Excerpt |
---|
|
...
|
...
|
Revision History
Page properties | ||||
---|---|---|---|---|
| ||||
Notes :
|
Scroll Title | |||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Release Notes and Know Issues
Page properties | ||||
---|---|---|---|---|
| ||||
Notes :
|
Scroll Title | ||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||
|
Requirements
Software
Page properties | ||||
---|---|---|---|---|
| ||||
Notes :
|
Scroll Title | ||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||
|
...
|
Hardware
Page properties | ||||
---|---|---|---|---|
| ||||
Notes :
|
...
|
Complete List is available on <project folder>/board_files/*_devices.csv
Design supports following modules:
Scroll Title | |||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||
|
...
|
...
*used as reference |
...
Design supports following carriers:
Scroll Title | ||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||
*used as reference |
Additional HW Requirements:
Scroll Title | |||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||
|
...
*used as reference |
Content
Page properties | ||||
---|---|---|---|---|
| ||||
Notes :
|
For general structure and of the reference design, see Project Delivery - Intel devices
Design Sources
Scroll Title | |||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||
|
Prebuilt
Page properties | |||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||||||||||||||||||||||||
Notes :
|
Scroll Title | |||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||||||||
|
Download
Reference Design is only usable with the specified Quartus version. Do never use different
...
versions of Quartus
...
software for the same
...
project.
Page properties | ||||
---|---|---|---|---|
| ||||
|
...
|
...
...
...
...
...
Reference Design is available on:
Design Flow
Scroll Ignore | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||
Page properties | ||||
---|---|---|---|---|
| ||||
Notes :
|
...
- Open file "test_board.quar"
- Select Tools → Platform Designer from Quartus menu
- Open file "NIOS_test_board.qsys" in Platform Designer
- Open the component "onchip_flash" (double-click)
- Enable "Initialize flash content" and "Enable non-default initialization file" at Flash Initialization, if disabled
- Specify Path for "User created hex or mif file". You can find the file at \software\test_board\mem_init\onchip_flash.hex
- Select Generate → Generate HDL... from the Platform Designer menu
The Generation window will appear
Select "VHDL" as the synthesis language and "None" from the simulation model dropdown menu
Select “Create block symbol file(.bsf)”, if not selected
- Click Generate and close Platform Designer
- Select Processing → Start Compilation from the Quartus menu to compile the Design
Launch
Programming
MAX10 Flash
...
- Click "Hardware Setup..."
- Choose at the drop-down menu "Currently selected hardware" the Arrow-USB-Blaster[USB0]
- Close "Hardware Setup"
...
- Delete other files
- Click "Add file..."
- Select the correct *.pof file (Path: <project_directory>\output_files\test_board.pof)
Note |
---|
Reference Design is available with and without prebuilt files. It's recommended to use TE prebuilt files for first launch. |
Trenz Electronic provides a tcl based built environment based on Quartus Design Flow.
See also:
The Trenz Electronic FPGA Reference Designs are TCL-script based projects. To create a project, open a project or program a device execute "create_project_win.cmd" on Windows OS and "create_project_linux.sh" on Linux OS.
TE Scripts are only needed to generate the quartus project, all other additional steps are optional and can also executed by Intel Quartus/SDK GUI. For currently Scripts limitations on Win OS and Linux OS see: Project Delivery - Intel devices → Currently limitations of functionality
- Open create_project_win.cmd/create_project_linux.sh:
Image Added'Create Project' GUI - example - Select Board in "Board selection"
- Click on "Create project" button to create project
- (optional for manual changes) Select correct quartus installation path in "<project folder>/settings/design_basic_settings.tcl"
Launch
Scroll Ignore | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||
Page properties | ||||
---|---|---|---|---|
| ||||
Note:
|
Programming
Note |
---|
Check Module and Carrier TRMs for proper HW configuration before you try any design. |
MAX10 Flash
- Connect the Module to USB-Port
- Open create_project_win.cmd/create_project_linux.sh
- Select correct board in "Board selection"
- Click on "Program device" button
- if prebuilt files are available: select "Program prebuilt file"
- using own generated programming file: select "Program other file" and click on "Browse ..." to open own generated programming file
- (optional) click on "Open programmer GUI" to program device with Quartus programmer GUI
- Click on "Start program device" button
JTAG
Not used on this example.
...
Usage
- Prepare Hardware like described on section Programming
- Connect UART USB (most cases same as JTAG)
UART
- Open Serial Console
...
- (e.g. PuTTY)
select COM Port
Info Win OS
...
: see device manager
...
Linux OS: see dmesg | grep tty (UART is *USB1)
- Speed: 115200
...
- Flash test is running
- Press reset button
- Console output depends on used Software project, see Software Design - SDK#Application
System Design - Quartus
Scroll Ignore | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||
Page properties | ||||
---|---|---|---|---|
| ||||
Note:
|
Block Design
The block designs may differ depending on the assembly variant.
Scroll Title | ||||||
---|---|---|---|---|---|---|
| ||||||
Image Added |
Scroll Title | ||||||
---|---|---|---|---|---|---|
| ||||||
Image AddedBlock Design - NIOS_test_board.qsys |
Software Design - SDK
Scroll Ignore | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||
Page properties | ||||
---|---|---|---|---|
| ||||
Note:
|
Application
Page properties | ||||
---|---|---|---|---|
| ||||
---------------------------------------------------------- General Example: hello_tei0006Hello TEI0006 is a Quartus Hello World example as endless loop instead of one console output. |
Used software project depends on board assembly variant. Template location: <project folder>/source_files/software/
test_board
Software example to test TEI0010 module.
- You
...
- can toggle between following modes by pressing user button
- Spirit level
...
- Winbond SPI flash memory test
- Temperature measurement
- Smoke detector
- ADC - AD5592R
Appx. A: Change History and Legal Notices
Scroll Ignore | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||
Document Change History
To get content of older
...
revision got to "Change History"
...
of this page and select older document revision number.
Page properties | ||||
---|---|---|---|---|
| ||||
|
Scroll Title | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Legal Notices
Include Page | ||||
---|---|---|---|---|
|
Scroll Only | ||
---|---|---|
|
Scroll pdf ignore | ||||||
---|---|---|---|---|---|---|
|