From 38c5f0052e7922ebdc680a24559029f353ec5b5d Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Thu, 30 Jul 2020 13:21:43 +0100 Subject: [PATCH] add trampoline test from litex --- src/soc/simulator/test_sim.py | 7 +++++++ 1 file changed, 7 insertions(+) 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", -- 2.30.2