cores/cpu/vexriscv_smp: define SYNTHESIS in Quartus
This commit is contained in:
parent
926fb9a30a
commit
195cc915ed
|
@ -369,6 +369,10 @@ class VexRiscvSMP(CPU):
|
||||||
from litex.build.altera import AlteraPlatform
|
from litex.build.altera import AlteraPlatform
|
||||||
if isinstance(platform, AlteraPlatform):
|
if isinstance(platform, AlteraPlatform):
|
||||||
ram_filename = "Ram_1w_1rs_Intel.v"
|
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.
|
# On Efinix platforms, use specific implementation.
|
||||||
from litex.build.efinix import EfinixPlatform
|
from litex.build.efinix import EfinixPlatform
|
||||||
if isinstance(platform, EfinixPlatform):
|
if isinstance(platform, EfinixPlatform):
|
||||||
|
|
Loading…
Reference in New Issue