From: Luke Kenneth Casson Leighton Date: Mon, 7 Sep 2020 18:24:08 +0000 (+0100) Subject: add insn and fn_unit to CompLDSTOpSubset X-Git-Tag: semi_working_ecp5~136 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9710d13a7b881cff0ad6c4618d15023ec1522532;p=soc.git add insn and fn_unit to CompLDSTOpSubset --- diff --git a/src/soc/fu/ldst/ldst_input_record.py b/src/soc/fu/ldst/ldst_input_record.py index 5560ba6c..57787e46 100644 --- a/src/soc/fu/ldst/ldst_input_record.py +++ b/src/soc/fu/ldst/ldst_input_record.py @@ -15,6 +15,7 @@ class CompLDSTOpSubset(CompOpSubsetBase): """ def __init__(self, name=None): layout = (('insn_type', MicrOp), + ('fn_unit', Function), ('imm_data', Layout((("data", 64), ("ok", 1)))), ('zero_a', 1), ('rc', Layout((("rc", 1), ("ok", 1)))), # for later @@ -24,7 +25,9 @@ class CompLDSTOpSubset(CompOpSubsetBase): ('data_len', 4), ('byte_reverse', 1), ('sign_extend', 1), - ('ldst_mode', LDSTMode)) + ('ldst_mode', LDSTMode), + ('insn', 32), + ) super().__init__(layout, name=name)