From ac393ab0078a4a6f89e73573955837d34b1a12ee Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Mon, 22 Mar 2021 12:12:06 +0000 Subject: [PATCH] have get_predint return indicator that mask is all 1s --- src/soc/simple/issuer.py | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/src/soc/simple/issuer.py b/src/soc/simple/issuer.py index cc70996d..0efbc95b 100644 --- a/src/soc/simple/issuer.py +++ b/src/soc/simple/issuer.py @@ -77,18 +77,23 @@ def get_predint(m, mask, name): this is identical to the equivalent function in ISACaller except that it doesn't read the INT directly, it just decodes "what needs to be done" i.e. which INT reg, whether it is shifted and whether it is bit-inverted. + + * all1s is set to indicate that no mask is to be applied. + * regread indicates the GPR register number to be read + * invert is set to indicate that the register value is to be inverted + * unary indicates that the contents of the register is to be shifted 1<