diff --git a/model/riscv_insts_zcb.sail b/model/riscv_insts_zcb.sail index 821ce0bd6..3bef3464c 100644 --- a/model/riscv_insts_zcb.sail +++ b/model/riscv_insts_zcb.sail @@ -7,7 +7,7 @@ /*=======================================================================================*/ enum clause extension = Ext_Zcb -function clause extensionEnabled(Ext_Zcb) = sys_enable_zcb() +function clause extensionEnabled(Ext_Zcb) = sys_enable_zcb() & extensionEnabled(Ext_Zca) union clause ast = C_LBU : (bits(2), cregidx, cregidx)