Setting Up a Project with the LeonardoSpectrum Software
Setting up a project in the Mentor Graphics LeonardoSpectrum software includes starting the software, reading in the Verilog HDL and VHDL design files, and assigning a device. To set up a project in the LeonardoSpectrum software:
To read VHDL or Verilog HDL files into the LeonardoSpectrum software:
Click the Input tab.
Under Working Directory, specify the working directory or click Browse to select it.
Under Open files, click the icon to specify the list of VHDL or Verilog HDL files. The LeonardoSpectrum software can read Verilog HDL files in any order and supports "auto-top detection," which locates the top-level module automatically. However, the LeonardoSpectrum software must read VHDL files in "bottom-up" order, that is, it must read lower-level blocks before top-level blocks. You can specify the name of the top-level module or entity by selecting the VHDL Options or Verilog Options tabs at the bottom of the Input tab.
Note: If you are performing timing closure, and have already compiled the design in the Quartus II software, select the <design name>.vqo (a Verilog Quartus Mapping File (.vqm) with a .vqo extension) and a Standard Delay Format Output File (.sdo), generated by the Quartus II software and placed in the \<project name>\physical\mentor directory.
Under Encoding Style, select the appropriate state machine encoding style. The LeonardoSpectrum software encodes state machines during the synthesis process. Once a design has been encoded during synthesis, it cannot be re-encoded later during optimization. The LeonardoSpectrum software supports six different state machine styles: Binary;One Hot;Two Hot;Random;Gray; and Auto. Auto is the default setting.
If you are using the LeonardoSpectrum non-OEM software and you want to analyze and elaborate the VHDL or Verilog HDL files:
At the bottom of the Input tab, click the Elaborate tab.
If necessary, specify the appropriate settings.
At the bottom of the Input tab, click the Input Files tab.
Click Read.
To assign a device in the LeonardoSpectrum software:
Click the Technology tab.
If necessary, at the bottom of the Technology tab, click the Technology Settings tab.
In the FPGA folder, click the + icon to expand the Altera folder.
Under Altera, select the appropriate Altera device family.
In the Device list, select the appropriate device name.
In the Speed list, select the appropriate speed grade.
If necessary and depending on the device selected, you can specify any of the following options:
Turn on Map IO Registers
Specify the Wire Load
Turn on Implement RAM in ESB
To specify advanced settings for the selected device:
At the bottom of the Technology tab, click the Advanced Settings tab.
In the Max Fanout box, type the appropriate value. To determine what maximum fan-out values are available for a selected device, refer to the current device family data sheet.
If necessary, specify the appropriate settings.
To save the project:
On the File menu, click Save Project. The Save Project dialog box appears.