Hi,
I have 9 channels of FIR filter, which would produce 31 bit output data, I want to trim them and use generate to connect all of them to some output module.
Here is my code
wire signed [30:0] wIFir,wQFir [0:8];
wire signed [15:0] wIFirTrim,wQFirTrim [0:8];
genvar i;
generate
for (i = 0; i< 9; i = i +1) begin
assign wIFirTrim[i] = wIFir[i][25:10];//extract the 16 bit valuable data
assign wQFirTrim[i] = wQFir[i][25:10];
end
endgenerate
But ISE would complain that wIFir is not a memory!
what I have done wrong?