From: Luke Kenneth Casson Leighton Date: Thu, 30 Jul 2020 12:21:43 +0000 (+0100) Subject: add trampoline test from litex X-Git-Tag: semi_working_ecp5~486 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=38c5f0052e7922ebdc680a24559029f353ec5b5d;p=soc.git add trampoline test from litex --- diff --git a/src/soc/simulator/test_sim.py b/src/soc/simulator/test_sim.py index c6a212fd..83b4a893 100644 --- a/src/soc/simulator/test_sim.py +++ b/src/soc/simulator/test_sim.py @@ -243,6 +243,13 @@ class GeneralTestCases(FHDLTestCase): with Program(lst, bigendian) as program: self.run_tst_program(program, [9], initial_mem={}) + def test_litex_trampoline(self): + lst = ["tdi 0,0,0x48", + "b 0x24", + ] + with Program(lst, bigendian) as program: + self.run_tst_program(program, [], initial_mem={}) + def test_30_addis(self): lst = [ # "addi 0, 0, 5", "addis 12, 0, 0",