Skip to content

Commit

Permalink
tools: Fix fullzc configuration for 200/300/900
Browse files Browse the repository at this point in the history
Signed-off-by: Huaqi Fang <[email protected]>
  • Loading branch information
fanghuaqi committed Apr 10, 2024
1 parent c1a2652 commit 2ee3123
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 2 deletions.
1 change: 1 addition & 0 deletions tools/scripts/nsdk_cli/configs/cpu/fullzc/n200.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
},
"build_configs": {
"rv32emc": {"CORE":"n203e"},
"rv32imac": {"CORE":"n203", "ARCH_EXT":""},
"rv32imacb": {"CORE":"n203", "ARCH_EXT":"_zba_zbb_zbc_zbs"},
"rv32imab_zc": {"CORE":"n203", "ARCH_EXT":"_zca_zcb_zcmp_zcmt_zba_zbb_zbc_zbs", "NMSIS_LIB_ARCH": "rv32imac_zba_zbb_zbc_zbs"}
}
Expand Down
7 changes: 5 additions & 2 deletions tools/scripts/nsdk_cli/configs/cpu/fullzc/n300.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,14 @@
"CPU_SERIES": "300"
},
"build_configs": {
"rv32imac": {"CORE":"n300", "ARCH_EXT":""},
"rv32imafc": {"CORE":"n300f", "ARCH_EXT":""},
"rv32imafdc": {"CORE":"n300fd", "ARCH_EXT":""},
"rv32imacbp": {"CORE":"n300", "ARCH_EXT":"_zba_zbb_zbc_zbs_xxldspn3x"},
"rv32imafcbp": {"CORE":"n300f", "ARCH_EXT":"_zba_zbb_zbc_zbs_xxldspn3x"},
"rv32imafdcbp": {"CORE":"n300fd", "ARCH_EXT":"_zba_zbb_zbc_zbs_xxldspn3x"},
"rv32imabp_xxlcz": {"CORE":"n300", "ARCH_EXT":"_zca_zcb_zcmp_zcmt_zba_zbb_zbc_zbs_xxldspn3x_xxlcz", "NMSIS_LIB_ARCH": "rv32imac_zba_zbb_zbc_zbs_xxldspn3x"},
"rv32imafbp_xxlcz": {"CORE":"n300f", "ARCH_EXT":"_zca_zcb_zcmp_zcmt_zba_zbb_zbc_zbs_xxldspn3x_xxlcz", "NMSIS_LIB_ARCH": "rv32imafc_zba_zbb_zbc_zbs_xxldspn3x"},
"rv32imafdbp_xxlcz": {"CORE":"n300fd", "ARCH_EXT":"_zca_zcb_zcmp_zcmt_zba_zbb_zbc_zbs_xxldspn3x_xxlcz"}
"rv32imafbp_xxlcz": {"CORE":"n300f", "ARCH_EXT":"_zca_zcb_zcf_zcmp_zcmt_zba_zbb_zbc_zbs_xxldspn3x_xxlcz", "NMSIS_LIB_ARCH": "rv32imafc_zba_zbb_zbc_zbs_xxldspn3x"},
"rv32imafdbp_xxlcz": {"CORE":"n300fd", "ARCH_EXT":"_zca_zcb_zcf_zcmp_zcmt_zba_zbb_zbc_zbs_xxldspn3x_xxlcz"}
}
}
3 changes: 3 additions & 0 deletions tools/scripts/nsdk_cli/configs/cpu/fullzc/n900.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
"CPU_SERIES": "900"
},
"build_configs": {
"rv32imac": {"CORE":"n900", "ARCH_EXT":""},
"rv32imafc": {"CORE":"n900f", "ARCH_EXT":""},
"rv32imafdc": {"CORE":"n900fd", "ARCH_EXT":""},
"rv32imafcbp": {"CORE":"n900f", "ARCH_EXT":"_zba_zbb_zbc_zbs_xxldspn1x"},
"rv32imafdcbp": {"CORE":"n900fd", "ARCH_EXT":"_zba_zbb_zbc_zbs_xxldspn1x"},
"rv32imafdcbpv": {"CORE":"n900fd", "ARCH_EXT":"_zve32f_zba_zbb_zbc_zbs_xxldspn1x"},
Expand Down
3 changes: 3 additions & 0 deletions tools/scripts/nsdk_cli/configs/cpu/fullzc/ux900.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
"CPU_SERIES": "900"
},
"build_configs": {
"rv64imac": {"CORE":"nx900", "ARCH_EXT":""},
"rv64imafc": {"CORE":"nx900f", "ARCH_EXT":""},
"rv64imafdc": {"CORE":"nx900fd", "ARCH_EXT":""},
"rv64imacbp": {"CORE":"nx900", "ARCH_EXT":"_zba_zbb_zbc_zbs_xxldsp"},
"rv64imafcbp": {"CORE":"nx900f", "ARCH_EXT":"_zba_zbb_zbc_zbs_xxldsp"},
"rv64imafdcbp": {"CORE":"nx900fd", "ARCH_EXT":"_zba_zbb_zbc_zbs_xxldsp"},
Expand Down

0 comments on commit 2ee3123

Please sign in to comment.