error while generating hdl in platform designer.
Greetings all!
I'm trying to do a project using nios 2 processor. I have already created a qsys file in that i have included my CSR hdl file using component editor. I'm getting the following error while generating the testbench and hdl files. I can't figure out how to solve it.
Error: CSR_0: CSR does not support generation for Verilog Simulation. Generation is available for: Quartus Synthesis.
Error: Generation stopped, 11 or more modules remaining
Error: qsys-generate failed with exit code 1: 2 Errors, 0 Warnings
After that I created the application make files using nios 2 sbt while running the simulation in modelsim I'm getting the following errors.
Instantiation of 'nios_CSR_0' failed. The design unit was not found.
Instantiation of 'altera_avalon_i2c' failed. The design unit was not found.
Instantiation of 'nios_NIOS_CONSOLE_UART' failed. The design unit was not found.
Does anybody have any suggestions? I really appreciate the help.
Thank you.