Skip to content

Commit

Permalink
Deprecate warning when only IP_NAME is passed to add_ip() resolve #88
Browse files Browse the repository at this point in the history
  • Loading branch information
Risto97 committed Oct 27, 2024
1 parent 4f04d50 commit 53eb86e
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions cmake/hwip.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -68,14 +68,6 @@ function(add_ip IP_NAME)
set(ARG_LIBRARY ${LIBRARY})
set(ARG_VERSION ${VERSION})
endif()
# Issue a warning if one of the VLNV information is not passed (this triggers an error later anyway)
if((NOT ARG_VERSION OR NOT ARG_VENDOR OR NOT ARG_LIBRARY) AND NOT SOCMAKE_NOWARN_VLNV)
message(WARNING "Consider using full VLNV format\n\
IP block: ${IP_NAME}\n\
VENDOR: ${ARG_VENDOR}\n\
LIBRARY: ${ARG_LIBRARY}\n\
VERSION: ${ARG_VERSION}")
endif()
# Create the IP unique name using VLNV information
create_ip_vlnv(IP_LIB ${IP_NAME} VENDOR "${ARG_VENDOR}" LIBRARY "${ARG_LIBRARY}" VERSION "${ARG_VERSION}")

Expand Down

0 comments on commit 53eb86e

Please sign in to comment.