Skip to content
Snippets Groups Projects
Commit 090394e0 authored by Felix Jentzsch's avatar Felix Jentzsch
Browse files

Fix linting

parent 1e80caff
No related branches found
No related tags found
No related merge requests found
...@@ -536,7 +536,7 @@ class CreateStitchedIP(Transformation): ...@@ -536,7 +536,7 @@ class CreateStitchedIP(Transformation):
tcl.append( tcl.append(
"set all_v_files [get_files -filter {USED_IN_SYNTHESIS == 1 " "set all_v_files [get_files -filter {USED_IN_SYNTHESIS == 1 "
+ "&& (FILE_TYPE == Verilog || FILE_TYPE == SystemVerilog " + "&& (FILE_TYPE == Verilog || FILE_TYPE == SystemVerilog "
+ "|| FILE_TYPE ==\"Verilog Header\")}]" + '|| FILE_TYPE =="Verilog Header")}]'
) )
v_file_list = "%s/all_verilog_srcs.txt" % vivado_stitch_proj_dir v_file_list = "%s/all_verilog_srcs.txt" % vivado_stitch_proj_dir
tcl.append("set fp [open %s w]" % v_file_list) tcl.append("set fp [open %s w]" % v_file_list)
......
...@@ -74,8 +74,9 @@ def pyverilate_stitched_ip( ...@@ -74,8 +74,9 @@ def pyverilate_stitched_ip(
# are identical but in multiple directories (regslice_core.v) # are identical but in multiple directories (regslice_core.v)
# remove duplicates from list by doing list -> set -> list # remove duplicates from list by doing list -> set -> list
all_verilog_files = list(set(filter(lambda x: x.endswith(".v") or x.endswith(".sv"), all_verilog_files = list(
all_verilog_srcs))) set(filter(lambda x: x.endswith(".v") or x.endswith(".sv"), all_verilog_srcs))
)
# remove all but one instances of regslice_core.v # remove all but one instances of regslice_core.v
filtered_verilog_files = [] filtered_verilog_files = []
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment