From 629aa650d777ccdfcd95c059c5ffb5c858934606 Mon Sep 17 00:00:00 2001 From: Matteo Perotti Date: Tue, 2 Jul 2024 15:07:20 +0200 Subject: [PATCH] [hardware] Assign default value to vfu function --- hardware/src/ara_sequencer.sv | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hardware/src/ara_sequencer.sv b/hardware/src/ara_sequencer.sv index 67c336e61..88cf4c2d3 100644 --- a/hardware/src/ara_sequencer.sv +++ b/hardware/src/ara_sequencer.sv @@ -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;