From 756a92619526c8704d149bb5996509f9cc08ea2d Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Fri, 5 Jun 2020 11:45:34 +0100 Subject: [PATCH] fix syntax errors and use correct FastRegs (SRR0/1 not SRR1/2) --- src/soc/decoder/power_decoder2.py | 1 + src/soc/decoder/power_regspec_map.py | 2 +- src/soc/regfile/regfiles.py | 4 ++-- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/soc/decoder/power_decoder2.py b/src/soc/decoder/power_decoder2.py index 28a68d18..1dc9b37f 100644 --- a/src/soc/decoder/power_decoder2.py +++ b/src/soc/decoder/power_decoder2.py @@ -220,6 +220,7 @@ class DecodeOut(Elaboratable): def elaborate(self, platform): m = Module() comb = m.d.comb + op = self.dec.op # select Register out field with m.Switch(self.sel_in): diff --git a/src/soc/decoder/power_regspec_map.py b/src/soc/decoder/power_regspec_map.py index 31d79a87..63435ae2 100644 --- a/src/soc/decoder/power_regspec_map.py +++ b/src/soc/decoder/power_regspec_map.py @@ -85,8 +85,8 @@ def regspec_decode(e, regfile, name): CTR = 1<