From: Luke Kenneth Casson Leighton Date: Mon, 17 Aug 2020 09:58:20 +0000 (+0100) Subject: adjust litex bios cmp test X-Git-Tag: semi_working_ecp5~305 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f552eb5b12107b51667ea4b4485e8ca52a6c8794;p=soc.git adjust litex bios cmp test --- diff --git a/src/soc/simulator/test_sim.py b/src/soc/simulator/test_sim.py index 6f537e32..b6cb3097 100644 --- a/src/soc/simulator/test_sim.py +++ b/src/soc/simulator/test_sim.py @@ -52,11 +52,11 @@ class GeneralTestCases(FHDLTestCase): def test_0_litex_bios_cmp(self): """litex bios cmp test """ - lst = [ "addi 26, 0, 43690", - "ori 26, 26, 43690", + lst = [ "addis 26, 0, 21845", + "ori 26, 26, 21845", + "addi 5, 26, 0", + "rldicr 5,5,32,31", "addi 5, 26, 0", - #"rldicr 5,5,32,31", - #"addi 5, 26, 0", "cmp 0, 0, 5, 26", "bc 12, 2, 28", "addis 6, 0, 1",