Adjust CSR MFDC reset value for the AXI bus.

This commit is contained in:
Joseph Rahmeh 2019-08-13 12:38:50 -07:00
parent e20f012de7
commit ac92841999
1 changed files with 7 additions and 0 deletions

View File

@ -905,6 +905,13 @@ else { # default is AXI bus
}
# Over-ride MFDC reset value for AXI.
if (exists($config{"testbench"}{"build_axi_native"}) and
$config{"testbench"}{"build_axi_native"} ne "") {
$config{csr}{mfdc}{reset} = "0x00070040" if exists $config{csr}{mfdc};
}
# Fill in derived configuration entries.
if($config{btb}{btb_size}==512){