Dies ist eine alte Version des Dokuments!


VHDL

This is the user documentation for the flink VHDL modules. At the current state flink is only available for Altera FPGAs.

Overview

Requirements

  • Quartus Version 13.0.1 Service Pack 1 together with Qsys 13.0sp1
  • Modelsim Altera 10.1d (only necessary for simulation of modules)

Building

  1. Start Quartus and create a new project.
  2. Choose your appropriate device.
  3. Under Device → Device and Pin Options… → Unused Pins choose As input tri-stated with weak pull-up. Without this setting the system will not work later!
  4. Start Qsys and choose Tools → Options. Press Add and choose the fLink repository root path. After pressing Finish flink should be listed in the library section.
  5. Add all your desired modules to your system by double clicking on the appropriate entry. Also add an interface module such as a PCI or SPI interface.
  6. Connect all the clock sinks as well as the reset sinks.
  7. Connect the avalon master interface of the interface module with the avalon slave interfaces of all the other modules.
  8. In the export column double click on the conduit part of every module.
  9. Choose System→Assign Base Addresses.
  10. Select the tab Generation Writer on the top and choose VHDL in the Synthesis part. Save the system and click the Generate button.
  11. Close Qsys and change to the Files tab in the project view in Quartus. Add the .qip file from the synthesis folder of the Qsys system.
  12. Set the .qip file as Top-Level-Entity.
  13. Select Analyse and Synthesis.
  14. Open Pin Planer and designate all the necessary pins.
  15. Compile the design and download it.