File tree Expand file tree Collapse file tree 1 file changed +21
-2
lines changed
DirectProgramming/DPC++FPGA/ReferenceDesigns/mvdr_beamforming/src Expand file tree Collapse file tree 1 file changed +21
-2
lines changed Original file line number Diff line number Diff line change @@ -23,8 +23,27 @@ if(FPGA_BOARD MATCHES ".usm.*")
23
23
message (STATUS "USM host allocations are enabled" )
24
24
endif ()
25
25
26
- # Include ac_types headers and link against ac_types emulation libraries
27
- set (AC_TYPES_FLAG "-qactypes" )
26
+ # set default seed for specific FPGA boards
27
+ if (FPGA_BOARD MATCHES ".*s10.*" )
28
+ set (SEED "-Xsseed=4" )
29
+ elseif (FPGA_BOARD MATCHES ".*agilex.*" )
30
+ set (SEED "-Xsseed=1" )
31
+ endif ()
32
+
33
+ if (IGNORE_DEFAULT_SEED )
34
+ set (SEED "" )
35
+ endif ()
36
+
37
+ # These are Windows-specific flags:
38
+ # 1. /EHsc This is a Windows-specific flag that enables exception handling in host code
39
+ # 2. /Qactypes Include ac_types headers and link against ac_types emulation libraries
40
+ if (WIN32 )
41
+ set (WIN_FLAG "/EHsc" )
42
+ set (AC_TYPES_FLAG "/Qactypes" )
43
+ else ()
44
+ # Include ac_types headers and link against ac_types emulation libraries
45
+ set (AC_TYPES_FLAG "-qactypes" )
46
+ endif ()
28
47
29
48
# Allow the user to enable real IO pipes
30
49
# e.g. cmake .. -DREAL_IO_PIPES=1
You can’t perform that action at this time.
0 commit comments