Forum Discussion
Altera_Forum
Honored Contributor
10 years agoHi Korom,
Can you please file a Service Request with Altera and ask them this question. I'll tell you my solution, but it would be useful to know Altera's official recommendation. Rather than use add_fileset_file and pass it file names I use a generate statement. That generate statement creates the top-level component wrapper and a .qip file. The .qip file can use VHDL include statements with library files. I've attached an example script. It doesn't include the code, since I just quickly zipped those files. If you want a fully functional Avalon-MM slave component, let me know, and I'll spend a little more time creating an example. Cheers, Dave