gyuunyuu
Contributor
4 years agoQsys component generation on the fly
Is it possible to create Qsys component in such a way that its interfaces can be changed based on options selected in Qsys when we are about to add it? e.g we can select how many Avalon sink interfaces the component should have at time of adding it and then when the component is added, the HDL file will be updated accordingly.
I believe something like this should be possible with the use of "callback" procedures in the _hw.tcl file. However, I have not used them yet. I don't know if the callback function can invoke changing the actual interface of the Qsys component and it will immediately reflect in Qsys just before we add the component.