Skip to content

Commit

Permalink
Zcb requires Zca
Browse files Browse the repository at this point in the history
  • Loading branch information
jordancarlin committed Oct 23, 2024
1 parent 1d152e8 commit c56805d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion model/riscv_insts_zcb.sail
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit c56805d

Please sign in to comment.