Skip to content

Commit b8b8b33

Browse files
committed
Revert zvc_check_encdec() and use variables
1 parent e0a4c9f commit b8b8b33

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

model/riscv_types_zvk.sail

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
/* SPDX-License-Identifier: BSD-2-Clause */
77
/*=======================================================================================*/
88

9-
function zvk_check_encdec(EGW: {128, 256}, EGS: {4, 8}) -> bool = (unsigned(vl) % EGS == 0) & (unsigned(vstart) % EGS == 0) & (2 ^ get_lmul_pow() * VLEN) >= EGW
9+
function zvk_check_encdec(EGW: int, EGS: int) -> bool = (unsigned(vl) % EGS == 0) & (unsigned(vstart) % EGS == 0) & (2 ^ get_lmul_pow() * VLEN) >= EGW

0 commit comments

Comments
 (0)