verilator: Remove static casts fixes #567 (#582)

Static casts cause a compilation error with Verilator 4.109
This commit is contained in:
M. Tarek Ibn Ziad 2021-01-18 04:33:39 -05:00 committed by GitHub
parent 6fd1a734e0
commit d4605e3b0c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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,
@ -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,
@ -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)
);