Skip to content

Commit

Permalink
verilator: Remove static casts fixes openhwgroup#567 (openhwgroup#582)
Browse files Browse the repository at this point in the history
Static casts cause a compilation error with Verilator 4.109
  • Loading branch information
TarekIbnZiad authored Jan 18, 2021
1 parent 6fd1a73 commit d4605e3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tb/ariane_testharness.sv
Original file line number Diff line number Diff line change
Expand Up @@ -563,7 +563,7 @@ module ariane_testharness #(
.test_en_i ( test_en ),
.slave ( slave ),
.master ( master ),
.start_addr_i (addr_map_t'({
.start_addr_i ({
ariane_soc::DebugBase,
ariane_soc::ROMBase,
ariane_soc::CLINTBase,
Expand All @@ -574,8 +574,8 @@ module ariane_testharness #(
ariane_soc::EthernetBase,
ariane_soc::GPIOBase,
ariane_soc::DRAMBase
})),
.end_addr_i (addr_map_t'({
}),
.end_addr_i ({
ariane_soc::DebugBase + ariane_soc::DebugLength - 1,
ariane_soc::ROMBase + ariane_soc::ROMLength - 1,
ariane_soc::CLINTBase + ariane_soc::CLINTLength - 1,
Expand All @@ -586,7 +586,7 @@ module ariane_testharness #(
ariane_soc::EthernetBase + ariane_soc::EthernetLength -1,
ariane_soc::GPIOBase + ariane_soc::GPIOLength - 1,
ariane_soc::DRAMBase + ariane_soc::DRAMLength - 1
})),
}),
.valid_rule_i (ariane_soc::ValidRule)
);

Expand Down

0 comments on commit d4605e3

Please sign in to comment.