Cloud setup: Fix model build for sim
@@ -125,6 +125,12 @@ if { $use_prflow == "TRUE" } {
add_files -scan_for_includes $hdl_dir/hls/ -of_objects [get_reconfig_modules user_action] >> $log_file
}
add_files -scan_for_includes $action_dir/ -of_objects [get_reconfig_modules user_action] >> $log_file
+ if { $simulator != "nosim" } {
+ if { $hls_support == "TRUE" } {
+ add_files -fileset sim_1 -norecurse -scan_for_includes $hdl_dir/hls/ >> $log_file
+ }
+ add_files -fileset sim_1 -norecurse -scan_for_includes $action_dir/ >> $log_file
+ }
} else {
if { $hls_support == "TRUE" } {
add_files -scan_for_includes $hdl_dir/hls/ >> $log_file
@@ -134,7 +140,6 @@ if { $use_prflow == "TRUE" } {
# Sim Files
if { $simulator != "nosim" } {
- set_property SOURCE_SET sources_1 [get_filesets sim_1]
add_files -fileset sim_1 -norecurse -scan_for_includes $sim_dir/core/top.sv >> $log_file
set_property file_type SystemVerilog [get_files $sim_dir/core/top.sv]
set_property used_in_synthesis false [get_files $sim_dir/core/top.sv]
