From 19343eb3cf490d765451bde73fd322240ffa27ea Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Sun, 5 Apr 2020 12:04:25 +0100 Subject: [PATCH] quick test found missing bracket --- src/soc/decoder/power_pseudo.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/soc/decoder/power_pseudo.py b/src/soc/decoder/power_pseudo.py index 188ef0c2..2e0c2e33 100644 --- a/src/soc/decoder/power_pseudo.py +++ b/src/soc/decoder/power_pseudo.py @@ -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 -- 2.30.2