Allow selection of VexRiscv_Secure* from lxsim CLI

This commit is contained in:
Samuel Lindemer 2020-12-14 10:53:14 +01:00
parent cd80c87f1a
commit c23a894014
1 changed files with 4 additions and 0 deletions

View File

@ -34,6 +34,8 @@ CPU_VARIANTS = {
"linux": "VexRiscv_Linux", "linux": "VexRiscv_Linux",
"linux+debug": "VexRiscv_LinuxDebug", "linux+debug": "VexRiscv_LinuxDebug",
"linux+no-dsp": "VexRiscv_LinuxNoDspFmax", "linux+no-dsp": "VexRiscv_LinuxNoDspFmax",
"secure": "VexRiscv_Secure",
"secure+debug": "VexRiscv_SecureDebug",
} }
@ -58,6 +60,8 @@ GCC_FLAGS = {
"linux": "-march=rv32ima -mabi=ilp32", "linux": "-march=rv32ima -mabi=ilp32",
"linux+debug": "-march=rv32ima -mabi=ilp32", "linux+debug": "-march=rv32ima -mabi=ilp32",
"linux+no-dsp": "-march=rv32ima -mabi=ilp32", "linux+no-dsp": "-march=rv32ima -mabi=ilp32",
"secure": "-march=rv32ima -mabi=ilp32",
"secure+debug": "-march=rv32ima -mabi=ilp32",
} }