From 7d685339284e5982980c52a3e14edd73cc51c425 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Thu, 4 Jun 2020 00:52:04 +0100 Subject: [PATCH] whoops, regfiles are uppercase --- src/soc/simple/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/soc/simple/core.py b/src/soc/simple/core.py index 702e3b47..c6e41617 100644 --- a/src/soc/simple/core.py +++ b/src/soc/simple/core.py @@ -90,7 +90,7 @@ class NonProductionCore(Elaboratable): (rdflag, read, wid, fuspec) = fspec # "munge" the regfile port index, due to full-port access - if regfile in ['xer', 'cr']: + if regfile in ['XER', 'CA']: if regname.startswith('full'): rpidx = 0 # by convention, first port else: -- 2.30.2