Skip to content

global_buffer size mismatch #4

@p5802p5802

Description

@p5802p5802

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions