Commit graph

87 commits

Author SHA1 Message Date
Nils Wistoff
860f47fed7
ci: Update phiwag/edatools gpg key (#2515) 2024-09-26 22:46:14 +02:00
MarioOpenHWGroup
721fa0c175
Fix Github CI by changing riscv-isa-sim hash (#2190) 2024-06-04 12:33:21 +02:00
MarioOpenHWGroup
8a9d7a832b
Fix RVFI always_ff blocks (#2053) 2024-04-18 10:06:34 +02:00
Nils Wistoff
e84b271cff
ci/hyp: Fix reference to riscv-hyp-tests (#2051) 2024-04-17 14:01:35 +02:00
MarioOpenHWGroup
62bdf11594
Bump core-v-verif d94f0de and fix questa simulator (#1915) 2024-03-21 19:02:41 +01:00
Bruno Sá
86e1408666
Hypervisor extension (#1938)
Support 64bit H extension
2024-03-21 10:28:01 +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
valentinThomazic
61fb0cdd5c
set default NUM_JOBS value to be the same accross all scripts (#1688) 2023-12-08 16:57:46 +01:00
valentinThomazic
aaac613c51
remove proxy kernel support (#1663) 2023-11-29 17:18:21 +01:00
MarioOpenHWGroup
220f534b6d
Spike Tandem Implementation using VCS simulator (#1561) 2023-11-09 19:29:24 +01:00
Saad Waheed
584198427b
[CI] Update Verilator version to v5.008 (#1566)
Signed-off-by: Saad Waheed <saad.waheed@10xengineers.ai>
2023-10-23 22:38:17 +02:00
JeanRochCoulon
56f8c9f5fe
Add user field between memory and caches (#857)
* wt_dcche_wbuffer.sv: fix assert

Signed-off-by: Jean-Roch Coulon <jean-roch.coulon@thalesgroup.com>

* Many files: Add user between memories and cva6

Signed-off-by: Jean-Roch Coulon <jean-roch.coulon@thalesgroup.com>

* Update std_nbdcache.sv

Make wb cache work

* Update setup.sh

Co-authored-by: Guillaume Chauvon <guillaume.chauvon@thalesgroup.com>
2022-04-20 12:47:07 +02:00
Andreas Kuster
206916d706
Add detailed simulation flow installation info & helper scripts (#740)
* Add information for verilator flow setup to README.md

* Prevent re-download if RISCV64_UNKNOWN_ELF_GCC already exists.
Use variable for archive version.

* Add RISC-V proxy kernel and bootloader install script

* Integrate tool installation into getting-started section

* Remove $ sign in command snippets to allow command copy & paste

* Add information for verilator flow setup to README.md

* Prevent re-download if RISCV64_UNKNOWN_ELF_GCC already exists.
Use variable for archive version.

* Add RISC-V proxy kernel and bootloader install script

* Integrate tool installation into getting-started section

* Remove $ sign in command snippets to allow command copy & paste

* Replace manual install command for riscv-pk by script

* Fix README.md merge conflict mismatches

* Fix script name

Co-authored-by: Nils Wistoff <nwistoff@iis.ee.ethz.ch>

Co-authored-by: Nils Wistoff <nwistoff@iis.ee.ethz.ch>
2021-10-01 11:40:24 +02:00
Moritz Schneider
5a19ef678f
csr: Fix pmpaddr and perf counter privileges (#698)
* pmp: Fix csr

- Add proper granularity (G=1)
- Disallow NA4
- Fix read of pmpaddr
- Add PMP benchmark to CI

Signed-off-by: Moritz Schneider <moritz.schneider@inf.ethz.ch>

* Fix mcounteren/scounteren CSR logic

The privilege check should verify that the __current__ privilege level has
access to the counter CSRs. Before it checked if the privilege level of
the CSR instruction has access to the counters. Essentially, the m-mode
could not access any counter csr if mcounteren/scounteren was not set.

* Fix pmpcfg csr incase of NA4

The next pmpcfg register value needs to be set to the previous value if
NA4 is selected.
2021-07-29 12:59:35 +02: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
Florian Zaruba
bb68496ce3
ci: Fix caching (#609)
Signed-off-by: Florian Zaruba <florian@openhwgroup.org>
2021-02-08 15:28:43 +01:00
Florian Zaruba
8de6e35288 ci: Consolidate tests
The tests have been spread to many smaller tests previously to avoid CI timeouts.
With memory preloading the overhead of setting up the tests is dominating so we
merge the tests again.

Also remove `rv64ui-v-fence_i` from test list as it is currently failing.

Signed-off-by: Florian Zaruba <florian@openhwgroup.org>
2020-08-25 12:43:36 +02:00
Florian Zaruba
3a13ae0333 verilator: Add memory preloading
Pre-load the Verilator memories through a side-band signal. We have sub-classed
the dtm_t module to prevent the debugger from pre-loading. This commit also
updates the stale bootrom.

Signed-off-by: Florian Zaruba <florian@openhwgroup.org>
2020-08-25 12:43:36 +02:00
Florian Zaruba
c04a73ec9d fesvr: Remove legacy repo and update Spike
The riscv-fesvr repo has been merged with Spike. This commit removes
the legacy install and updates riscv-isa-sim to the latest version.

Signed-off-by: Florian Zaruba <florian@openhwgroup.org>
2020-08-25 12:43:36 +02:00
Florian Zaruba
a89032f96b ci: Fix long GCC builds
The CI timed out many times due to overly long GCC builds (and checkouts).
This commit rectifies this issue and downloads pre-built toolchains and
Verilator builds.

Signed-off-by: Florian Zaruba <florian@openhwgroup.org>
2020-08-25 12:43:36 +02:00
Michael Schaffner
94c17c8f1c Update changelog and fix potential bug in install-verilator script 2019-06-04 10:36:17 +02:00
Michael Schaffner
07aeb56387 Update to Verilator 4.014 2019-06-04 10:36:17 +02:00
Michael Schaffner
1c4940f4cd Scoreboard refactoring for better timing 2019-06-04 10:36:17 +02:00
Michael Schaffner
d30369da8a fpu: Add distributed pipe regs to ease FPGA timing 2019-06-04 10:36:17 +02:00
Florian Zaruba
ad223cfd9f Clean-up naming to distinguish OP from GP Ariane (#193)
* Clean-up naming to distinguish  OP from GP Ariane

* Rename wb to wt in hidden CI files

* Fix verilator install script
2019-03-18 11:51:58 +01:00
Florian Zaruba
b1bdc0c02c Add System Verilog FPU (#163)
* Change reset strategy in ariane_verilog_wrap.sv, remove unneeded sigs in serpent_peripherals.

* saving...

* ⬆️ Updates for new FPU

* Add sv fpu to FPGA flow

* Use multi-threading capabilities of verilator

- Deactivate non-standard floating point arguments
- Make multi-threading conditional on the availability of verilator 4

* Remove DPI threadsafety

* Reduce FPGA clock frequency

- Remove couple of -v- tests to reduce test-time

* Fix documentation and fpga flow

- Fix cycle time to accommodate FPU
- Fix FPGA constraints

* Change UART frequency
2019-03-18 11:51:58 +01:00
Michael Schaffner
5147435ba1
Fix travis cache path 2019-01-08 15:05:35 +01:00
Michael Schaffner
6286c867e8
Split GCC compilation and checkout into two travis targets. 2019-01-08 13:09:44 +01:00
Florian Zaruba
89a0f6b5f6
Factor out multiplication tests 2018-11-28 22:19:04 +01:00
Michael Schaffner
179054a0ec
Merge remote-tracking branch 'upstream/ariane_next' into serpent 2018-11-21 20:15:32 +01:00
Michael Schaffner
92634285f6
Adapt install verilator script. 2018-11-18 11:42:39 +01:00
Michael Schaffner
0b19176510
Add missing Ubuntu package to ci-emul scripts. 2018-11-18 11:33:47 +01:00
Florian Zaruba
3c40965e8a
Merge remote-tracking branch 'origin/ariane_next' into fpga_dev 2018-11-17 22:38:54 +01:00
Florian Zaruba
1d173b3742
🐛 Fix non-conditional SC 2018-11-16 16:12:44 +01:00
Michael Schaffner
6315fb605c
Minor modifications to ci scripts. 2018-11-02 18:02:07 +01:00
Michael Schaffner
0bd9c4fb2b
Merge branch 'ariane_next' into serpent 2018-10-17 18:52:21 +02:00
msfschaffner
8468544156
Misc majurity fixes (#125)
* Fix latch and timing loop in debu_req

* Fix unconnected IPI signals in CLINT, and unconnected regs in CSR_REGFILE

* Fix several issues with AXI IDs in axi_adapter, add AXI ID width parameter, and assertions testing for invalid read/write data

* Eliminate sim, simc make targets for Questa. Tests can be directly invoked via typing name and optionally specifying the gui-mode.

* Initialize instruction traced shadow regfile to zero at start of simulation

Fix progbuf offsets and tie unsupported counters to zero to avoid propagation of X

Fix printouts of assertions

Modify bootrom to prevent assignment of X to output

* Make separate CI target for AMO tests

* Bump fpga-support version

* Add AMO tests list

* Fix FPU submodule version

* Change core_id + cluster_id into hart_id

* Rename gitlab CI tests

* Replace all SYNTHESIS macros with pragma translate_off

* Update readme, bump common cells, benderize

* Fix torture make target

* Remove unneeded signal
2018-10-17 11:57:18 +02:00
Florian Zaruba
ece36c0f6f
⬆️ Bump submodules 2018-10-17 11:14:24 +02:00
Michael Schaffner
15cb764ea9
Adapt torture targets, disable AMO instructions for the time being to be compatible with serpent pulp 2018-10-16 13:11:01 +02:00
Michael Schaffner
5d37678061
Update changelog 2018-10-15 22:31:20 +02:00
Michael Schaffner
3c3a378e48
Update readme, bump common cells, benderize 2018-10-15 22:08:27 +02:00
Michael Schaffner
fd38e875f0
Add AMO tests list 2018-10-15 19:10:43 +02:00
Michael Schaffner
71f61878e3
Make separate CI target for AMO tests 2018-10-15 18:36:48 +02:00
Michael Schaffner
15b0ca956a
Eliminate sim, simc make targets for Questa. Tests can be directly invoked via typing name and optionally specifying the gui-mode. 2018-10-15 18:36:46 +02:00
Florian Zaruba
d2327550cf
Add newline to test list 2018-10-14 17:30:33 +02:00
Michael Schaffner
5f188375c7
Add newline to test list 2018-09-25 13:07:18 +02:00
Michael Schaffner
8da786df92
Merge remote-tracking branch 'upstream/ariane_next' into serpent 2018-09-25 12:16:18 +02:00
Florian Zaruba
b5f9cf57a1
Merge remote-tracking branch 'origin/fix-57' into a-extension 2018-09-23 15:50:44 +02:00
Florian Zaruba
69781f0e30
🐛 Fix lr/sc semantic 2018-09-22 17:13:53 +02:00