Error synthesizing Nios II design in Quartus 19.1
I'm having a problem synthesizing Nios II design in Quartus 19.1 (or any 19.x version). I created a simple Nios II design with Platform Designer containing reset bridge, clock bridge, Nios II processor, On-chip memory (128KB) to store data/instruction, JTAG UART, and timer. I set the system qsys as the top entity and ran Analysis & Synthesis. It failed with the following errors
Error(13223): Verilog HDL or VHDL error: cannot open verilog file 'ip/test_nios_sys/test_nios_sys_nios2_gen2_0/altera_nios2_gen2_unit_191/synth/altera_nios2_gen2_rtl_module.sv'
Error(16045): Instance "nios2_gen2_0|nios2_gen2_0|cpu|the_nios2_rtl" instantiates undefined entity "altera_nios2_gen2_rtl_module"
Error(16185): Can't elaborate user hierarchy "nios2_gen2_0|nios2_gen2_0|cpu|the_nios2_rtl"
Error(16185): Can't elaborate user hierarchy "nios2_gen2_0|nios2_gen2_0|cpu"
Error(16185): Can't elaborate user hierarchy "nios2_gen2_0|nios2_gen2_0"
Error(16185): Can't elaborate user hierarchy "nios2_gen2_0"
Error(16186): Can't elaborate top-level user hierarchy
Error: Flow failed:
Error: Quartus Prime Synthesis was unsuccessful. 8 errors, 1 warning
Error: Peak virtual memory: 1552 megabytes
Error: Processing ended: Mon Oct 28 11:54:45 2019
Error: Elapsed time: 00:00:12
Error: Peak virtual memory: 1552 megabytes
Error: Processing ended: Mon Oct 28 11:54:45 2019
Error: Elapsed time: 00:00:12
I tried a couple of things:
-Deleted qdb folder and re-ran the tool but got the same result.
-Quartus 19.2 and 19.3 gave the same result.
-I applied patch 0.02 for 19.1 (not the same problem but it has to do with Nios II) and that didn't help (https://www.intel.com/content/www/us/en/programmable/support/support-resources/knowledge-base/tools/2019/why-does-my-design-not-generate-programming-files-when-my-design.html).
-Nios II e version gave the same result.
-Windows 10 and CentOS 7 gave the same result.
-Quartus 18.1 had no problem synthesizing the same design.
For info, my Nios II license is "Nios II Embedded Process Encrypted output (00A2)". This shouldn't matter because I compiled design with this license before on older versions of Quartus.
Is this a known issue with 19.x version and is there a workaround?
I think I figured out the problem. It has to do with FlexLM version. The alterad and lmgrd daemons running on the license server were old and had to be updated to v11.16.2. Thanks for responding.