You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: