Skip to content

Commit

Permalink
Merge pull request #304 from slaclab/loadIpCore-json
Browse files Browse the repository at this point in the history
changing 'IP_FLOW: Failed to register IP shared directory path' from warning to error
  • Loading branch information
ruck314 authored Oct 30, 2023
2 parents 01f9241 + 51d6890 commit eb4ef47
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions vivado/messages.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ set_msg_config -id {Synth 8-3512} -new_severity ERROR;# SYNTH: Assigned valu
set_msg_config -id {VRFC 10-664} -new_severity ERROR;# SIM: expression has XXX elements ; expected XXX
set_msg_config -id {filemgmt 20-1318} -new_severity ERROR;# FILEMGMT: Duplicate entities/files found in the same library
set_msg_config -id {IP_Flow 19-1663} -new_severity ERROR;# IP_FLOW: Duplicate IP found
set_msg_config -id {IP_Flow 19-11772} -new_severity ERROR;# IP_FLOW: Failed to register IP shared directory path

## Check for version 2015.3 (or older)
if { [VersionCompare 2015.3] <= 0 } {
Expand Down
4 changes: 2 additions & 2 deletions vivado/proc/code_loading.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ proc loadIpCore args {
# Check if file doesn't exist in project
if { [get_files -quiet $params(path)] == "" } {
# Add the IP core file
import_ip -quiet -srcset sources_1 $params(path)
import_ip -srcset sources_1 $params(path)
}
# Update the global list
set strip [file rootname [file tail $params(path)]]
Expand Down Expand Up @@ -264,7 +264,7 @@ proc loadIpCore args {
# Check if file doesn't exist in project
if { [get_files -quiet ${pntr}] == "" } {
# Add the IP core file
import_ip -quiet -srcset sources_1 ${pntr}
import_ip -srcset sources_1 ${pntr}
}
# Update the global list
set strip [file rootname [file tail ${pntr}]]
Expand Down

0 comments on commit eb4ef47

Please sign in to comment.