Knowledge Base Article

How do I instantiate a VHDL entity in an AHDL design?

Description

To instantiate a VHDL entity in an AHDL design, perform the following steps:

  1. Open the VHDL file in the Quartus® II Text Editor.
  2. From the File menu, point to Create/Update and select Create AHDL Include Files for Current File. This action creates a Include file (.inc) with all the port declarations.
  3. In the AHDL file, add the following statement to include the .inc:
    INCLUDE "<name>.inc";

The files are now ready to compile.

Updated 2 months ago
Version 2.0
No CommentsBe the first to comment