Commit graph

12 commits

Author SHA1 Message Date
valentinThomazic
706daa0a3b
removed the usage of install-cva6.sh and add setup-env.sh (#1741) 2024-01-03 13:42:23 +01: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
3c40965e8a
Merge remote-tracking branch 'origin/ariane_next' into fpga_dev 2018-11-17 22:38:54 +01:00
Michael Schaffner
670495ba76 Bump GCC version to 7.2 in CI flows 2018-09-13 17:54:07 +02:00
Michael Schaffner
8e89f62181 restructure travis and gitlab-ci flow scripts and make targets
* fix typo in signal naming and make axi_adapter questa-sim compliant
2018-08-22 17:21:42 +02:00
Florian Zaruba
7b93edf63c
Delete elf2hex conversion - no longer needed 2018-07-25 11:42:48 -07:00
Florian Zaruba
bd6c23294a
⬆️ Update riscv-tests dependencies 2018-07-25 11:38:49 -07:00
Florian Zaruba
d44d3040fd
Skipp elf generation and export env flags for fesvr 2018-02-06 13:36:47 +01:00
Florian Zaruba
a94a96fa75
Change shebang of CI scripts 2018-02-06 13:08:54 +01:00
Florian Zaruba
35a98a6492
Pipe compilation output to /dev/zero 2018-02-05 19:23:58 +01:00
Florian Zaruba
c2a275e6f1
Reduce number of cores for CI build 2018-02-05 17:34:46 +01:00
Florian Zaruba
ba415f21cf
Remove submodules, fix CI build 2018-01-23 15:50:48 +01:00