From 976e9c155cdc9c8577c0a98c54d552f3ce9f32ae Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Fri, 14 Aug 2020 20:45:22 +0100 Subject: [PATCH] hrfid unit test sets up HSRR0 and HSRR1 --- src/soc/fu/trap/test/test_pipe_caller.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/soc/fu/trap/test/test_pipe_caller.py b/src/soc/fu/trap/test/test_pipe_caller.py index 45fea5a2..aa45b6c7 100644 --- a/src/soc/fu/trap/test/test_pipe_caller.py +++ b/src/soc/fu/trap/test/test_pipe_caller.py @@ -76,7 +76,7 @@ class TrapTestCase(TestAccumulatorBase): lst = ["hrfid"] initial_regs = [0] * 32 initial_regs[1] = 1 - initial_sprs = {'SRR0': 0x12345678, 'SRR1': 0x5678} + initial_sprs = {'HSRR0': 0x12345678, 'HSRR1': 0x5678} self.add_case(Program(lst, bigendian), initial_regs, initial_sprs) -- 2.30.2