Skip to content

Commit

Permalink
Fix data size issue in test
Browse files Browse the repository at this point in the history
  • Loading branch information
ru551n authored and LarsAsplund committed May 31, 2024
1 parent e12306f commit d53326e
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -355,11 +355,10 @@ begin

elsif run("Test unaligned write around 4kbyte boundary") then
-- Do one beat write at unaligned address starting around 4kB boundary
len := 1;
log_size := log_data_size;
buf := allocate(memory, 4096 - (2**log_data_size / 8) + 1, permissions => no_access); -- Unaligned address
random_integer_vector_ptr(rnd, data, (2**log_data_size / 8) , 0, 255);
buf := allocate(memory, length(data), permissions => no_access);
buf := allocate(memory, 4096 - 2**log_size + 1, permissions => no_access);
random_integer_vector_ptr(rnd, data, 2**log_size , 0, 255);
buf := allocate(memory, length(data), permissions => no_access); -- Unaligned address
transfer(x"2", buf, log_size, data);

elsif run("Test error on missing tlast fixed") then
Expand Down

0 comments on commit d53326e

Please sign in to comment.