Skip to content

Commit cb3b3d1

Browse files
committed
Remove non-negative constraint from brev8
1 parent 65f8b47 commit cb3b3d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

model/riscv_insts_vext_utils.sail

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -458,7 +458,7 @@ function count_leadingzeros (sig, len) = {
458458
}
459459

460460
/* Reverse bits in each byte */
461-
val brev8 : forall 'm, 'm >= 0. (bits('m)) -> bits('m)
461+
val brev8 : forall 'm. (bits('m)) -> bits('m)
462462
function brev8(input) = {
463463
assert('m % 8 == 0, "input length must be a multiple of 8");
464464
var output : bits('m) = zeros();

0 commit comments

Comments
 (0)