Due to a problem in the Intel® Quartus® Prime Pro Edition Software versions before 21.3, the qsys-generate stage might fail with an error message “Can’t locate Wild.pm”.
This is caused by the environment variable PERL5OPT being set to “-MWild” (PERL5OPT=-MWild).
The probem has been fixed in the Intel® Quartus® Prime Pro Edition Software version 21.3.
To work around this problem with versions before 21.3, perform the following steps:
1. Unset the Environment Variable PERL5OPT.
a. In Linux, use command “unset PERL5OPT”.
b. In Windows, remove PERL5OPT from System Properties > Environment Variables.
2. Recompile the hardware design.