Altera_Forum
Honored Contributor
14 years agoQSYS, minor glitches with parameterized ports
Encountered some minor glitches in QSYS in regards to vhdl generics in Quartus 11.0sp1. Found workarounds to all of these, but they had me puzzled for a while.
I designed several bus modules with parameterized address and data bus sizes. QSYS complained that the bus size on each of these ports was "-1," despite my having defaults in the VHDL generic section. I hardwired these bus sizes and everything was fine. (2) Another minor problem I found along the way was that QSYS grabbed the generics from other associated design files after analyzing the files, rather than from the selected top level file. Very confusing. I made sure it had used the correct top level file. The only way I could make this work was to move the other files temporarily to another directory, run the tool, and then move them back. (3) Finally, after creating a part, I ended up changing a generic from being a real to being an integer. I never could get QYS to recognize the change. Subsequent edits, rescans, exits from QSYS all didn't set the port correct. I ended up (ouch) editing the TCL HW file by hand and that worked.