From: Luke Kenneth Casson Leighton Date: Fri, 31 Jul 2020 16:31:21 +0000 (+0100) Subject: add more instructions to litex trampoline test (not tested) X-Git-Tag: semi_working_ecp5~477 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=70288b724ab5d232a8452a3917f09ffbebbde30c;p=soc.git add more instructions to litex trampoline test (not tested) --- diff --git a/src/soc/simulator/test_sim.py b/src/soc/simulator/test_sim.py index 83b4a893..16a3237e 100644 --- a/src/soc/simulator/test_sim.py +++ b/src/soc/simulator/test_sim.py @@ -245,7 +245,14 @@ class GeneralTestCases(FHDLTestCase): def test_litex_trampoline(self): lst = ["tdi 0,0,0x48", - "b 0x24", + "b 0x28", + "mfmsr r11", + "bcl 20,31,4", + "mflr r10", + "addi r10,r10,20", + "mthsrr0 r10", + "mthsrr1 r11", + "hrfid", ] with Program(lst, bigendian) as program: self.run_tst_program(program, [], initial_mem={})