mirror of
https://github.com/openhwgroup/cva6.git
synced 2025-04-22 21:27:10 -04:00
Resolved syntax error: missing begin end at case
This commit is contained in:
parent
d612242a01
commit
1f102ef109
1 changed files with 4 additions and 2 deletions
6
tb/env/alu_scoreboard.svh
vendored
6
tb/env/alu_scoreboard.svh
vendored
|
@ -49,12 +49,14 @@ class alu_scoreboard extends uvm_scoreboard;
|
|||
result32 = $unsigned(seq_item.operand_a[31:0]) >>> seq_item.operand_b[4:0];
|
||||
result = {{32{result32[31]}}, result32};
|
||||
end
|
||||
SLLW:
|
||||
SLLW: begin
|
||||
result32 = $unsigned(seq_item.operand_a[31:0]) <<< seq_item.operand_b[4:0];
|
||||
result = {{32{result32[31]}}, result32};
|
||||
SRAW:
|
||||
end
|
||||
SRAW: begin
|
||||
result32 = $signed(seq_item.operand_a[31:0]) >>> seq_item.operand_b[4:0];
|
||||
result = {{32{result32[31]}}, result32};
|
||||
end
|
||||
endcase
|
||||
|
||||
if (result != seq_item.result)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue