From cd0fd6811a743e717d24ddb071b776142f7ec9d2 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Tue, 21 Jul 2020 19:36:09 +0100 Subject: [PATCH] put set_msr and set_cia back in for now --- src/soc/fu/test/common.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/soc/fu/test/common.py b/src/soc/fu/test/common.py index 036084e5..a4b9f0e8 100644 --- a/src/soc/fu/test/common.py +++ b/src/soc/fu/test/common.py @@ -144,6 +144,16 @@ class ALUHelpers: print ("extra inputs: so", so) yield alu.p.data_i.xer_so.eq(so) + def set_msr(alu, dec2, inp): + print ("TODO: deprecate set_msr") + if 'msr' in inp: + yield alu.p.data_i.msr.eq(inp['msr']) + + def set_cia(alu, dec2, inp): + print ("TODO: deprecate set_cia") + if 'cia' in inp: + yield alu.p.data_i.cia.eq(inp['cia']) + def set_slow_spr1(alu, dec2, inp): if 'spr1' in inp: yield alu.p.data_i.spr1.eq(inp['spr1']) -- 2.30.2