Skip to content

Commit

Permalink
[t1rocketemu] fix invalid march
Browse files Browse the repository at this point in the history
Signed-off-by: Avimitin <[email protected]>
  • Loading branch information
Avimitin committed Aug 19, 2024
1 parent 246d8f1 commit 69d22c8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion t1rocketemu/configs/default.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parameter": {
"instructionSets": ["rv32_i", "rv_m", "rv_f", "rv_a", "rv_v", "Zve32x", "zvl1024b", "rv_c"],
"instructionSets": ["rv32_i", "rv_m", "rv_f", "rv_a", "rv_v", "Zve32f", "zvl1024b", "rv_c"],
"cacheBlockBytes": 32,
"nPMPs": 8,
"cacheable": "b1???????????????????????????????",
Expand Down
2 changes: 1 addition & 1 deletion t1rocketemu/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
#
# Although the string is already hard-coded in lower case, the toLower function call here is to remind developer that,
# when we switch OM, we should always ensure the march input is lower case.
march = lib.toLower "rv32gcv_zfh_zicboz_svnapot_zicntr_zba_zbb_zbc_zbs_zve32f_zvl1024b";
march = lib.toLower "rv32gc_zve32f_zvl1024b";
dlen = scope.designConfig.dLen;
xlen = if (lib.hasPrefix "rv32" march) then 32 else 64;

Expand Down

0 comments on commit 69d22c8

Please sign in to comment.