add a quick logic test of astor tree-dump
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sun, 15 Aug 2021 17:46:51 +0000 (18:46 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sun, 15 Aug 2021 17:46:51 +0000 (18:46 +0100)
src/openpower/decoder/power_pseudo.py

index fde36b250f8b5ec5bdda8ebc443095555dd07ef7..6572a6021b64c5aa0443066d7fc4dd60d717e3a7 100644 (file)
@@ -185,7 +185,13 @@ SVSTATE_next = """
 SVSTATE_NEXT(5)
 """
 
-code = SVSTATE_next
+logictest = """
+x <- (y * 5) + 3
+y <- (z + 5) * 3
+"""
+
+code = logictest
+#code = SVSTATE_next
 #code = hextest
 #code = lswx
 #code = testcond