Using Mentor Graphics
Leonardo Spectrum Synthesis tool in Altera Quartus projects
- Using
Mentor Graphics Leonardo Spectrum Synthesis tool in Altera Quartus
projects
- Overview:
- Software
tools used:
- Using
Leonardo Spectrum to synethsize project:
- Using
Leonardo Spectrum to synthesize an entity, and integrating this entity
into a Quartus project:
- Trouble
shooting:
Overview:
When doing complicated HDL designs, it is sometimes fustrating to find
that not all HDL semantics is supported by certain synthesizers.
It is also advanteagous to have different synthesis tools to pick and
choose from when optimizing for design size or speed. The
following is the procedure for using Using Mentor Graphics:
Leonardo Spectrum Synthesis tool in Altera Quartus projects.
Software tools used:
- Altera Quartus II v2.2
- Mentor Graphics Leonardo Spectrum (Level 1) Synthesizer (comes
with Nios embedded core)
Using Leonardo
Spectrum to synethsize project:
- Start Quartus II v2.2 and open a project with the target design
files loaded as part of the project files.
- Specify the top level entity by
right clicking on that file that contains the top level entity in the
project clicking on "set compiler focus to current entity".
- Goto Assignments > EDA Tools Settings
- Change the Design Entry/Synthesis tool to LeonardoSpectrum-Altera
(Level 1)
- Checkmark the option to "Run this tool automatically to
synethsize the current design"
Using Leonardo
Spectrum to synthesize an entity, and integrating this entity into a
Quartus project:
- To synthesize an entity with Leonardo Spectrum, start up
LeonardoSpectrum OEM2002e_Altera_15 (found on Windows CAD machines, if
you cannot find it, please ask the system administrator to install)
- Select the proper device and speed grade in the "quick setup"
window
- Select effort level for the syntesis tool
- Add ALL HDL design
files in your entity by clicking on the "open files", making sure that
the file describing the top level entity is at the bottom
- Select the working directory where the tool will pipe output
files to by clicking on "working directory"
- Specify the name of the out file in the "output file" query box,
should be something like [top_level_enitity].edif
- Click on "run flow" to generate the *.edif or *.edf file (The *.edif file is a post synthesis
netlist of components that can be used in Altera Quartus. )
- Move the *.edf file to the folder of the project
- Add the EDF file to the Quartus project (project >
add/remove files)
- Goto Assignments > EDA Tools Settings
- Change the Design Entry/Synthesis tool to LeonardoSpectrum-Altera
(Level 1)
- Compile the rest of the design as usual, the Quartus syntesis
tools will search the project directory for the Leonardo synthsized
*.edif file
Trouble shooting:
When we first attempted to use Leonardo
Spectrum with Qurtus, Quartus II v.2.2 continuous posted error message
regarding not being able to find Leonardo Spectrum. To fix this
problem, at least on the Windows environment is to add the
LeonardoSpectrum path (where the executable files are located) to the
environment variables by:
- Right click on my computer > properties
- Goto the "advance" tab
- Click on "environment variables"
- Find the variable called "path", click "edit" and add the path of
Leonardo Spectrum (e.g. C:\MGC\LeoSpec\OEM2002e_Altera_15\bin\win32 )
Example using EDF
Counter with corresponding EDF file
counter.vhd
counter.edf
Top level project which uses EDF file
uses_counter.vhd
The Official Teenage Mutant Ninja
Turtle are
registered trademarks of Mirage Studios USA. Based on characters and
comic books created by Peter A. Laird and Kevin B. Eastman.