From fc471a19816d3f2f5270105ac0d5013c4ba5fe8c Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Sun, 5 Jul 2020 15:36:18 +0100 Subject: [PATCH] comments in power_regspec_map.py --- src/soc/decoder/power_regspec_map.py | 36 ++++++++++++++++++++++------ 1 file changed, 29 insertions(+), 7 deletions(-) diff --git a/src/soc/decoder/power_regspec_map.py b/src/soc/decoder/power_regspec_map.py index 51a101de..2d4f3fd9 100644 --- a/src/soc/decoder/power_regspec_map.py +++ b/src/soc/decoder/power_regspec_map.py @@ -20,16 +20,18 @@ 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<