From: Luke Kenneth Casson Leighton Date: Sun, 5 Apr 2020 11:04:25 +0000 (+0100) Subject: quick test found missing bracket X-Git-Tag: div_pipeline~1500 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=19343eb3cf490d765451bde73fd322240ffa27ea;p=soc.git quick test found missing bracket --- 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