Commit graph

31 commits

Author SHA1 Message Date
Cesar Fuguet
db568f3e1d
Fully support the Write-Back mode of the HPDcache in the CVA6 (#2691)
Some checks are pending
bender-up-to-date / bender-up-to-date (push) Waiting to run
ci / build-riscv-tests (push) Waiting to run
ci / execute-riscv64-tests (push) Blocked by required conditions
ci / execute-riscv32-tests (push) Blocked by required conditions
This PR modifies some components in the CVA6 to fully support the WB mode of the HPDcache.

When on WB mode, there may be coherency issues between the Instruction Cache and the Data Cache. This may happen when the software writes on instruction segments (e.g. to relocate a code in memory).

This PR contains the following modifications:

The CVA6 controller module rises the flush signal to the caches when executing a fence or fence.i instruction.
The HPDcache cache subsystem translates this fence signal to a FLUSH request to the cache (when the HPDcache is in WB mode).
Add new parameters in the CVA6 configuration packages:
DcacheFlushOnInvalidate: It changes the behavior of the CVA6 controller. When this parameter is set, the controller rises the Flush signal on fence instructions.
DcacheInvalidateOnFlush: It changes the behavior of the HPDcache request adapter. When issuing a flush, it also asks the HPDcache to invalidate the cachelines.
Add additional values to the DcacheType enum: HPDCACHE_WT, HPDCACHE_WB, HPDCACHE_WT_WB
In addition, it also fixes some issues with the rvfi_mem_paddr signal from the store_buffer.
2025-01-10 17:57:32 +01:00
MarioOpenHWGroup
e9382ba3ac
Bump verif/core-v-verif csr-injection (#2491)
* Bump cvv/csr-injection

* Bump core-v-verif

* [ci] try to fix the CI

* [ci] fix lint

* [ci] Fix stages

* [ci] Deprecated set-output
2024-09-04 17:39:34 +02:00
MarioOpenHWGroup
3f62e343fb
CI: Hash all the core-v-verif folder (#2296) 2024-06-26 20:51:58 +02:00
MarioOpenHWGroup
721fa0c175
Fix Github CI by changing riscv-isa-sim hash (#2190) 2024-06-04 12:33:21 +02:00
MarioOpenHWGroup
d714d833cb
Bump verif/core-v-verif from f7bda8e to NOTMERGED (#2044) 2024-05-30 15:57:58 +02:00
Cesar Fuguet
f32f51777f
Add in Github's CI a 64-bit configuration of the CVA6 using the HPDcache and restore WB cache test (#2114) 2024-05-21 09:51:10 +02:00
Côme
f886713754
User config generator becomes a Python tool to work with configs (#2003) 2024-04-04 15:56:29 +02:00
MarioOpenHWGroup
62bdf11594
Bump core-v-verif d94f0de and fix questa simulator (#1915) 2024-03-21 19:02:41 +01:00
MarioOpenHWGroup
a3dd9a708d
Use cva6.py in github ci (#1874) 2024-03-01 10:52:34 +01:00
valentinThomazic
706daa0a3b
removed the usage of install-cva6.sh and add setup-env.sh (#1741) 2024-01-03 13:42:23 +01:00
Cesar Fuguet
2cfa4e5a10
Update version of the HPDcache submodule (#1673) 2023-12-06 09:25:31 +01:00
Côme
c508a3dff5
ci: add Verible to GitHub Actions (#1669) 2023-12-04 11:16:58 +00:00
Côme
2d5cb206e5
dependabot: update hpdcache (#1634) 2023-11-16 06:58:17 +01:00
Côme
0b4f47c64d
dependabot: update verif/sim/dv (#1620) 2023-11-13 10:22:01 +01:00
MarioOpenHWGroup
220f534b6d
Spike Tandem Implementation using VCS simulator (#1561) 2023-11-09 19:29:24 +01:00
Florian Zaruba
9b55204283
[ci] Run stale job on schedule (#1555) 2023-10-19 20:20:44 +02:00
Florian Zaruba
04766ee5d7
[bot] Add stale-bot (#1552) 2023-10-19 16:32:04 +02:00
Nils Wistoff
589c3f1e6a
ci: Add regression tests for WB cache (#1523)
Signed-off-by: Nils Wistoff <nwistoff@iis.ee.ethz.ch>
2023-10-10 06:41:03 +02:00
Côme
b29e07feca
dependabot: run at 19:30 CET (#1449) 2023-09-19 17:39:09 +02:00
Fatima Saleem
a548c9dac8 Updating the Github task 2023-09-12 22:07:47 +05:00
Côme Allart
06ca8b82ed add dependabot to update verif/core-v-verif 2023-09-07 15:53:42 +02:00
Nils Wistoff
aa547723d2
ci: Remove unused defines parameter (#1208)
The `defines` parameter is no longer supported by the CVA6 Makefile.
remove it.

Signed-off-by: Nils Wistoff <nwistoff@iis.ee.ethz.ch>
2023-04-26 23:29:38 +02:00
Nils Wistoff
fafb6aa6d8
ci: Remove unused target matrix (#1209)
The value of the `target` matrix is currently not used by the CI.
However, it launches a job for each entry (without using it),
unnecessarily consuming CI runtime.

Signed-off-by: Nils Wistoff <nwistoff@iis.ee.ethz.ch>
2023-04-26 23:29:21 +02:00
Nils Wistoff
11b3d535a8
ci: Add bender-up-to-date action (#1198)
To check if `Bender.yml` is up-to-date

Signed-off-by: Nils Wistoff <nwistoff@iis.ee.ethz.ch>
2023-04-19 22:41:46 +02:00
cathales
e894e86a7b
Github action ci: Make GitHub accept notification from Dashboard (#1187) 2023-04-19 11:44:57 +02:00
JeanRochCoulon
31948853c6
Replace WT_DCACHE define by CVA6ConfigCacheType localparam (#1127) 2023-03-21 14:18:18 +01:00
Nils Wistoff
08ded80239
ci: Combine tests in matrix (#1120) 2023-03-17 13:57:54 +01:00
Kevin Eyssartier
56ccf8089e
Associated PRs in task.yaml (#929)
* Removing CVA6-SDK from task.yaml

* Associated PRs in task.yaml

This commit provide a new textarea to fill links to PRs used to complete the task.

* Create bug.yaml

* Update bug.yaml - Case consistency

Co-authored-by: JeanRochCoulon <jean-roch.coulon@thalesgroup.com>
2022-07-08 14:13:28 +02:00
Kevin Eyssartier
0cfa94b8c6
Adding a Bug issue template (#930)
* Create bug.yaml

* Update bug.yaml - Case consistency

* Spelling mistakes
2022-07-05 07:18:55 +02:00
DBees
c8e665c414
Create task.yaml
Using same task issue yaml file as cva6-sdk
2022-04-28 15:14:23 -07:00
Florian Zaruba
33b7b672ee
ci: Switch to Github workflows (#689)
* ci: Switch to Github Workflows

Signed-off-by: Florian Zaruba <florian@openhwgroup.org>

* README: Change build status

* Revert to Verilator 4.040

* verilator: Bump and mark DPI as thread-unsafe

* ci: Verilator v4.100

* verilator: Disable threading
2021-06-24 22:00:02 +02:00