From 9710d13a7b881cff0ad6c4618d15023ec1522532 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Mon, 7 Sep 2020 19:24:08 +0100 Subject: [PATCH] add insn and fn_unit to CompLDSTOpSubset --- src/soc/fu/ldst/ldst_input_record.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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) -- 2.30.2