-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cva6: Bump FPU to align with Snitch cluster version (#17)
* cva6: Update FPU wrapper and dependency * ci: Checkout workspace directory before docs build --------- Co-authored-by: Luca Bertaccini <lbertaccini@iis.ee.ethz.ch>
- Loading branch information
1 parent
dbe67bb
commit 8562d09
Showing
7 changed files
with
43 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
32 changes: 32 additions & 0 deletions
32
hw/vendor/patches/openhwgroup_cva6/0009-Update-FPU-wrap-in-CVA6.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
From 2c8a75b2fc38f89377d4731d81e074311ed89014 Mon Sep 17 00:00:00 2001 | ||
From: Luca Bertaccini <lbertaccini@iis.ee.ethz.ch> | ||
Date: Mon, 15 Jan 2024 14:29:47 +0100 | ||
Subject: [PATCH] Update FPU wrap in CVA6 | ||
|
||
--- | ||
hw/vendor/openhwgroup_cva6/core/fpu_wrap.sv | 2 ++ | ||
1 file changed, 2 insertions(+) | ||
|
||
diff --git a/hw/vendor/openhwgroup_cva6/core/fpu_wrap.sv b/hw/vendor/openhwgroup_cva6/core/fpu_wrap.sv | ||
index 1dbe526..1d5cda3 100644 | ||
--- a/hw/vendor/openhwgroup_cva6/core/fpu_wrap.sv | ||
+++ b/hw/vendor/openhwgroup_cva6/core/fpu_wrap.sv | ||
@@ -518,6 +518,7 @@ module fpu_wrap import ariane_pkg::*; ( | ||
) i_fpnew_bulk ( | ||
.clk_i, | ||
.rst_ni, | ||
+ .hart_id_i ( '0 ), | ||
.operands_i ( fpu_operands ), | ||
.rnd_mode_i ( fpnew_pkg::roundmode_e'(fpu_rm) ), | ||
.op_i ( fpnew_pkg::operation_e'(fpu_op) ), | ||
@@ -527,6 +528,7 @@ module fpu_wrap import ariane_pkg::*; ( | ||
.int_fmt_i ( fpnew_pkg::int_format_e'(fpu_ifmt) ), | ||
.vectorial_op_i ( fpu_vec_op ), | ||
.tag_i ( fpu_tag ), | ||
+ .simd_mask_i ( '1 ), | ||
.in_valid_i ( fpu_in_valid ), | ||
.in_ready_o ( fpu_in_ready ), | ||
.flush_i, | ||
-- | ||
2.16.5 | ||
|