quick test found missing bracket
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sun, 5 Apr 2020 11:04:25 +0000 (12:04 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sun, 5 Apr 2020 11:04:25 +0000 (12:04 +0100)
src/soc/decoder/power_pseudo.py

index 188ef0c2da4dd75aff47140309d5a8c42772e9f3..2e0c2e33b7658b6728391b8746426cde0f508b6d 100644 (file)
@@ -139,13 +139,19 @@ do i = 0 to 7
     print(i)
 """
 
+testcond = """
+ctr_ok <- BO[2] | ((CTR[M:63] != 0) ^ BO[3])
+cond_ok <- BO[0] | ¬(CR[BI+32] ^  BO[1])
+"""
+
+code = testcond
 #code = testdo
 #code = _bpermd
 #code = testmul
 #code = testgetzero
 #code = testcat
 #code = testgpr
-code = testmem
+#code = testmem
 #code = testgprslice
 #code = testreg
 #code = cnttzd