From a4ce3f5e0f7f90aae2946f309abc227bc80c4e1e Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Wed, 8 Jul 2020 17:18:51 +0100 Subject: [PATCH] add mtspr and bcctrl instructions to helloworld test --- src/soc/simulator/test_helloworld_sim.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/soc/simulator/test_helloworld_sim.py b/src/soc/simulator/test_helloworld_sim.py index 93352c41..97d1e998 100644 --- a/src/soc/simulator/test_helloworld_sim.py +++ b/src/soc/simulator/test_helloworld_sim.py @@ -35,6 +35,8 @@ class HelloTestCases(FHDLTestCase): "rldicr 12,12,32,31", "oris 12,12,0", "ori 12,12,4116", + "mtspr 9, 12", # mtctr r12 + "bcctrl 20,0,0", # bctrl ] self.run_tst_program(Program(lst), [1,12]) -- 2.30.2