F-Tile Architecture and PMA and FEC Direct PHY IP User Guide

ID 683872
Date 4/07/2025
Public
Document Table of Contents

5.9. Compiling a F-Tile Design with VHDL Configuration File as the Top Level Module

When a VHDL configuration file is the top-level module/instance in a F-Tile design as shown in the following figure, you must add a setting in the .qsf file as shown below to make sure that the Quartus® Prime Pro Edition software synthesis tool points to the correct hierarchical path in your design.
Figure 120.  VHDL Configuration File as Top Level Module
set_global_assignment -name VERILOG_MACRO "TOP_LEVEL_ENTITY_INSTANCE_PATH=<TOP_LEVEL_NAME>"
Example:
set_global_assignment -name VERILOG_MACRO "TOP_LEVEL_ENTITY_INSTANCE_PATH=fpga_io_top"
Without the .qsf assignment, the design compilation can fail with a similar error as shown below:
Error (13406): Verilog HDL error at fpga_io_auto_tiles.sv(2673): object "fpga_io_top_configuration" 
is not declared File: xxx/support_logic/fpga_io_auto_tiles.sv Line: 2673