diff --git a/litex/soc/cores/cpu/vexriscv_smp/core.py b/litex/soc/cores/cpu/vexriscv_smp/core.py index e0c446211..e2ec162be 100755 --- a/litex/soc/cores/cpu/vexriscv_smp/core.py +++ b/litex/soc/cores/cpu/vexriscv_smp/core.py @@ -369,6 +369,10 @@ class VexRiscvSMP(CPU): from litex.build.altera import AlteraPlatform if isinstance(platform, AlteraPlatform): ram_filename = "Ram_1w_1rs_Intel.v" + # define SYNTHESIS verilog name to avoid issues with unsupported + # functions + platform.toolchain.additional_qsf_commands.append( + 'set_global_assignment -name VERILOG_MACRO "SYNTHESIS=1"') # On Efinix platforms, use specific implementation. from litex.build.efinix import EfinixPlatform if isinstance(platform, EfinixPlatform):