Quartus 101 Module A: Creating Your First Amani Project

In this tutorial you will learn to navigate your Quartus II software and use the New Project Wizardto create your first project.   In Unit B you will create and synthesize a simple Verilog module.  In Unit C you will assign I/O pins and load your Amani 64.  You’ll need one Amani 64, a power supply (you can even use your Arduino to supply power) one LED, a 1k resistor, and an ISP JTAG programmer such as the USBoomer, Altera USB-Blaster, Byte-Blaster, or an equivalent.

Let’s get started!

Module A: Creating Your Project in Quartus II

Step 1:  Launch Quartus II 10.0 Free Web Edition

Step 2:  You should see the following menu upon Quartus opening.  Use this menu to create your first project or open an existing project. 

Go ahead and select the “Create a New Project” option and you will find yourself in the New Project Wizard.

If you get an error indicating an illegal device family, simply press OK as we will select the proper family later.  This is most likely due to not including the default library during the installation process.

I have found that if you do not use this menu first, and instead exit and use the standard menus, you will find the software has licensing issues.  You only have to use it once per session and use the standard menus after that.

 

 

Step  3:  Click Next through the introduction menu.  The first dialogue box contains your working directory.  I suggest using another directory other than C:/Altera/10.0/  I prefer creating an Altera directory in “My Documents.”  

In this example I will call this project “Amani Blink”  Therefore the working directory will be Amani Blink, the project name AmaniBlink, and we’ll go ahead and leave the top-level design entity as AmaniBlink:

Working Directory:     C:/Users/user/Documents/Altera/Amani Blink

Project Name:     AmaniBlink

Top-Level Design Entity:      AmaniBlink

Project Name and Design Entity should be one word, case sensitive, and cannot start with a numeral. 

Make your selections and click Next.  A pop-up box will appear warning that the working directory does not exist.  Click Yes, the directory will be created.

 

 

 

Step 4:  Click Next through the Add Files [page 2 of 5]  page.  This step is used to include various libraries and design files into your project.  For this tutorial we will be creating our own files from scratch.  It’s easy, I promise!

Step 5:  The Family & Device Settings page is where we will select the target technology to be programmed.  The Amani 64 comes default with an EPM3064ALC44-10, a member of the MAX3000A Family.  Choose this device only.

Although not applicable to the Amani 64, Quartus allows you to simply select the target device family for your design and the fitter will choose your exact device post compilation.

 

 

The part number EPM3064ALC44-10 indicates 64 macrocells, 44 pins, 3.3V core voltage and a 10ns speed grade.  You can select any EPM3064 speed grade in Quartus, but your critical timing analysis will be in jeopardy.  There is no reason to not choose the correct speed grade of your device.

 

 

 

 

 

Step 6:  Click Next through the EDA Tool Settings [page 4 of 5]  page.  We will use the default development tools provided by Quartus II.

Step 7:  Confirm your selections on the Summary page and click Finish.

You have just create a project suite called “AmaniBlink.”  You are now ready to begin the design entry process!

Module B: Creating and Synthesizing Verilog RTL Code