Skip to content

Commit 2d2cb17

Browse files
committed
fpnew: use pickled version
1 parent a123e7b commit 2d2cb17

6 files changed

Lines changed: 26566 additions & 105 deletions

File tree

.github/workflows/verible.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@ jobs:
2121
- uses: chipsalliance/verible-formatter-action@main
2222
with:
2323
github_token: ${{ secrets.GITHUB_TOKEN }}
24-
files: '$(find core -regex ".*\.\(v\|sv\)$" | grep -v "^core/include/.*_config_pkg\.sv$")'
24+
files: '$(find core -regex ".*\.\(v\|sv\)$" | grep -v -e "^core/include/.*_config_pkg\.sv$" -e "^core/fpnew\.pickle\.sv$")'
2525
fail_on_formatting_suggestions: true
2626
reviewdog_reporter: github-check

Bender.lock

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -46,21 +46,6 @@ packages:
4646
source:
4747
Git: https://github.com/pulp-platform/common_verification
4848
dependencies: []
49-
fpnew:
50-
revision: 58ca3c376beb914b2b80b811d4b270c063d4e6f7
51-
version: null
52-
source:
53-
Git: https://github.com/openhwgroup/cvfpu.git
54-
dependencies:
55-
- common_cells
56-
- fpu_div_sqrt_mvp
57-
fpu_div_sqrt_mvp:
58-
revision: 86e1f558b3c95e91577c41b2fc452c86b04e85ac
59-
version: 1.0.4
60-
source:
61-
Git: https://github.com/pulp-platform/fpu_div_sqrt_mvp.git
62-
dependencies:
63-
- common_cells
6449
register_interface:
6550
revision: d6e1d4cdaab7870f4faf3f88a1c788eaf5ac129d
6651
version: 0.4.7

Bender.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ dependencies:
1010
axi: { git: "https://github.com/pulp-platform/axi.git", version: 0.39.9 }
1111
common_cells:
1212
{ git: "https://github.com/pulp-platform/common_cells", version: 1.39.0 }
13-
fpnew: { git: "https://github.com/openhwgroup/cvfpu.git", rev: 58ca3c3 } # branch: develop
1413
tech_cells_generic:
1514
{ git: "https://github.com/pulp-platform/tech_cells_generic.git", version: 0.2.13 }
1615
axi_riscv_atomics: { git: "https://github.com/pulp-platform/axi_riscv_atomics.git", version: 0.8.3 }
@@ -132,6 +131,9 @@ sources:
132131
- core/include/std_cache_pkg.sv
133132
- core/include/aes_pkg.sv
134133

134+
# FPU (pickled with `bender pickle --top fpnew_top --prefix openhw_ --expand-macros`)
135+
- core/fpnew.pickle.sv
136+
135137
# Extension Interface
136138
- core/cvxif_example/include/cvxif_instr_pkg.sv
137139
- core/cvxif_fu.sv

core/acc_dispatcher.sv

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ module acc_dispatcher
261261
],
262262
rs1 : acc_insn_queue_o.operand_a,
263263
rs2 : acc_insn_queue_o.operand_b,
264-
frm : fpnew_pkg::roundmode_e'(fcsr_frm_i),
264+
frm : openhw_fpnew_pkg::roundmode_e'(fcsr_frm_i),
265265
trans_id: acc_insn_queue_o.trans_id,
266266
default: '0
267267
};

0 commit comments

Comments
 (0)