7769 - Radiant / System Verilog: How to fix the package not found issue for SystemVerilog to avoid synthesis failure?

7769 - Radiant / System Verilog: How to fix the package not found issue for SystemVerilog to avoid synthesis failure?

Background:
'Package not found' synthesis issue is due to limitation of Radiant to automatically compile RTL files based on its expected arrangement.

Solution:
Here is the set of instructions to properly compile System Verilog RTL files:
1. In your project, go to impl_1 section and right-click, and go to Properties.
2. In Properties window, set to "off" the 'Automatically Compile Order' and change the verilog standard to "System Verilog".

3. Then, in the Input List section, re-arrange the RTL files and ensure that the package, macro, and component files are listed first.
4. Second, add the files that instantiate the packages and macros.
For example:
  1. Package1.sv (package file)
  2. Test.sv (import Package1.sv)
  3. Top.sv (instantiates Test.sv)