From: Luke Kenneth Casson Leighton Date: Mon, 22 Mar 2021 12:12:06 +0000 (+0000) Subject: have get_predint return indicator that mask is all 1s X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ac393ab0078a4a6f89e73573955837d34b1a12ee;p=soc.git have get_predint return indicator that mask is all 1s --- 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<