Commit 86188c5 1 parent 716e43e commit 86188c5 Copy full SHA for 86188c5
File tree 1 file changed +4
-0
lines changed
piton/tools/src/proto/vivado
1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -83,6 +83,8 @@ foreach inc_file $ALL_INCLUDE_FILES {
83
83
set file_obj [get_files -of_objects $fileset_obj [list " $inc_file " ]]
84
84
if {[file extension $inc_file ] == " .svh" } {
85
85
set_property " file_type" " SystemVerilog Header" $file_obj
86
+ } elseif {[info exists ::env(PITON_BLACKPARROT)]} {
87
+ set_property " file_type" " SystemVerilog Header" $file_obj
86
88
} else {
87
89
set_property " file_type" " Verilog Header" $file_obj
88
90
}
@@ -100,6 +102,8 @@ foreach impl_file $ALL_RTL_IMPL_FILES {
100
102
set file_obj [get_files -of_objects $fileset_obj [list " $impl_file " ]]
101
103
if {[file extension $impl_file ] == " .sv" } {
102
104
set_property " file_type" " SystemVerilog" $file_obj
105
+ } elseif {[info exists ::env(PITON_BLACKPARROT)]} {
106
+ set_property " file_type" " SystemVerilog" $file_obj
103
107
} else {
104
108
set_property " file_type" " Verilog" $file_obj
105
109
}
You can’t perform that action at this time.
0 commit comments