Importing Active-CAD designs in Active-HDL

Introduction

Active-CAD is a completely integrated suite of EDA tools for the development of FPGA /CPLD designs. It supports various design entry and simulation methods. A design can be entered via schematic, HDL, or State Machine. These designs can be pure schematic, mixed mode (combining schematics, HDL, and State Machine macros) or HDL centric (pure HDL, or State Machines.)

Active-HDL provides a utility for importing Active-CAD/Foundation schematics (*.sch), libraries, and complete projects. The import utility allows Active-CAD/Foundation users to migrate their current and legacy projects and designs into Active-HDL design environment.

Active-HDL supports importing both Schematic-type and HDL-type projects. Projects containing ABEL files or state diagram files targeted to ABEL attached as top-level documents cannot be imported.

Importing Active-CAD Projects

Before importing an Active-CAD project, you should create a new empty design in Active-HDL. The import is initiated by the Import>Active-CAD Project command from the File menu. The command starts a process as a result of which some of the original Active-CAD project files are copied into the current design (in Active-HDL) while the others are converted. The import preserves the hierarchical structure of Active-CAD schematics. During the import, you will notice Active-CAD programs running as minimized tasks.

Importing Schematic-type Projects

The table below describes the way schematic-type projects are imported.

Importing HDL-type Projects

In an HDL-type project, files of any type (schematics, VHDL, Verilog, and ABEL) can be attached to the Project's Manager Hierarchy Browser. During the import, the following operations are performed:

  • All VHDL and Verilog files attached to the original project are copied and attached to the Active-HDL design.

  • All schematic files attached to the original project are converted to block diagram. The resulting block diagram files are added to the Active-HDL design. If the Active-CAD project includes several schematic files attached, the files are converted individually and are not merged into a multi-page block diagram.

Import Log

During the import, Active-HDL creates a master log (in the HTML format) plus a number of partial logs (in a plain text format). The master log is attached to the imported Active-HDL design so that you can open it directly from Design Browser. It contains links to the partial logs.

Importing Active-CAD Schematic

Instead of importing the whole Foundation project, you can import individual schematics. During the import, a schematic file is converted into a block diagram and automatically added to the current Active-HDL design. All user-defined macros appearing on the imported schematic are converted to empty symbols. Only system macros are converted according to the rules for importing schematic-type projects.

Importing Active-CAD Libraries

Active-HDL allows you to import the contents of an Active-CAD library. The source files describing macros residing in the imported library are automatically attached to the current design, and then compiled. The rules for importing macros are identical to those for importing schematic-type projects.

Functionality Differences between Active-CAD and Active-HDL

Active-CAD users switching to Active-HDL will notice a number of functional differences between these two tools. The table below describes all major differences and can be helpful in addressing problems occurring in imported Active-CAD and Foundation projects.

Simulation Libraries in Active HDL

The HDL code exported from Active-CAD designs contains instances of components whose simulation models must be included in one of the HDL libraries available in Active-HDL. Active HDL provides compiled libraries of simulation models for most popular FPGAs and CPLDs. Most of them include source code for debugging purposes. Note that these libraries have copyright restrictions and you cannot either modify or distribute their source.

Active-HDL provides libraries for the following vendors:

  • ACTEL

  • ALTERA

  • CYPRESS

  • LATTICE

  • LUCENT

  • QUICKLOGIC

  • XILINX

HDL code exported from Active-CAD designs for the above listed vendors can be simulated in Active-HDL without any additional adjustments.

Additional libraries can also be added to Active-HDL if you obtain their source from a PLD vendor.

Using Active-CAD Test Vectors in Active-HDL

If the exported design has been previously developed and simulated in Active-CAD, simulation test vectors can be re-used for simulation in Active-HDL. Test vectors must be saved in the ASCII format (*.ASC) - Active CAD uses two formats of test vector files: binary and ASCII. In addition to signal waveforms, the ASCII files include information about stimulators as they have been defined in the Waveform window.

To re-use test vectors from Active-CAD:

  • In Active CAD, save waveforms in the ASCII format by using the File/Save Waveform command with the ASCII Test Vectors option.

  • In Active HDL, open the file using the File /Open menu command. The operation will restore waveforms as they have been saved in the file and will convert stimulators specific to the Active-HDL format.

Known Problems

  • If COREGen and LogiBLOX components are instantiated in VHDL or Verilog files in HDL-type projects, their corresponding EDIF netlist files will not be imported.

  • HDL-type projects with ABEL files attached cannot be imported.

  • If you have defined stimulators in the Waveform Editor window during functional simulation, and then reinitialize the simulator for post-synthesis or timing simulation, the stimulator will disappear.

Ask Us a Question
x
Ask Us a Question
x
Captcha ImageReload Captcha
Incorrect data entered.
Thank you! Your question has been submitted. Please allow 1-3 business days for someone to respond to your question.
Internal error occurred. Your question was not submitted. Please contact us using Feedback form.
We use cookies to ensure we give you the best user experience and to provide you with content we believe will be of relevance to you. If you continue to use our site, you consent to our use of cookies. A detailed overview on the use of cookies and other website information is located in our Privacy Policy.