|
@ -375,6 +375,8 @@ proc write_project_tcl_script {} { |
|
|
if { !$a_global_vars(b_arg_use_bd_files) } { |
|
|
if { !$a_global_vars(b_arg_use_bd_files) } { |
|
|
wr_bd |
|
|
wr_bd |
|
|
wr_bd_bc_specific |
|
|
wr_bd_bc_specific |
|
|
|
|
|
} else { |
|
|
|
|
|
wr_bd_create_wrapper |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
# write BC and RM filesets to handle extra files(ELF, XDC) added |
|
|
# write BC and RM filesets to handle extra files(ELF, XDC) added |
|
@ -815,6 +817,18 @@ proc add_references { sub_design } { |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
proc wr_bd_create_wrapper {} { |
|
|
|
|
|
# Get all BD files in the design |
|
|
|
|
|
set bd_files [get_files -norecurse *.bd -filter "IS_BLOCK_CONTAINER_MANAGED == 0"] |
|
|
|
|
|
|
|
|
|
|
|
foreach bd_file $bd_files { |
|
|
|
|
|
# Add wrapper creation |
|
|
|
|
|
set bd_filename [file tail $bd_file] |
|
|
|
|
|
lappend l_script_data "\n# Create wrapper file for $bd_filename" |
|
|
|
|
|
lappend l_script_data "make_wrapper -files \[get_files $bd_filename\] -import -top\n" |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
proc wr_bd {} { |
|
|
proc wr_bd {} { |
|
|
# Summary: write procs to create BD's |
|
|
# Summary: write procs to create BD's |
|
|
# Return Value: None |
|
|
# Return Value: None |
|
|