Skip to content

Commit 9e451f2

Browse files
committed
Style fix to match Bluespec
1 parent 9a43d79 commit 9e451f2

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src_Core/CPU/EX_ALU_functions.bsv

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1549,10 +1549,11 @@ function ALU_Outputs fv_CHERI (ALU_Inputs inputs, WordXL ddc_base);
15491549
alu_outputs.check_address_high = zeroExtend(getAddr(cs2_val));
15501550
alu_outputs.check_inclusive = False;
15511551

1552-
if (!isValidCap(cs2_val) || getAddr(cs2_val) == otype_unsealed_ext
1553-
|| getAddr(cs2_val) == otype_sentry_ext
1554-
|| getAddr(cs2_val) == otype_res0_ext
1555-
|| getAddr(cs2_val) == otype_res1_ext) begin
1552+
if ( (! isValidCap(cs2_val))
1553+
|| (getAddr(cs2_val) == otype_unsealed_ext)
1554+
|| (getAddr(cs2_val) == otype_sentry_ext)
1555+
|| (getAddr(cs2_val) == otype_res0_ext)
1556+
|| (getAddr(cs2_val) == otype_res1_ext)) begin
15561557
alu_outputs.cap_val1 = cs1_val;
15571558
alu_outputs.val1_cap_not_int = True;
15581559
end else begin

0 commit comments

Comments
 (0)