After having tested the implementation of the Led Band Controller. I decided to create an IP on QSys. However, we had some problems with that.
The first problem is a consequence of the use of local parameters. Every interface signals which depend on a local parameter have a length of -1 like
angle for instance:
parameter NB_ANGLES = 128; localparam ANGLE_WIDTH = $clog2(NB_ANGLES); input wire [ANGLE_WIDTH - 1:0] angle;
So I would like to know if someone knows how to deal with this problem.
This problem is a smaller one and has a way to fix it but it is not very clean. Here we would like to connect 4 HPS GPIOs directly in Qsys to the Led Band Controller and send other GPIOs to the top-level module. However, as the image below shows, there are all packed in the same conduit.
Moreover, in Qsys, I only can connect a conduit to another. So I would like to know if it is possible to split this conduit into several ones.
Thank you in advance for the help.