Enable LD/ST exception test case
authorCesar Strauss <cestrauss@gmail.com>
Tue, 17 Aug 2021 11:37:47 +0000 (08:37 -0300)
committerCesar Strauss <cestrauss@gmail.com>
Tue, 17 Aug 2021 11:37:47 +0000 (08:37 -0300)
It helps for implementing exception handling in TestIssuer

src/soc/simple/test/test_issuer_mmu.py

index 4bf4d37a05792e5f04465a9801d7a2516d270457..a45071f858517e3f9d4781e51cac7029f1209e7d 100644 (file)
@@ -50,8 +50,10 @@ if __name__ == "__main__":
                               microwatt_mmu=True))
 
     # LD/ST exception cases
-    #suite.addTest(TestRunner(LDSTExceptionTestCase().test_data, svp64=svp64,
-    #                          microwatt_mmu=True))
+    # TODO: Depends on TestIssuer passing the exception condition to
+    #       PowerDecoder2
+    suite.addTest(TestRunner(LDSTExceptionTestCase().test_data, svp64=svp64,
+                              microwatt_mmu=True))
 
     runner = unittest.TextTestRunner()
     runner.run(suite)