Tools & Requirements - mammenx/synesthesia GitHub Wiki
The Quartus II Design suite from Altera is a must have for programming Altera's FPGA devices. Since Synesthesia uses NIOS II processor & its associated system built in Qsys, Quartus II v11.1 SP2 or above is required.
Free version of Quartus II software can be downloaded from this Altera page. You will need an myAltera account to do so.
The following components can be downloaded individually from Altera:
- Altera Quartus II Web Edition v11.1 SP2 (or above)
- Nios II Embedded Design Suite v11.1 SP2 (or above)
- Programming Software v11.1 SP2 (or above)
Installation follows the same order as above.
1. Modelsim-Altera Starter Edition
Modelsim-Altera Starter Edition is a free simulation tool from Mentor Graphics. It comes preloaded with Altera libraries and recent versions support System Verilog as well.
Modelsim-Altera Starter Edition can be downloaded from the same Altera download section.
It is recommended to use only v6.5e for Quartus II v10.0sp1 as newer versions seem to have issues.
2. VCS * (Optional)
VCS from Synopsys is another simulation tool that can be used for running Synesthesia OVM tests. There is no free version of this tool however; it is listed only as an alternative option.
3. GCC
Synesthesia OVM environment has many components that are written in C. A C Compiler is required to generate the necessary dll/so files to work with Modelsim.
For windows, MinGW can be used.
GCC may not be required for VCS users, since VCS has a Direct C feature.
1. 3.5mm Auxiliary Audio Cable
A standard 3.5mm to 3.5mm audio cable is required to connect the DE1 audio input to the computer audio output.
2. RS-232 Over USB
Synesthesia's operating system LEDOS has a shell which can be accessed via the RS-232 port on the DE1. Since most modern computers do not ship with RS-232 ports, one needs to purchase a RS-232 over USB device which transports RS-232 over USB & creates a virtual COM port.
3. Logic Analyzer * (Optional)
1. ChibiOS/RT
Synesthesia's Operating System LEDOS is built on top of ChibiOS/RT components. This is a free RTOS released under the GPLv3 license.
This wonderful article explains how to setup ChibiOS to work with Quartus II & DE1. Many thanks to the author Michael Fischer for porting ChibiOS/RT to NIOS II.
2. Perl
To quickly generate the fpga_top & quartus settings file for the CycloneII FPGA sitting in DE1, one can use the perl GUI for generating the files.
This GUI is written in Perl using the PerlTKx libraries. For windows users, Active Perl is recommended.
To run the GUI type the following at command prompt:
:>perl de1_sys_gui_win.pl
Select the components that need to be used in the project, as well as the files to be generated & click on Generate!