Skip to content

Commit

Permalink
axi_test: add clear_memory_regions to axi_rand_master.
Browse files Browse the repository at this point in the history
  • Loading branch information
luca-valente authored and micprog committed May 8, 2024
1 parent e60e969 commit eced9a8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/axi_test.sv
Original file line number Diff line number Diff line change
Expand Up @@ -808,6 +808,10 @@ package axi_test;
mem_map.push_back({addr_begin, addr_end, mem_type});
endfunction

function void clear_memory_regions();
mem_map.delete();
endfunction

function void add_traffic_shaping(input int unsigned len, input int unsigned freq);
if (traffic_shape.size() == 0)
traffic_shape.push_back({len, freq});
Expand Down

0 comments on commit eced9a8

Please sign in to comment.