From: Luke Kenneth Casson Leighton Date: Wed, 3 Jun 2020 11:52:25 +0000 (+0100) Subject: worked out how to dynamically enable carry-in to ALU: test input_carry against CryIn... X-Git-Tag: div_pipeline~637^2~1 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4c593618a903beafe4038de09aa923a841246759;p=soc.git worked out how to dynamically enable carry-in to ALU: test input_carry against CryIn.CA.value --- diff --git a/src/soc/decoder/power_regspec_map.py b/src/soc/decoder/power_regspec_map.py index 29f8e4b9..1bc486da 100644 --- a/src/soc/decoder/power_regspec_map.py +++ b/src/soc/decoder/power_regspec_map.py @@ -6,6 +6,7 @@ see https://libre-soc.org/3d_gpu/architecture/regfile/ section on regspecs """ from nmigen import Const from soc.regfile.regfiles import XERRegs, FastRegs +from soc.decoder.power_enums import CryIn def regspec_decode(e, regfile, name): @@ -71,13 +72,10 @@ def regspec_decode(e, regfile, name): OV = 1<