From ac928419990c767bbea9e94944dd687247e05356 Mon Sep 17 00:00:00 2001 From: Joseph Rahmeh Date: Tue, 13 Aug 2019 12:38:50 -0700 Subject: [PATCH] Adjust CSR MFDC reset value for the AXI bus. --- configs/swerv.config | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/configs/swerv.config b/configs/swerv.config index 4cfb64a..186a171 100755 --- a/configs/swerv.config +++ b/configs/swerv.config @@ -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){