Synth 8-439 module not found, even though the same module is instantiated in another module
I'm building an FPGA project with zynq 7000 and I get an error from Vivado Synth 8-439 module not found. This same module is instantiated in another module. For a workaround I make a copy of the module code and rename the module. Then I include the code for the module in the same file. How can I just use the same name and without copying the code?