X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fsoc%2Fdecoder%2Fpower_regspec_map.py;h=0f5bce328248a18bd6f15b011f7f02d1e4d11ba2;hb=HEAD;hp=6f461c963408bee852bd6abd3ddf23a5cf634360;hpb=6ca75178955b187651070276fe3588250a7cf7d7;p=soc.git diff --git a/src/soc/decoder/power_regspec_map.py b/src/soc/decoder/power_regspec_map.py index 6f461c96..0f5bce32 100644 --- a/src/soc/decoder/power_regspec_map.py +++ b/src/soc/decoder/power_regspec_map.py @@ -20,41 +20,46 @@ some point that 8-bit mask from the instruction could actually be passed directly through to full_cr (TODO). For the INT and CR numbering, these are expressed in binary in the -instruction (note however that XFX in MTCR is unary-masked!) +instruction and need to be converted to unary (1<