mirror of
https://github.com/lowRISC/ibex.git
synced 2025-06-28 09:17:17 -04:00
[simple_system] Fix GetIsaString
Spike expects extension letters to be in a particular order
This commit is contained in:
parent
4fa6329c58
commit
93b71e2190
1 changed files with 3 additions and 1 deletions
|
@ -39,10 +39,12 @@ std::string SimpleSystem::GetIsaString() const {
|
|||
|
||||
std::string base = top.ibex_simple_system->RV32E ? "rv32e" : "rv32i";
|
||||
|
||||
std::string extensions = "c";
|
||||
std::string extensions;
|
||||
if (top.ibex_simple_system->RV32M)
|
||||
extensions += "m";
|
||||
|
||||
extensions += "c";
|
||||
|
||||
// See the equivalent get_isa_string() function in core_ibex_base_test.sv for
|
||||
// an explanation of the different ISA strings
|
||||
switch (top.ibex_simple_system->RV32B) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue