Get Started with VHDP

Software Setup

Use the benefits of code suggestions and vendor-independent libraries by using VHDPlus IDE, the easiest way to program your FPGA.

Important Notes:

⚠️ At this point VHDPlus IDE has not left WIP state. Breaking changes might occur until version 1.0.**

⚠️ We have not obtained a Microsoft Certificate yet. If the Windows installer got blocked by SmartScreen, click on "More info" and then "Run anyway".

Install VHDPlus IDE

  1. Download MAX 10 device support¹
  2. Download and install Quartus Prime Lite for Windows²
  3. Download and install VHDPlus IDE
VHDPlus-0.9.7.7-x64.msi

¹MAX 10 device support:
The VHDPlus Core is equipped with a MAX 10 FPGA. Select the device family depending on your development board.

²Quartus Prime:
Quartus Prime is necessary for compiling your code and programming your FPGA.

Drivers

You need to install the drivers according to your programmer at hand in order to program your FPGA. Our VHDPlus Core features an ARROW USB Programmer because of its additional USB to UART interface.

Follow this guide to download and install the driver for the Arrow USB Programmer.

Connect VHDPlus IDE with Quartus

For direct compiling and programming of VHDPlus IDE a connection via Quartus is necessary. If Quartus is installed in default directory no further steps are needed. Otherwise an adjustment of the Quartus' path can be realized by opening the VHDPlus IDE and navigating throughExtras -> Options -> General

Select Quartus Path

When Quartus is detected successfully the boundary around Quartus' path eventuelly turns green.

Addional Programs

Code Simulation:

With ModelSim:

  1. Download and install ModelSim or ModelSim for Linux
  2. Read our instructions here

With GHDL:

  1. Install GHDL with the Installer for Windows or with sudo apt-get install ghdl on linux
  2. Download an extract GTK Wave for Windows or install it with sudo apt-get install gtkwave on linux
  3. Specify the path to the "gtkwave" folder in Extras/Settings/Simulator/GTKWave path
  4. Read our instructions here

Program with VHDP

Creating a program with the VHDP IDE is simple, but to get started even faster we have created tutorials including a written instruction:

Video Tutorial

Create your first program:

MAX10 Device Support, Quartus and the Arrow Programmer Driver are required for this.

  1. Start VHDPlus IDE and create a new project (top left).
  2. Inside the vhdp file you can write your code. This is a simple blink example:
/*
Blink example
*/
Main
(
--I/Os of the FPGA
LED : OUT STD_LOGIC := '0'; --STD_LOGIC contains states like '1', '0' or 'Z' for High Impedance
)
{
Process Demo ()
{
Thread --Every Thread is an endless loop
{
LED <= '1';
Wait(250ms);
LED <= '0';
Wait(250ms);
}
}
}
  1. To test your code click on create (grey hammer). For the example code with Core MAX10:
  • Click on the red LED in the right drawing of the Core MAX10
  • Click on "LED" in the "Unconnected" list and hit Enter
  • Do the same for CLK that is located right next to the FPGA chip
  • Click on Compile
  1. Compiling can last up to several minutes, because the compiler attempts to find the most efficient way to connect the logic elements. To program the FPGA, connect the FPGA with an USB cable and click on Program (blue arrow). To save the program on the FPGA, select Extras/Long-Term Programming.

Comparison between Arduino (C++), VHDP and VHDL

If you are familiar with software or hardware programming, check out this comparison here.

Use other HDL files and IP Cores

If you are not new to FPGAs and want to profit from VHDP while still using your old code and IP Cores, check out this tutorial.

Community

Check out what other people have done with VHDP. Here is a list of tutorials from us:

  1. Smart route following robot
  2. Camera with Object Detection
  3. LED Matrix
  4. Spectrum Analyzer

You can find much more examples here.

Last updated on by Hendrik Mennen