Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Excerpt
  • Quartus 18.1
  • NIOS II
  • SPI
  • UART
  • EPCQ16A EPCQ16(A) Flash memory
  • SDRAM memory
  • 3-axis Accelerometer
  • User LEDs
  • User buttons

...

Scroll Title
anchorTable_DRH
titleDesign Revision History

Scroll Table Layout
orientationportrait
sortDirectionASC
repeatTableHeadersdefault
style
widths
sortByColumn1
sortEnabledfalse
cellHighlightingtrue

DateQuartusProject BuiltAuthorsDescription
2019-20-2918.1

TEI0003-test_board_noprebuilt-quartus_18.1-20191029121432.zip

TEI0003-test_board-quartus_18.1-20191029121225.zip

Thomas Dück
  • create project with TE scripts
  • new board variants
2019-04-0218.1TEI0003-02-test_board-quartus_18.1-20190402.zipThomas Dück
  • initial release


...

Scroll Title
anchorTable_SW
titleSoftware

Scroll Table Layout
orientationportrait
sortDirectionASC
repeatTableHeadersdefault
style
widths
sortByColumn1
sortEnabledfalse
cellHighlightingtrue

SoftwareVersionNote
Quartus18.1needed
NIOS II SBT for Eclipse18.1needed


Hardware

Page properties
hiddentrue
idComments

Notes :

  • list of software which was used to generate the design

...

Scroll Title
anchorTable_HWM
titleHardware Modules

Scroll Table Layout
orientationportrait
sortDirectionASC
repeatTableHeadersdefault
style
widths
sortByColumn1
sortEnabledfalse
cellHighlightingtrue

3-axis Accelerometer
Module ModelPCB Revision SupportBoard Part Short NameDDREPCQ FlashOthersNotes
TEI0003-02REV01, REV0216 MBit (EPCQ16A)25_C8_8MB8MByte2 MByteNANA
TEI0003-02AREV225_C8_8MB8MByte2 MByteNANA


Design supports following carriers:

...

Scroll Title
anchorTable_AHW
titleAdditional Hardware

Scroll Table Layout
orientationportrait
sortDirectionASC
repeatTableHeadersdefault
style
widths
sortByColumn1
sortEnabledfalse
cellHighlightingtrue

Additional HardwareNotes
USB Cable for JTAG/UARTCheck Carrier Board and Programmer for correct type


Content

Page properties
hiddentrue
idComments

Notes :

  • content of the zip file

For general structure and of the reference design, see Project Delivery - Intel devices

Design Sources

Scroll Title
anchorTable_DS
titleDesign sources

Scroll Table Layout
orientationportrait
sortDirectionASC
repeatTableHeadersdefault
style
widths
sortByColumn1
sortEnabledfalse
cellHighlightingtrue

TypeLocationNotes
Quartus<design name>/source_files/quartusQuartus Project will be generated by TE Scripts
Software<design name>/source_files/softwareAdditional Software will be generated by TE Scripts


Prebuilt

Page properties
hiddentrue
idComments

Notes :

  • prebuilt files
  • Template Table:

    • Scroll Title
      anchorTable_PF
      titlePrebuilt files

      Scroll Table Layout
      orientationportrait
      sortDirectionASC
      repeatTableHeadersdefault
      style
      widths
      sortByColumn1
      sortEnabledfalse
      cellHighlightingtrue

      File

      File-Extension

      Description

      BIF-File*.bifFile with description to generate Bin-File
      BIN-File*.binFlash Configuration File with Boot-Image (Zynq-FPGAs)
      BIT-File*.bitFPGA (PL Part) Configuration File
      DebugProbes-File*.ltxDefinition File for Vivado/Vivado Labtools Debugging Interface

      Debian SD-Image

      *.img

      Debian Image for SD-Card

      Diverse Reports---Report files in different formats
      Hardware-Platform-Specification-Files*.hdfExported Vivado Hardware Specification for SDK/HSI and PetaLinux
      LabTools Project-File*.lprVivado Labtools Project File

      MCS-File

      *.mcs

      Flash Configuration File with Boot-Image (MicroBlaze or FPGA part only)

      MMI-File

      *.mmi

      File with BRAM-Location to generate MCS or BIT-File with *.elf content (MicroBlaze only)

      OS-Image*.ubImage with Linux Kernel (On Petalinux optional with Devicetree and RAM-Disk)
      Software-Application-File*.elfSoftware Application for Zynq or MicroBlaze Processor Systems

      SREC-File

      *.srec

      Converted Software Application for MicroBlaze Processor Systems




Scroll Title
anchorTable_PF
titlePrebuilt files (only on ZIP with prebult content)

Scroll Table Layout
orientationportrait
sortDirectionASC
repeatTableHeadersdefault
style
widths
sortByColumn1
sortEnabledfalse
cellHighlightingtrue

File

File-Extension

Description

SOPC Information File*.sopcinfoFile with description of the .qsys file to create software for the target hardware
JTAG indirect configuration file*.jicFlash configuration File
Diverse Reports---Report files in different formats
Software-Application-File*.elfSoftware Application for NIOS II porcessor system


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
hiddentrue
idComments
Notes :
  • Basic Design Steps

  • Add/ Remove project specific description

  1. Open file "test_board.quar"
  2. Select Tools → Platform Designer  from the Quartus menu
  3. Open file "NIOS_test_board.qsys" in Platform Designer
  4. Open the component "onchip_ram" (double-click)
    1. Enable "Initialize memory content" and "Enable non-default initialization file" at Memory initialization, if disabled
    2. Specify Path for "User created initialization file". You can find the file at \software\test_board\mem_init\NIOS_test_board_onchip_ram.hex
  5. Select Generate → Generate HDL... from the Platform Designer menu
  6. The Generation window will appear

    1. Select "VHDL" as the synthesis language and "None" from the simulation model dropdown menu

    2. Select “Create block symbol file(.bsf)”, if not selected

    3.  Click Generate and close Platform Designer
  7. Select Processing → Start Compilation from the Quartus menu to compile the Design
  8. Select File → Convert Programming Files from the Quartus menu and specify following settings:
    1. Programming file type: JTAG Indirect Configuration File (.jic)
    2. Configuration device: EPCQ16A
    3. Select Flash Loader and click "Add Device..." → choose the right device (Cyclone 10 LP, 10CL025Y)
    4. Select SOF Data and click "Add File..." → choose output_files/test_board.sof
    5. Click Generate and close the "Convert Programming File" window

Launch

Programming

JTAG


Note

Reference Design is available with and without prebuilt files. It's recommended to use TE prebuilt files for first lunch.

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. Command files for execution will be generated with "_create_win_setup.cmd" on Windows 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.

  1. Open _create_win_setup.cmd and follow instructions on shell:
  2. Press 0 and enter to start "Module Selection Guide"
  3. Create Project (follow instruction of the product selection guide), settings file will be configured automatically during this process
    1. (optional for manual changes) Select correct device and Quartus install path on "design_basic_settings.cmd" and create Quartus project with "quartus_create_project_batchmode.cmd"

Launch

Programming

JTAG

Not used on this Example.

EPCQ16(A) Flash

  1. Connect the Module to USB-Port
  2. Open Quartus project with "quartus_open_existing_project_guimode.cmd"
  3. Open the Quartus Prime Programmer from Tools → Programmer
  4. If the Arrow-USB-Blaster is not visible:
    1. Click "Hardware Setup..."
    2. Choose at the drop-down menu "Currently selected hardware" Arrow-USB-Blaster[USB0]
    3. Close "Hardware Setup"
    If the correct configuration file is not set:
    1. Delete other files
    2. Click "Add file..."
    3. Select select the correct *.sof jic file (Pathcreated project file: <project_directory>\<design_name>/quartus/output_files\/test_board.sof)
  5. Click start

EPCQ16A Flash

  1. Do step 1 to step 3 from section Programming → JTAG, if not done yet
  2. If the correct configuration file is not set:
    1. Delete other files
    2. Click "Add file..."
    3. select the correct *.jic file from the project directoryjic or prebuilt file: <design_name>/prebuilt/<board_part_short_name>/programming_files/*.jic)
    4. enable Program/Configure
  3. Click start
  4. After Flash is programmed, press the reset button

...

  1. Open Serial Console "PuTTY"
  2. Change settings in category "Session"
    1. Connection Type: Serial
    2. COM Port: see device manager (Win OS)
    3. Speed: 115200
  3. Select "Implicit CR in every LF" in category "Terminal"
  4. Click Open
  5. Press reset button at module
  6. SDRAM test is running
  7. After SDRAM test finished, you You can toggle between following LED sequences by pressing user button
    1. Spirit level
    2. Case statement sequence
    3. Shift register sequence
    4. Knightrider sequence
    5. Pulse-width modulation sequence

...

Scroll Title
anchorTable_dch
titleDocument change history.

Scroll Table Layout
orientationportrait
sortDirectionASC
repeatTableHeadersdefault
style
widths2*,*,3*,4*
sortByColumn1
sortEnabledfalse
cellHighlightingtrue

DateDocument Revision

Authors

Description

Page info
modified-date
modified-date
dateFormatyyyy-MM-dd

Page info
infoTypeCurrent version
dateFormatyyyy-MM-dd
prefixv.
typeFlat

Page info
infoTypeModified by
typeFlat

  • change design to TE scripts
  • new board variants
2019-04-03v.2Thomas Dück
  • Initial release 18.1
--all

Page info
infoTypeModified users
dateFormatyyyy-MM-dd
typeFlat

--


...