Warn the user that synthesis is no longer maintained.

Add code to print a warning if the user tries to use the -S flag.
We need this warning since synthesis is not currently being actively
maintained or supported in any branch after V0.8.
This commit is contained in:
Cary R 2010-09-03 17:12:49 -07:00 committed by Stephen Williams
parent 3cd928dbe0
commit 7f2cb6afcd
1 changed files with 13 additions and 4 deletions

View File

@ -988,10 +988,19 @@ int main(int argc, char **argv)
if (version_flag || verbose_flag) { if (version_flag || verbose_flag) {
printf("Icarus Verilog version " VERSION " (" VERSION_TAG ")\n\n"); printf("Icarus Verilog version " VERSION " (" VERSION_TAG ")\n\n");
printf("Copyright 1998-2009 Stephen Williams\n\n"); printf("Copyright 1998-2010 Stephen Williams\n\n");
puts(NOTICE); puts(NOTICE);
} }
if (synth_flag) {
fprintf(stderr, "Warning: Synthesis is not currently being "
"maintained and may not\n");
fprintf(stderr, " function correctly. V0.8 was the "
"last release branch to\n");
fprintf(stderr, " have active synthesis development "
"and support!\n");
}
/* Make a common conf file path to reflect the target. */ /* Make a common conf file path to reflect the target. */
snprintf(iconfig_common_path, sizeof iconfig_common_path, "%s%c%s%s.conf", snprintf(iconfig_common_path, sizeof iconfig_common_path, "%s%c%s%s.conf",
base, sep, targ, synth_flag? "-s" : ""); base, sep, targ, synth_flag? "-s" : "");