Merge pull request #731 from lindemer/pmp

Allow selection of VexRiscv_Secure* from lxsim CLI
This commit is contained in:
enjoy-digital 2020-12-14 19:41:51 +01:00 committed by GitHub
commit f777cddefe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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",
} }