From: Luke Kenneth Casson Leighton Date: Wed, 3 Jun 2020 22:46:17 +0000 (+0100) Subject: whoops names of regfiles are lower-case X-Git-Tag: div_pipeline~623 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=dcdba7606c998c7f478aaf430bbf7732650ff768;p=soc.git whoops names of regfiles are lower-case --- diff --git a/src/soc/simple/core.py b/src/soc/simple/core.py index cb212dfa..f3cfa3d0 100644 --- a/src/soc/simple/core.py +++ b/src/soc/simple/core.py @@ -84,7 +84,7 @@ class NonProductionCore(Elaboratable): (regname, rdflag, read, wid) = byregfiles_rdspec[regfile] # "munge" the regfile port index, due to full-port access - if regfile in ['XER', 'CR']: + if regfile in ['xer', 'cr']: if regname.startswith('full'): rpidx = 0 # by convention, first port else: