Errors are also common in Xilinx Vivado if you imported SystemVerilog code and did not specify the type of source code in the system navigator as such. Vivado by default does everything basic Verilog, and although almost everything in Verilog will be synthesized perfectly, if the file type is SystemVerilog, the opposite is not true.
source share