From: Luke Kenneth Casson Leighton Date: Fri, 14 Aug 2020 19:45:22 +0000 (+0100) Subject: hrfid unit test sets up HSRR0 and HSRR1 X-Git-Tag: semi_working_ecp5~341 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=976e9c155cdc9c8577c0a98c54d552f3ce9f32ae;p=soc.git hrfid unit test sets up HSRR0 and HSRR1 --- 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)