Skip to content

Commit

Permalink
fix: update extensionEnabled function for Ext_Zcmp
Browse files Browse the repository at this point in the history
  • Loading branch information
nadime15 committed Feb 12, 2025
1 parent 35757b9 commit 4c9e992
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion model/riscv_insts_zcmp.sail
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
/*=======================================================================================*/


function clause extensionEnabled(Ext_Zcmp) = extensionEnabled(Ext_Zca) & not(extensionEnabled(Ext_Zcd)) & (xlen == 32 | xlen == 64)
function clause extensionEnabled(Ext_Zcmp) = extensionEnabled(Ext_Zca) & sys_enable_zcmp() & not(sys_enable_zcd()) & (xlen == 32 | xlen == 64)

function str_dec(str: string) -> int = {
let base : int = 10;
Expand Down

0 comments on commit 4c9e992

Please sign in to comment.