fpga: tools: Add support for DCP files as source

This commit is contained in:
Wade Fife 2026-09-22 13:21:34 -05:00 committed by mkoop-ni
parent f9ab8f3aae
commit 0b7f642d4a

View File

@ -115,6 +115,9 @@ proc ::vivado_utils::initialize_project { {save_to_disk 0} } {
if {[catch {set_property generate_synth_checkpoint true [get_files $src_file]} errorstring]} {
puts "BUILDER: Failed to set synth checkpoint generation ($errorstring). The process will continue."
}
} elseif [expr [lsearch {.dcp} $src_ext] >= 0] {
puts "BUILDER: Adding checkpoint: $src_file"
read_checkpoint $src_file
} elseif [expr [lsearch {.ngc .edif .edf} $src_ext] >= 0] {
puts "BUILDER: Adding Netlist: $src_file"
read_edif $src_file