U
Ulsk
Guest
I noticed XST 9.1 still doesn't support multi-dim arrays in an always @*
block.
Here's a (perhaps poor) example:
reg signed [15:0] table [0:255];
reg signed [23:0] sum;
integer i;
always @*
begin
sum = 0;
for ( i =0; i < 256; i = i + 1 )
sum = sum + table; // yes, I know this will synthesize a suboptimal
imbalanced adder-tree!
end
block.
Here's a (perhaps poor) example:
reg signed [15:0] table [0:255];
reg signed [23:0] sum;
integer i;
always @*
begin
sum = 0;
for ( i =0; i < 256; i = i + 1 )
sum = sum + table; // yes, I know this will synthesize a suboptimal
imbalanced adder-tree!
end