21 if {[
catch {
package require cmdline} ERROR]} {
22 puts "$ERROR\n If you are running this script on tclsh, you can fix this by installing 'tcllib'"
26 set hog_path [
file normalize "[
file dirname [
info script]]/.."]
27 set repo_path [
file normalize "$hog_path/../.."]
28 source $hog_path/hog.tcl
31 set tcl_path [
file normalize "[
file dirname [
info script]]"]
32 source $tcl_path/cmdline.tcl
35 {project.arg "" "Project name. If not set gets current project"}
36 {outDir.arg "" "Name of output dir containing log files."}
37 {log.arg "1" "Logs errors/warnings to outFile."}
38 {recreate "If set, it will create List Files from the project configuration"}
39 {recreate_conf "If set, it will create the project hog.conf file."}
40 {recreate_sim "If set, it will create the simulation list files."}
41 {force "Force the overwriting of List Files. To be used together with \"-recreate\""}
42 {pedantic "Script fails in case of mismatch"}
43 {ext_path.arg "" "Sets the absolute path for the external libraries."}
47 set usage "Checks if the list and conf files matches the project ones. It can also be used to update the list and conf files. \nUSAGE: $::argv0 \[Options\]"
55 set ext_path $options(ext_path)
65 set SIM_PROPS [list "dofile" \
70 if {![
string equal $options(project) ""]} {
71 set project $options(project)
72 set group_name [
file dirname $project]
73 set project_name [
file tail $project]
74 Msg Info "Opening project $project_name..."
77 file mkdir "$repo_path/Projects/$project/$project_name.gen/sources_1"
78 open_project "$repo_path/Projects/$project/$project_name.xpr"
79 set proj_file [get_property DIRECTORY [current_project]]
80 set proj_dir [
file normalize $proj_file]
83 set proj_file $repo_path/Projects/$project/$project_name.prjx
85 set proj_file $repo_path/Projects/$project/$project_name.ldf
89 set project_name [get_projects [current_project]]
90 set proj_file [get_property DIRECTORY [current_project]]
91 set proj_dir [
file normalize $proj_file]
93 set proj_dir [
file normalize [
file dirname "[project_data -dir]/../.."]]
94 set proj_name [
file tail $proj_dir]
95 set proj_file $proj_dir/$proj_name.prjx
98 set proj_name [
file tail $proj_dir]
99 set proj_file $proj_dir/$proj_name.ldf
106 if {$options(outDir) != ""} {
107 set outFile $options(outDir)/diff_list_and_conf.txt
108 set outSimFile $options(outDir)/diff_sim_list_and_conf.txt
109 if {[
file exists $outFile]} {
113 if {[
file exists $outSimFile]} {
114 file delete $outSimFile
117 if {!$options(log)} {
127 if {[
file exists $repo_path/Top/$group_name/$project_name] && [
file isdirectory $repo_path/Top/$group_name/$project_name] && $options(force) == 0} {
128 set DirName Top_new/$group_name/$project_name
130 set DirName Top/$group_name/$project_name
133 if {$options(recreate_sim) == 1 && [
IsVivado]} {
134 Msg Info "Checking $project_name simulation list files..."
137 -list_files ".sim" "$repo_path/Top/$group_name/$project_name/list/" $repo_path]\
138 listSimLibraries listSimProperties listSimSets
140 lassign [
GetProjectFiles $proj_file] prjLibraries prjProperties prjSimLibraries prjConstraints prjSrcSets prjSimSets prjConSets
141 Msg Info "Retrieved project files..."
143 set extrasimFiles [
ReadExtraFileList "$repo_path/Projects/$group_name/$project_name/.hog/extrasim.files"]
150 Msg Debug "Project Sim Libraries"
151 Msg Debug $prjSimLibraries
152 Msg Debug "Sim List Libraries"
153 Msg Debug $listSimLibraries
154 Msg Debug "Project SimSets"
155 Msg Debug $prjSimSets
156 Msg Debug "List SimSets"
157 Msg Debug $listSimSets
158 Msg Debug "Sim List File Properties"
159 Msg Debug $listSimProperties
161 lassign [
CompareLibDicts $prjSimLibraries $listSimLibraries $prjSimSets $listSimSets \
162 $prjProperties $listSimProperties "Warning" $outSimFile $extrasimFiles] \
163 SimListErrorCnt extrasimFiles prjSimLibraries prjProperties
165 foreach {k v} $extrasimFiles {
166 MsgAndLog "Simulation file $k was found in .hog/extrasim.files but not in project." "Warning" $outFile
171 if {$options(recreate_conf) == 0 || $options(recreate) == 1} {
172 Msg Info "Checking $project_name list files..."
176 -list_files ".src,.ext" "$repo_path/Top/$group_name/$project_name/list/" $repo_path]\
177 listLibraries listProperties listSrcSets
180 -list_files ".con" "$repo_path/Top/$group_name/$project_name/list/" $repo_path] \
181 listConstraints listConProperties listConSets
184 set extraFiles [
ReadExtraFileList "$repo_path/Projects/$group_name/$project_name/.hog/extra.files"]
185 set extraConstraints [
ReadExtraFileList "$repo_path/Projects/$group_name/$project_name/.hog/extracon.files"]
188 lassign [
GetProjectFiles $proj_file] prjLibraries prjProperties prjSimLibraries prjConstraints prjSrcSets prjSimSets prjConSets
189 Msg Info "Retrieved project files..."
202 Msg Debug "Project Libraries"
203 Msg Debug $prjLibraries
204 Msg Debug "Source List Libraries"
205 Msg Debug $listLibraries
206 Msg Debug "Project Filesets"
207 Msg Debug $prjSrcSets
208 Msg Debug "List Filesets"
209 Msg Debug $listSrcSets
210 Msg Debug "Project File Properties"
211 Msg Debug $prjProperties
212 Msg Debug "List File Properties"
213 Msg Debug $listProperties
214 Msg Debug "Project Constraints"
215 Msg Debug $prjConstraints
216 Msg Debug "List Constraints"
217 Msg Debug $listConstraints
218 Msg Debug "Project ConSets"
219 Msg Debug $prjConSets
220 Msg Debug "List ConSets"
221 Msg Debug $listConSets
222 Msg Debug "List Constraint Properties"
223 Msg Debug $listConProperties
226 $prjSrcSets $listSrcSets \
227 $prjProperties $listProperties "CriticalWarning" $outFile $extraFiles] \
228 SrcListErrorCnt extraFiles prjLibraries prjProperties
230 $prjConSets $listConSets \
231 $prjProperties $listConProperties "CriticalWarning" $outFile $extraConstraints] \
232 ConListErrorCnt extraConstraints prjConstraints prjProperties
235 foreach {k v} $extraFiles {
236 MsgAndLog "$k was found in .hog/extra.files but not in project." "CriticalWarning" $outFile
240 foreach {k v} $extraConstraints {
241 MsgAndLog "Constraint file $k was found in .hog/extracon.files but not in project." "CriticalWarning" $outFile
245 if {$SrcListErrorCnt == 0} {
246 Msg Info "Design List Files matches project. Nothing to do."
249 if {$ConListErrorCnt == 0} {
250 Msg Info "Constraint List Files matches project. Nothing to do."
254 if {$options(recreate) == 1 && ($SrcListErrorCnt > 0 || $ConListErrorCnt > 0)} {
255 set listpath "$repo_path/$DirName/list/"
256 Msg Info "Updating list files in $listpath"
259 if {$SrcListErrorCnt > 0} {
261 if {$options(force) == 1} {
262 foreach F [glob -nocomplain "$listpath/*.src" "$listpath/*.ext"] {
266 WriteListFiles $prjLibraries $prjProperties $listpath $repo_path $ext_path
269 if {$ConListErrorCnt > 0} {
271 if {$options(force) == 1} {
272 foreach F [glob -nocomplain "$listpath/*.con"] {
276 WriteListFiles $prjConstraints $prjProperties $listpath $repo_path
282 set conf_file "$repo_path/Top/$group_name/$project_name/hog.conf"
284 if {$options(recreate) == 0 || $options(recreate_conf) == 1} {
294 set prjSrcDict [
DictGet $prjLibraries SRC]
297 set hogConfDict [dict create]
298 set defaultConfDict [dict create]
299 set projConfDict [dict create]
300 set newConfDict [dict create]
303 if {[
file exists $conf_file]} {
304 set hogConfDict [
ReadConf $conf_file]
307 foreach key [list main synth_1 impl_1 generics] {
308 set runDict [
DictGet $hogConfDict $key]
309 foreach runDictKey [dict keys $runDict] {
311 if {[
string first $repo_path [
DictGet $runDict $runDictKey]] != -1} {
314 dict set runDict [
string toupper $runDictKey] [
DictGet $runDict $runDictKey]
315 dict unset runDict [
string tolower $runDictKey]
317 dict set hogConfDict $key $runDict
319 }
elseif {$options(recreate_conf) == 0} {
320 Msg Warning "$repo_path/Top/$group_name/$project_name/hog.conf not found. Skipping properties check"
325 foreach key [dict keys $hogConfDict] {
326 if {$key != "main" && $key != "synth_1" && $key != "impl_1" && $key != "generics"} {
327 dict set newConfDict $key [
DictGet $hogConfDict $key]
332 set PROP_BAN_LIST [list DEFAULT_LIB \
334 AUTO_INCREMENTAL_CHECKPOINT.DIRECTORY \
335 AUTO_INCREMENTAL_CHECKPOINT \
336 COMPXLIB.MODELSIM_COMPILED_LIBRARY_DIR \
337 COMPXLIB.QUESTA_COMPILED_LIBRARY_DIR \
338 COMPXLIB.RIVIERA_COMPILED_LIBRARY_DIR \
339 COMPXLIB.ACTIVEHDL_COMPILED_LIBRARY_DIR \
340 COMPXLIB.IES_COMPILED_LIBRARY_DIR \
341 COMPXLIB.VCS_COMPILED_LIBRARY_DIR \
342 ENABLE_RESOURCE_ESTIMATION \
343 INCREMENTAL_CHECKPOINT \
344 IP_CACHE_PERMISSIONS \
349 SIM.IP.AUTO_EXPORT_SCRIPTS \
350 SIM.IPSTATIC.SOURCE_DIR \
351 STEPS.WRITE_DEVICE_IMAGE.ARGS.READBACK_FILE \
352 STEPS.WRITE_DEVICE_IMAGE.ARGS.VERBOSE \
353 STEPS.WRITE_BITSTREAM.ARGS.READBACK_FILE \
354 STEPS.WRITE_BITSTREAM.ARGS.VERBOSE \
355 STEPS.SYNTH_DESIGN.TCL.PRE \
356 STEPS.SYNTH_DESIGN.TCL.POST \
357 STEPS.WRITE_BITSTREAM.TCL.PRE \
358 STEPS.WRITE_BITSTREAM.TCL.POST \
359 STEPS.WRITE_DEVICE_IMAGE.TCL.PRE \
360 STEPS.WRITE_DEVICE_IMAGE.TCL.POST \
361 STEPS.INIT_DESIGN.TCL.POST \
362 STEPS.ROUTE_DESIGN.TCL.POST \
365 set SIM_BAN_LIST [list HBS.CONFIGURE_DESIGN_FOR_HIER_ACCESS \
370 if {$hog_generic_prefix eq ""} {
375 foreach proj_run [list [current_project] [get_runs synth_1] [get_runs impl_1] [current_fileset]] {
377 set projRunDict [dict create]
378 set defaultRunDict [dict create]
381 foreach propReport [
split "[report_property -return_string -all $proj_run]" "\n"] {
382 if {[
string equal "[
lindex $propReport 2]" "false"]} {
383 lappend run_props [
lindex $propReport 0]
387 if {$proj_run == [current_project]} {
388 lappend run_props "BOARD_PART_REPO_PATHS"
391 foreach prop $run_props {
393 if {$prop in $PROP_BAN_LIST} {
396 }
elseif {"$proj_run" == "[current_fileset]"} {
398 if {$prop == "GENERIC"} {
399 foreach generic [get_property $prop [current_fileset]] {
400 set generic_prop_value [
split $generic {=}]
401 if {[
llength $generic_prop_value] == 2} {
405 dict set projRunDict [
string toupper [
lindex $generic_prop_value 0]] [
lindex $generic_prop_value 1]
406 dict set defaultRunDict [
string toupper $prop] ""
413 if {[
string first $repo_path [get_property $prop $proj_run]] != -1} {
415 foreach p [get_property $prop $proj_run] {
416 set prop_val "$prop_val[
Relative $repo_path $p] "
418 dict set projRunDict [
string toupper $prop] [
string trim $prop_val]
419 }
elseif {[
string first $ext_path [get_property $prop $proj_run]] != -1} {
421 foreach p [get_property $prop $proj_run] {
422 set prop_val "$prop_val[
Relative $ext_path $p] "
424 dict set projRunDict [
string toupper $prop] [
string trim $prop_val]
426 dict set projRunDict [
string toupper $prop] [get_property $prop $proj_run]
430 dict set defaultRunDict [
string toupper $prop] [list_property_value -default $prop $proj_run]
433 if {"$proj_run" == "[current_project]"} {
434 dict set projRunDict "PART" [get_property PART $proj_run]
435 dict set projConfDict main $projRunDict
436 dict set defaultConfDict main $defaultRunDict
437 }
elseif {"$proj_run" == "[current_fileset]"} {
438 dict set projConfDict generics $projRunDict
439 dict set defaultConfDict generics $defaultRunDict
441 dict set projConfDict $proj_run $projRunDict
442 dict set defaultConfDict $proj_run $defaultRunDict
447 set defMainDict [dict create TARGET_LANGUAGE VHDL SIMULATOR_LANGUAGE MIXED]
448 dict set defMainDict IP_OUTPUT_REPO "[
Relative $repo_path $proj_dir]/${project_name}.cache/ip"
449 dict set defaultConfDict main [dict merge [
DictGet $defaultConfDict main] $defMainDict]
454 foreach proj_run [list main synth_1 impl_1 generics] {
455 set projRunDict [
DictGet $projConfDict $proj_run]
456 set hogConfRunDict [
DictGet $hogConfDict $proj_run]
457 set defaultRunDict [
DictGet $defaultConfDict $proj_run]
458 set newRunDict [dict create]
460 set strategy_str "STRATEGY strategy Strategy"
461 foreach s $strategy_str {
462 if {[dict exists $hogConfRunDict $s]} {
467 if {$hasStrategy == 1 && $options(recreate_conf) == 0} {
468 Msg Warning "A strategy for run $proj_run has been defined inside hog.conf. \
469 This prevents Hog to compare the project properties. \
470 Please regenerate your hog.conf file using the dedicated Hog button."
473 foreach settings [dict keys $projRunDict] {
474 set currset [
DictGet $projRunDict $settings]
475 set hogset [
DictGet $hogConfRunDict $settings]
476 set defset [
DictGet $defaultRunDict $settings]
479 regsub -all {\"} $currset "" currset
481 if {[
string toupper $currset] != [
string toupper $hogset] && ([
string toupper $currset] != [
string toupper $defset] || $hogset != "")} {
482 if {[
string first "DEFAULT" [
string toupper $currset]] != -1 && $hogset == ""} {
485 if {[
string tolower $hogset] == "true" && $currset == 1} {
488 if {[
string tolower $hogset] == "false" && $currset == 0} {
491 if {[regexp {\_VER$} [
string toupper $settings]] || [regexp {\_SHA$} [
string toupper $settings]] || \
496 if {[
string toupper $settings] != "STRATEGY"} {
497 dict set newRunDict $settings $currset
498 if {$options(recreate_conf) == 1} {
500 Msg Info "$proj_run setting $settings has been changed from \"$hogset\" in hog.conf to \"$currset\" in project."
501 }
elseif {[
file exists $repo_path/Top/$group_name/$project_name/hog.conf] && $hasStrategy == 0} {
502 MsgAndLog "Project $proj_run setting $settings value \"$currset\" does not match hog.conf \"$hogset\"." "CriticalWarning" $outFile
506 }
elseif {[
string toupper $currset] == [
string toupper $hogset] && [
string toupper $hogset] != "" && [
string toupper $settings] != "STRATEGY"} {
508 dict set newRunDict $settings $currset
512 dict set newConfDict $proj_run $newRunDict
515 foreach settings [dict keys $hogConfRunDict] {
516 if {[dict exists $projRunDict [
string toupper $settings]] == 0} {
517 if {$settings in $PROP_BAN_LIST} {
518 Msg Warning "In hog.conf section $proj_run the following property is defined: \"$settings\". \
519 This property is ignored and will not be rewritten when automatically recreating hog.conf (i.e. pressing Hog button)."
523 if {$options(recreate_conf) == 0} {
524 MsgAndLog "hog.conf property $settings is not a valid Vivado property." "CriticalWarning" $outFile
526 Msg Info "found property $settings in old hog.conf. This is not a valid Vivado property and will be deleted."
534 if {[
file exists $conf_file]} {
536 if {$actual_version != $conf_version} {
537 MsgAndLog "The version specified in the first line of hog.conf is wrong or no version was specified. \
538 If you want to run this project with $ide $actual_version, the first line of hog.conf should be: \#$ide $actual_version" "CriticalWarning" $outFile
544 if {$ConfErrorCnt == 0 && [
file exists $conf_file] == 1} {
545 Msg Info "$conf_file matches project. Nothing to do"
549 if {$options(recreate_conf) == 1 && ($ConfErrorCnt > 0 || [
file exists $conf_file] == 0 || $hasStrategy == 1)} {
550 Msg Info "Updating configuration file $repo_path/$DirName/hog.conf."
552 set confFile $repo_path/$DirName/hog.conf
554 WriteConf $confFile $newConfDict "vivado $version"
558 set sim_conf "$repo_path/Top/$group_name/$project_name/sim.conf"
560 if {$options(recreate) == 0 || $options(recreate_sim) == 1} {
566 set simConfDict [dict create]
567 set defaultConfDict [dict create]
568 set projConfDict [dict create]
569 set newSimConfDict [dict create]
572 set dict_list_simsets [
GetSimSets $group_name/$project_name $repo_path]
573 set dict_proj_simsets [dict create]
575 foreach simset [get_filesets] {
576 if {[get_property FILESET_TYPE $simset] != "SimulationSrcs"} {
580 set projSimDict [dict create]
581 set defaultSimDict [dict create]
585 foreach propReport [
split "[report_property -return_string -all [get_filesets $simset]]" "\n"] {
586 if {[
string equal "[
lindex $propReport 2]" "false"]} {
587 lappend sim_props [
lindex $propReport 0]
591 foreach prop $sim_props {
592 if {$prop in $SIM_BAN_LIST} {
598 if {[
string first $repo_path [get_property $prop $simset]] != -1} {
599 dict set projSimDict [
string toupper $prop] [
Relative $repo_path [get_property $prop $simset]]
600 }
elseif {[
string first $ext_path [get_property $prop $simset]] != -1} {
601 dict set projSimDict [
string toupper $prop] [
Relative $ext_path [get_property $prop $simset]]
603 dict set projSimDict [
string toupper $prop] [get_property $prop $simset]
607 dict set defaultSimDict [
string toupper $prop] [list_property_value -default $prop $simset]
608 dict set projConfDict $simset $projSimDict
609 dict set defaultConfDict $simset $defaultSimDict
612 set hog_simset [
DictGet $dict_list_simsets $simset]
613 set list_props [
DictGet $hog_simset "properties"]
614 set list_generics [
DictGet $hog_simset "generics"]
615 set list_hog_section [
DictGet $hog_simset "hog"]
616 set list_simulator [
DictGet $hog_simset "simulator"]
618 set newSimDict [dict create]
619 set newGenericsDict [dict create]
620 set projSimDict [
DictGet $projConfDict $simset]
621 set defaultRunDict [
DictGet $defaultConfDict $simset]
623 foreach setting [dict keys $projSimDict] {
624 set currset [
DictGet $projSimDict $setting]
625 set hogset [
DictGet $list_props $setting]
626 set defset [
DictGet $defaultRunDict $setting]
628 if {[
string toupper $setting] == "GENERIC"} {
630 foreach gen_set $currset {
631 set generic_and_value [
split $gen_set =]
632 set generic [
string toupper [
lindex $generic_and_value 0]]
633 set gen_value [
lindex $generic_and_value 1]
634 set generichogset [
DictGet $list_generics $generic]
637 regsub -all {\"} $gen_value "" gen_value
638 dict set newGenericsDict $generic $gen_value
639 if {$gen_value != $generichogset} {
640 if {$options(recreate_sim) == 1} {
642 Msg Info "$simset generics setting $generic has been changed from \"$generichogset\" in sim.conf to \"$gen_value\" in project."
643 }
elseif {[
file exists $sim_conf]} {
644 MsgAndLog "Simset $simset setting $generic value \"$gen_value\" does not match sim.conf \"$generichogset\"." "Warning" $outSimFile
652 if {[
string toupper $currset] != [
string toupper $hogset] && [
string toupper $currset] != [
string toupper $defset]} {
653 if {[
string first "DEFAULT" [
string toupper $currset]] != -1 && $hogset == ""} {
656 if {[
string tolower $hogset] == "true" && $currset == 1} {
659 if {[
string tolower $hogset] == "false" && $currset == 0} {
663 if {[regexp {^[^\.]*\.[^\.]*$} $setting]} {
667 dict set newSimDict $setting $currset
668 if {$options(recreate_sim) == 1} {
670 Msg Info "Simulation property $setting of simset $simset has been changed from \"$hogset\" in sim.conf/$simset.sim to \"$currset\" in project."
672 MsgAndLog "Simulation property $setting value \"$currset\" does not match configuration in sim.conf/$simset.sim \"$hogset\"." "Warning" $outSimFile
675 }
elseif {[
string toupper $currset] == [
string toupper $hogset] && [
string toupper $hogset] != ""} {
676 dict set newSimDict $setting $currset
679 if {$simset == [current_fileset -simset]} {
680 dict set newSimDict "ACTIVE" "1"
683 dict set newSimConfDict "properties" $newSimDict
684 dict set newSimConfDict "generics" $newGenericsDict
685 dict set newSimConfDict "hog" $list_hog_section
688 foreach setting [dict keys $list_props] {
689 set hogset [
DictGet $list_props $setting]
690 if {$setting == "ACTIVE"} {
691 if {$hogset == "1" && $simset != [current_fileset -simset]} {
693 if {$options(recreate_sim) == 0} {
694 MsgAndLog "Simulation set $simset is set as active, but the actual active one in the project is [current_fileset -simset]" "Warning" $outSimFile
696 Msg Info "Simulation set $simset was set as active in old sim.conf. I will set [current_fileset -simset] as active in the file instead."
705 if {[
string toupper $simulator] != [
string toupper [get_property target_simulator [current_project]]]} {
706 if {[
string first [
string toupper $simulator] [
string toupper $setting]] == 0} {
713 if {$other_sim_prop == 1} {
717 if {[dict exists $projSimDict [
string toupper $setting]] == 0 && [dict exists $projSimDict $setting] == 0} {
719 if {$options(recreate_sim) == 0} {
720 MsgAndLog "Property $setting is not a valid Vivado property. Please check your sim.conf or $simset.sim file" "Warning" $outSimFile
722 Msg Info "Found property $setting in your sim.conf or $simset.sim file. This is not a valid Vivado property and will be deleted."
726 if {$simset_error == 0} {
727 Msg Info "Simulation properties for $simset are up-to-date. Nothing to do"
729 Msg Warning "Simulation properties for simset $simset have been changed."
733 if {$options(recreate_sim) == 1 && ($simset_error > 0 || $SimListErrorCnt > 0 || [
file exists $sim_conf])} {
734 Msg Info "Updating configuration in $simset.sim"
736 if {[
file exists $sim_conf]} {
737 Msg Info "Removing old sim.conf file $sim_conf, properties will be written in $simset.sim file instead."
738 file delete $sim_conf
740 set listpath "$repo_path/$DirName/list/"
743 set confFile $repo_path/$DirName/list/$simset.sim
745 WriteConf $confFile $newSimConfDict "Simulator $list_simulator"
746 Msg Info "Adding \[files\] section to $simset.sim list file"
747 WriteSimListFile $simset $prjSimLibraries $prjProperties $prjSimSets $listpath $repo_path $options(force)
749 set SimConfErrorCnt [
expr {$SimConfErrorCnt + $simset_error}]
756 if {![
string equal $options(project) ""]} {
763 set TotErrorCnt [
expr {$ConfErrorCnt + $SrcListErrorCnt + $ConListErrorCnt}]
765 if {$options(recreate_conf) == 0 && $options(recreate) == 0} {
766 if {$options(pedantic) == 1 && $TotErrorCnt > 0} {
767 Msg Error "Number of errors: $TotErrorCnt. (Design List files = [
expr $SrcListErrorCnt + $ConListErrorCnt], hog.conf = $ConfErrorCnt)."
768 }
elseif {$TotErrorCnt > 0} {
769 Msg CriticalWarning "Number of errors: $TotErrorCnt (Design List files = [
expr $SrcListErrorCnt + $ConListErrorCnt], hog.conf = $ConfErrorCnt)."
771 Msg Info "Design List files and hog.conf match project. All ok!"
774 if {$SimListErrorCnt > 0 || $SimListErrorCnt > 0} {
775 Msg Warning "Number of mismatch in simulation list files = $SimListErrorCnt"
777 Msg Info "Simulation list files match project. All ok!"
780 if {$SimConfErrorCnt > 0} {
781 Msg Warning "Number of mismatch in simulation properties = $SimConfErrorCnt"
783 Msg Info "Simulation config files match project. All ok!"