-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Description
In global_buffer.v :
reg [GBUFF_ADDR_SIZE-1:0] gbuff [WORD_SIZE-1:0];
...
for(i=0; i<=256; i=i+1)
gbuff[i] <= 32'd0;
=> data size mismatch !
it should be :
reg [WORD_SIZE-1:0] gbuff [GBUFF_ADDR_SIZE-1:0]; // In fact, in consideration of IEEE1364 ,reg [WORD_SIZE-1:0] gbuff [0:GBUFF_ADDR_SIZE-1] is recommended, but it may cause error under this testbench;
Although data size mismatch will not cause error in this testbench, it may cause error under other condition
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels