Altera_Forum
Honored Contributor
9 years agoProblem with parameters when instantiating custom build component
Hi to all
I'm new here, so I hope this is the right Forum... I have a problem with a self made IP Component. I wrote the code in VHDL and build a Custom Component out of the *.vhd with Qsys. The component has four Parameters. In my Qsys System I added four instantianons of the Component. They should have different Parameters. So here's the Problem. When alle the parameters are the same, the System can be generated and compiled in Quartus Prime 16.1. When I differ only the first of the parameters Qsys generates a system_... .vhd file in the \System\synthesis folder of my project for every different instance and i can generate and compile everything. But when only the second, third or fourth parameter variates, Qsys generates only one system...vhd file. Generating the system works fine, but when I want to compile my project in Quartus the following message appears: Error (10652): VHDL Assertion Statement at system_sinc_u_os_1.vhd(65): assertion is false - report "Supplied generics do not match expected generics" (FAILURE or ERROR) Error (12152): Can't elaborate user hierarchy "soc_ent:inst|System:u0|system_sinc_u_os_1:sinc_u_os_2" Why does Qsys check only the first parameter on differences? Can i force Qsys to generate a System_...vhd for every instance of my component? Or did i do anything else wrong? Looking forward to answers. Thanks. Greetings