File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed
cards/silicom/fb2cdg1/src Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,18 @@ set FPGA_COMMON_BASE "$ARCHGRP_ARR(CORE_BASE)/top"
1313
1414# Components
1515lappend COMPONENTS [list " FPGA_COMMON" $FPGA_COMMON_BASE $ARCHGRP ]
16- lappend COMPONENTS [list " PMCI_FB2CDG1" $PMCI_FB2CDG1_BASE " FULL" ]
16+ # Check whether the 3rd-party repository exists
17+ if ![file exists $PMCI_FB2CDG1_BASE /Modules.tcl] {
18+ puts " \n "
19+ puts " ERROR: PMCI IP is not present. PMCI requires an additional license."
20+ puts " ------------------------------------------------------------------------------------------------"
21+ puts " Please contact Support for more information (see the Partners section of the NDK documentation)."
22+ puts " ------------------------------------------------------------------------------------------------"
23+ puts " \n "
24+ exit 1
25+ } else {
26+ lappend COMPONENTS [list " PMCI_FB2CDG1" $PMCI_FB2CDG1_BASE " FULL" ]
27+ }
1728
1829# IP components
1930set IP_COMMON_TCL $ARCHGRP_ARR(IP_TEMPLATE_ROOT) /common.tcl
You can’t perform that action at this time.
0 commit comments