Skip to content

Commit

Permalink
more Vivado 2024.1 + ILA fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ruck314 committed Sep 19, 2024
1 parent e3ff0b0 commit 7a55a2a
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions vivado/proc/debug_probes.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,9 @@ proc CreateDebugCore {ilaName} {
set_property C_INPUT_PIPE_STAGES 2 [get_debug_cores ${ilaName}]

# Force a reset of the implementation
reset_run impl_1
if { [VersionCompare 2024.1] < 0} {
reset_run impl_1
}
}

## Sets the clock on the debug core
Expand Down Expand Up @@ -89,10 +91,16 @@ proc WriteDebugProbes {ilaName {filePath ""}} {
# Delete the last unused port
delete_debug_port [get_debug_ports [GetCurrentProbe ${ilaName}]]

# Check if Vivado 2024.1 or later
if { [VersionCompare 2024.1] >= 0} {
# Implement debug core
implement_debug_core

# Check if write_debug_probes is support
if { [VersionCompare 2017.2] <= 0 } {
} elseif { [VersionCompare 2017.2] <= 0 } {
# Write the port map file
write_debug_probes -force ${filePath}

} else {
# Check if not empty string
if { ${filePath} != "" } {
Expand Down

0 comments on commit 7a55a2a

Please sign in to comment.