Commit graph

8 commits

Author SHA1 Message Date
Davide Schiavone
468b3595cd
add X-IF 1.0 (#284)
* Core-V eXtension Interface (CV-X-IF) integration (#277)

* minor fixes (#283)

* minor fix again

* Changes to make the X_if addition compatible with the golden version of the core, minus the rf_we line (#289)

* Fix remaining sec inconsistency regarding the X-IF addition (#291)

* Changes to make the X_if addition compatible with the golden version of the core, minus the rf_we line

* [rt][sec][xif] Made the length of the cve2_id_stage's rf_wdata_sel dependent on the whether the X-IF is present

* [rtl][sec][xif] Made the length of the cve2_id_stage's rf_wdata_sel dependent on the whether the X-IF is present

* Clean Verilator warning about X-IF addition while keeping the RTL SEC-safe (#292)

* Changes to make the X_if addition compatible with the golden version of the core, minus the rf_we line

* [rt][sec][xif] Made the length of the cve2_id_stage's rf_wdata_sel dependent on the whether the X-IF is present

* [rtl][sec][xif] Made the length of the cve2_id_stage's rf_wdata_sel dependent on the whether the X-IF is present

* [rtl][xif][verilator] Clean warnings about enum-logic[] width mismatch on Verilator, while keeping the design logically equivalent. This is due to the cve2_decoder's rf_wdata_sel_o signal, which has its width dependent of the X-IF.

* fix xif

---------

Co-authored-by: FrancescoDeMalde-synthara <167969440+FrancescoDeMalde-synthara@users.noreply.github.com>
Co-authored-by: Cairo Caplan <cairo.caplan@eclipse-foundation.org>
2025-04-10 14:06:34 +02:00
MarioOpenHWGroup
1786fbfab7
add RVFI CSRs tracing (#184) 2024-02-26 13:05:23 +01:00
davide schiavone
9b3fb44a17 fix vendorid and marchid 2023-09-20 17:04:03 +02:00
Davide Schiavone
9a79be864f
move nmi to irq 32 (#139)
* move nmi to irq 32

* fix exc cause

* update top tracing

* fix mcause read
2023-08-30 14:24:16 +02:00
christian-herber-nxp
685f1f6ee7
Feature/privil mode spec update (#96)
* [rtl] Clear mprv on mret to non M-mode

This is specification change between the v1.11 and v1.12 privileged
architectures. Previously mprv wasn't altered on mret. Now if returning
to a privilege level other than M mode mprv must be cleared.

* [rtl, dv] Add new CSRs for latest priviledged spec

This adds the following CSRs to support the v1.12 priviledged spec.

 - MSTATUSH
 - MCONFIGPTR
 - MENVCFG
 - MENVCFGH

MCONFIGPTR is read only and has its value provided by a ibex_pkg
parameter CSR_MCONFIGPTR_VALUE which is set to 0. Implementors can alter
this value if needed.

All the other CSRs ignore writes and read as 0.

---------

Co-authored-by: Greg Chadwick <gac@lowrisc.org>
2023-03-03 17:18:30 +01:00
christian-herber-nxp
823f596047
Relocate RegFile from TOP level to CORE level (#95)
Remove dead and related code

Signed-off-by: Szymon Bieganski <szymon.bieganski@oss.nxp.com>
Co-authored-by: Szymon Bieganski <szymon.bieganski@oss.nxp.com>
2023-03-03 17:09:12 +01:00
christian-herber-nxp
d6f0e2ccff
Feature/remove security (#52)
* Remove ResetAll parameter

Signed-off-by: Szymon Bieganski <szymon.bieganski@oss.nxp.com>

* remove ICache and related paramters

Signed-off-by: Szymon Bieganski <szymon.bieganski@oss.nxp.com>

* Remove reference to the deleted parameterd from the documentation

Signed-off-by: Szymon Bieganski <szymon.bieganski@oss.nxp.com>

* Remove references to the removed parameters from the example configurations

Signed-off-by: Szymon Bieganski <szymon.bieganski@oss.nxp.com>

* remove security features, and related code

Signed-off-by: Szymon Bieganski <szymon.bieganski@oss.nxp.com>

* Remove complete security section from Reference documentation sub-page

Signed-off-by: Szymon Bieganski <szymon.bieganski@oss.nxp.com>

* Remove references to deleted security features

Signed-off-by: Szymon Bieganski <szymon.bieganski@oss.nxp.com>

* Remove reference to the removed dummy_instr.sv

Signed-off-by: Szymon Bieganski <szymon.bieganski@oss.nxp.com>

* Remove Lockstep

Signed-off-by: Szymon Bieganski <szymon.bieganski@oss.nxp.com>

* Remove DummyInstruction related code

Signed-off-by: Szymon Bieganski <szymon.bieganski@oss.nxp.com>

* Remove references to SecureIbex in documentation

Signed-off-by: Szymon Bieganski <szymon.bieganski@oss.nxp.com>

* Remove related and dead code to security features

Signed-off-by: Szymon Bieganski <szymon.bieganski@oss.nxp.com>

* Remove Security option from example configurations

Signed-off-by: Szymon Bieganski <szymon.bieganski@oss.nxp.com>

* Remove security related signals and CSR register

Signed-off-by: Szymon Bieganski <szymon.bieganski@oss.nxp.com>

---------

Signed-off-by: Szymon Bieganski <szymon.bieganski@oss.nxp.com>
Co-authored-by: Szymon Bieganski <szymon.bieganski@oss.nxp.com>
2023-02-28 14:03:42 +01:00
christian-herber-nxp
932db14619
Rename all modules to cve2 (#25)
* rename files and modules to cve2

Signed-off-by: Szymon Bieganski <szymon.bieganski@oss.nxp.com>

* updated tb files

Signed-off-by: Szymon Bieganski <szymon.bieganski@oss.nxp.com>

* remaining references to ibex: gitignore, examples, etc.

Signed-off-by: Szymon Bieganski <szymon.bieganski@oss.nxp.com>

Signed-off-by: Szymon Bieganski <szymon.bieganski@oss.nxp.com>
Co-authored-by: Szymon Bieganski <szymon.bieganski@oss.nxp.com>
2023-01-05 10:27:24 +01:00
Renamed from rtl/ibex_pkg.sv (Browse further)