From f29f936e39ad4f6f797723752756b0dc8b497fda Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Sat, 4 Jul 2020 20:44:50 +0100 Subject: [PATCH] more updating spr1/spr2 to fast1/fast2 --- src/soc/decoder/power_regspec_map.py | 8 ++++---- src/soc/fu/compunits/test/test_branch_compunit.py | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/soc/decoder/power_regspec_map.py b/src/soc/decoder/power_regspec_map.py index a88375d0..2fc32fe0 100644 --- a/src/soc/decoder/power_regspec_map.py +++ b/src/soc/decoder/power_regspec_map.py @@ -88,9 +88,9 @@ def regspec_decode_read(e, regfile, name): if name == 'msr': return Const(1), MSR # TODO: detect read-conditions # TODO: remap the SPR numbers to FAST regs - if name == 'spr1': + if name == 'fast1': return e.read_fast1.ok, 1<