Skip to content

Commit

Permalink
[hardware] Assign default value to vfu function
Browse files Browse the repository at this point in the history
  • Loading branch information
mp-17 committed Jul 3, 2024
1 parent 0756f61 commit 0f7e64f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hardware/src/ara_sequencer.sv
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ module ara_sequencer import ara_pkg::*; import rvv_pkg::*; import cf_math_pkg::i
logic pe_req_valid_d;

// This function determines the VFU responsible for handling this operation.
function automatic vfu_e vfu(ara_op_e op);
function automatic vfu_e vfu(ara_op_e op = VADD);
unique case (op) inside
[VADD:VWREDSUM] : vfu = VFU_Alu;
[VMUL:VFWREDOSUM] : vfu = VFU_MFpu;
Expand Down

0 comments on commit 0f7e64f

Please sign in to comment.