Wrap hardcoded configs with SYNTHESIS
This commit is contained in:
@@ -14,6 +14,16 @@
|
|||||||
`ifndef VX_PLATFORM_VH
|
`ifndef VX_PLATFORM_VH
|
||||||
`define VX_PLATFORM_VH
|
`define VX_PLATFORM_VH
|
||||||
|
|
||||||
|
// synthesis only
|
||||||
|
`ifndef SIMULATION
|
||||||
|
`define SYNTHESIS
|
||||||
|
`define NDEBUG
|
||||||
|
`define DPI_DISABLE
|
||||||
|
`else
|
||||||
|
`define SV_DPI
|
||||||
|
`endif
|
||||||
|
|
||||||
|
`ifdef SYNTHESIS
|
||||||
`define GPR_RESET
|
`define GPR_RESET
|
||||||
`define LSU_DUP_DISABLE
|
`define LSU_DUP_DISABLE
|
||||||
`define ICACHE_DISABLE
|
`define ICACHE_DISABLE
|
||||||
@@ -25,14 +35,6 @@
|
|||||||
`define NUM_CORES 2
|
`define NUM_CORES 2
|
||||||
`define NUM_THREADS 8
|
`define NUM_THREADS 8
|
||||||
`define NUM_WARPS 8
|
`define NUM_WARPS 8
|
||||||
|
|
||||||
// synthesis only
|
|
||||||
`ifndef SIMULATION
|
|
||||||
`define SYNTHESIS
|
|
||||||
`define NDEBUG
|
|
||||||
`define DPI_DISABLE
|
|
||||||
`else
|
|
||||||
`define SV_DPI
|
|
||||||
`endif
|
`endif
|
||||||
|
|
||||||
`ifdef SV_DPI
|
`ifdef SV_DPI
|
||||||
|
|||||||
Reference in New Issue
Block a user