From: Luke Kenneth Casson Leighton Date: Sat, 22 Aug 2020 10:26:22 +0000 (+0100) Subject: add start of litex bios counter loop X-Git-Tag: semi_working_ecp5~272^2~37 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=705d1859f14e60a3484b22ac915db549f6643e8f;p=soc.git add start of litex bios counter loop --- diff --git a/src/soc/simulator/test_sim.py b/src/soc/simulator/test_sim.py index b6cb3097..4c2554b7 100644 --- a/src/soc/simulator/test_sim.py +++ b/src/soc/simulator/test_sim.py @@ -49,6 +49,18 @@ class GeneralTestCases(FHDLTestCase): super().__init__(name) self.test_name = name + def test_0_litex_bios_ctr_loop(self): + """ + 32a4: ff ff 63 38 addi r3,r3,-1 + 32a8: 20 00 63 78 clrldi r3,r3,32 + 32ac: 01 00 23 39 addi r9,r3,1 + 32b0: a6 03 29 7d mtctr r9 + 32b4: 00 00 00 60 nop + 32b8: fc ff 00 42 bdnz 32b4 + 32bc: 20 00 80 4e blr + """ + pass + def test_0_litex_bios_cmp(self): """litex bios cmp test """