Merge pull request #572 from betrusted-io/fix-renode-aes

renode: vexriscv: fix CPU on newer Renode versions
This commit is contained in:
bunnie 2024-08-20 10:00:31 +08:00 committed by GitHub
commit 19de3e0402
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 7 additions and 2 deletions

View file

@ -74,6 +74,8 @@ Xous uses [Renode](https://renode.io/) as the preferred emulator, because
it is easy to extend the hardware peripherals without recompiling the it is easy to extend the hardware peripherals without recompiling the
entire emulator. entire emulator.
Due to a breaking change in Renode, this codebase is only compatible with Renode equal to or later than `1.15.2.7965 (e6e79aad-202408180425)`
[Download Renode](https://renode.io/#downloads) and ensure it is in your path. [Download Renode](https://renode.io/#downloads) and ensure it is in your path.
For now, you need to [download the nightly build](https://dl.antmicro.com/projects/renode/builds/), For now, you need to [download the nightly build](https://dl.antmicro.com/projects/renode/builds/),
until `DecodedOperation` is included in the release. until `DecodedOperation` is included in the release.

View file

@ -483,7 +483,10 @@ perform the Xous firmware upgrade. This requires running manual update commands,
- USB core able to enumerate, communicate to Linux devices. Windows compat still WIP. - USB core able to enumerate, communicate to Linux devices. Windows compat still WIP.
- Mailbox protocol to other devices has been tested, working. - Mailbox protocol to other devices has been tested, working.
- TRNG has been tuned, partially validated. - TRNG has been tuned, partially validated.
- BIO-BDMA test cases added
- Various fixes to track changes in Rust 1.80
- Add documentation to the `modals` library (thanks @rowr111)
- Due to a breaking change in Renode, this release is only compatible with Renode equal to or later than 1.15.2.7965(e6e79aad-202408180425) (see issue #570 / PR #572)
## Roadmap ## Roadmap
- Lots of testing and bug fixes - Lots of testing and bug fixes

View file

@ -15,7 +15,7 @@ namespace Antmicro.Renode.Peripherals.CPU.Betrusted
public AesVexRiscv(Core.Machine machine, public AesVexRiscv(Core.Machine machine,
uint hartId = 0, uint hartId = 0,
IRiscVTimeProvider timeProvider = null, IRiscVTimeProvider timeProvider = null,
PrivilegeArchitecture privilegeArchitecture = PrivilegeArchitecture.Priv1_10, PrivilegedArchitecture privilegeArchitecture = PrivilegedArchitecture.Priv1_10,
string cpuType = "rv32im", string cpuType = "rv32im",
bool builtInIrqController = true) : base(machine, hartId, timeProvider, privilegeArchitecture, cpuType, builtInIrqController) bool builtInIrqController = true) : base(machine, hartId, timeProvider, privilegeArchitecture, cpuType, builtInIrqController)
{ {