Forum Discussion
Quartus 26.1 type inheritance bug.
- 1 month ago
I had filed an enhancement ticket. Will get back to you once any further feedback on the ticket
Hi,
Possible do like the attached file? Move out the submodule and using parameter.
Do you encounter problem if using other compiler software?
- Kocsonya1 month ago
New Contributor
Thanks. First, yes the bug exists in older Quartus versions as well, although in slightly different forms.
Second, I know that in this particular case there are very easy work-arounds. This bit of code was written to demonstrate the bug and has nothing to do with the real code.
Where the bug actually was discovered is a much more complex system, many SV files, some quite long. There is a complex and intricate interplay between parameters, interfaces, packages, and types which, even if it sounds counterintuitive, actually make the code both more readable and much more maintainable. Due to the nature of the project, I can't show you any actual code, but I can tell you that it would (or will, if Altera does not fix the bug) be a huge amount of work to 'just move it out and use a parameter'.
What I am looking for here is a confirmation of the bug, and, hopefully, some hint from Altera that it would be fixed soon.
- ShengN_altera1 month ago
Super Contributor
Do you encountered the same problem with other vendor software compiler like Vivado?
- Kocsonya1 month ago
New Contributor
Have not tried with Vivado, we don't use Xilinx much. I have a 2 or 3 years old Vivado at home, I can try that one. Riviera is a simulator, but it nevertheless has to compile and elaborate the SV source, and it does, and in the simulation everything works fine (I mean the real project, not the demo code I posted, of course).