Merge pull request #1179 from Technosystem-Labs/vexriscv_hw_breakpoints

Added Vexriscv hardware breakpoint variants for Mini and Lite.
This commit is contained in:
enjoy-digital 2022-01-24 08:16:39 +01:00 committed by GitHub
commit 6b3eda16f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 19 additions and 17 deletions

View File

@ -22,23 +22,25 @@ from litex.soc.cores.cpu import CPU, CPU_GCC_TRIPLE_RISCV32
# Variants ----------------------------------------------------------------------------------------- # Variants -----------------------------------------------------------------------------------------
CPU_VARIANTS = { CPU_VARIANTS = {
"minimal": "VexRiscv_Min", "minimal": "VexRiscv_Min",
"minimal+debug": "VexRiscv_MinDebug", "minimal+debug": "VexRiscv_MinDebug",
"lite": "VexRiscv_Lite", "minimal+debug+hwbp": "VexRiscv_MinDebugHwBP",
"lite+debug": "VexRiscv_LiteDebug", "lite": "VexRiscv_Lite",
"standard": "VexRiscv", "lite+debug": "VexRiscv_LiteDebug",
"standard+debug": "VexRiscv_Debug", "lite+debug+hwbp": "VexRiscv_LiteDebugHwBP",
"imac": "VexRiscv_IMAC", "standard": "VexRiscv",
"imac+debug": "VexRiscv_IMACDebug", "standard+debug": "VexRiscv_Debug",
"full": "VexRiscv_Full", "imac": "VexRiscv_IMAC",
"full+cfu": "VexRiscv_FullCfu", "imac+debug": "VexRiscv_IMACDebug",
"full+debug": "VexRiscv_FullDebug", "full": "VexRiscv_Full",
"full+cfu+debug": "VexRiscv_FullCfuDebug", "full+cfu": "VexRiscv_FullCfu",
"linux": "VexRiscv_Linux", "full+debug": "VexRiscv_FullDebug",
"linux+debug": "VexRiscv_LinuxDebug", "full+cfu+debug": "VexRiscv_FullCfuDebug",
"linux+no-dsp": "VexRiscv_LinuxNoDspFmax", "linux": "VexRiscv_Linux",
"secure": "VexRiscv_Secure", "linux+debug": "VexRiscv_LinuxDebug",
"secure+debug": "VexRiscv_SecureDebug", "linux+no-dsp": "VexRiscv_LinuxNoDspFmax",
"secure": "VexRiscv_Secure",
"secure+debug": "VexRiscv_SecureDebug",
} }
# GCC Flags ---------------------------------------------------------------------------------------- # GCC Flags ----------------------------------------------------------------------------------------