Skip to main content

Hello World

note

For this "Hello World" example we are going to make the LED of our supported FPGAs blink. Of course, you can use a different FPGA for this as well, just make sure to connect the LED accordingly to your FPGA.

Requirements#

VersionInformation
FPGA-MAX10, MAX1000 or CYC1000
VHDPlus IDE0.9+Instructions
Quartus18.1+Instructions
Device Support-Instructions
Device Drivers-Instructions

Video Tutorial#

Written tutorial#

Create a new project#

Start VHDPlus IDE and create a new project.

new Project Button

Select a name and decide if you want your "Hello World" template to be generated in VHDP or VHDL.

new Project Wizard

Click on Save and the generated "Hello World" file will open according to the language you chose.

Main(    led : OUT STD_LOGIC := '0';){     Process()    {        Thread        {            led <= '0';            Wait(250ms);            led <= '1';            Wait(250ms);        }    }}

Connect Signals#

You can now connect your Signals and try out the program. Just click on the connect and compile button

Compile Button

A window will open where you can select the development board you are using. Next you need to connect the LED signal to your physical LED on your hardware. This can be done easily by clicking on the LED as shown in the drawing for your development board below.

Max10

If you connected your LED Signal accordingly, Click on Compile.

note

Compiling can last up to several minutes, because the compiler attempts to find the most efficient way to connect the logic elements.

Download the compiled program to your FPGA#

Connect your FPGA with an USB cable to your Computer.

Select your connected FPGA#

If you have multiple FPGAs connected to your System, you can select the FPGA you want to use in the down right corner.

Select FPGA

Download#

Simply click on the program button.

Download Button

note

By default, short-term programming is enabled. This works faster, but the program will be lost on a power cycle. If you want to keep your program even after a power cycle, select Extras->Long-Term Programming.

Long Term

Done ✔ Need help?#

If everything worked as planned, the LED of your FPGA should blink every second.
If anything went wrong, feel free to ask for help. For the fastest response, join us on Discord.