Versions Compared


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


NIOS II Design with SDRAM Controller and 5 different LED sequences, that can be toggled using the user button.

Refer to for the current online version of this manual and other available documentation.


Scroll Title
titleDesign Revision History

Scroll Table Layout

DateQuartusProject BuiltAuthorsDescription
Thomas Dück
  • initial release


Reference Design is available on:

Design Flow

Page properties
Notes :
  • Basic Design Steps

  • Add/ Remove project specific description

  1. Open file "test_board.quar"
  2. Select Tools → Platform Designer  from 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 Generate Generation window will appear

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

    2. Unselect 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


  1. Do step 1 to step 3 from section Programming → FPGA SRAM JTAG, if not done yet
  2. If the correct configuration file is not set:
    1. Delete other files
    2. Click "Add file..."
    3. select Select the correct *.pof file (Path: <project_directory>\output_files\test_board.pof)
  3. Click start


  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 Apply Open
  5. Press reset button at module
    1. SDRAM test is running
    2. Flash test is running
  6. After the tests finished, 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