Commit ac150620 authored by Grzegorz Daniluk's avatar Grzegorz Daniluk

fix simulation for modern Modelsim versions

parent 3073df19
......@@ -3706,7 +3706,7 @@ module main;
int q;
int z;
CWishboneAccessor cpu_acc = DUT.cpu.get_accessor();
static CWishboneAccessor cpu_acc = DUT.cpu.get_accessor();
for(int gg=0;gg<g_num_ports;gg++)
begin
......@@ -4057,7 +4057,7 @@ module main;
end
if(g_failure_scenario == 10)
begin
int thrash_cnt = 1;
automatic int thrash_cnt = 1;
wait_cycles(2030);
for(thrash_cnt=1;thrash_cnt<40;thrash_cnt++)
......@@ -4076,7 +4076,7 @@ module main;
end
if(g_failure_scenario == 11)
begin
int thrash_cnt = 1;
automatic int thrash_cnt = 1;
wait_cycles(2015);
ep_ctrl[g_active_port] = 'b0;
$display("");
......
......@@ -613,7 +613,7 @@ module main;
int q;
int z;
CWishboneAccessor cpu_acc = DUT.cpu.get_accessor();
static CWishboneAccessor cpu_acc = DUT.cpu.get_accessor();
for(int gg=0;gg<g_num_ports;gg++)
begin
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment