mirror of
https://github.com/cclassic/model-ghdl
synced 2024-11-14 07:29:52 +01:00
Extra arguments now work
This commit is contained in:
parent
2fd87d4baf
commit
7df8aa2ccc
@ -149,15 +149,11 @@ int main(int argc, char **argv)
|
||||
cerr << "INFO: Unknown command line opt: " << argv[i] << endl;
|
||||
}
|
||||
else {
|
||||
break; // Rest are VHDL input files
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
for (; i < argc; ++i) {
|
||||
vhdl.append(argv[i]);
|
||||
vhdl.append(" ");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#ifdef DEBUG_EN
|
||||
cout << "\n\nVCOM CALL PARSED:" << endl;
|
||||
|
@ -112,6 +112,7 @@ int main(int argc, char **argv) {
|
||||
}
|
||||
else if (GETOPT("-ghdl")) {
|
||||
ghdlargs = argv[i];
|
||||
cerr << "GHDARGS=" << argv[i];
|
||||
}
|
||||
else if (GETOPT("-gtkwave")) {
|
||||
wvargs = argv[i];
|
||||
@ -121,15 +122,11 @@ int main(int argc, char **argv) {
|
||||
cerr << "INFO: Unknown command line opt: " << argv[i] << endl;
|
||||
}
|
||||
else {
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
for (; i < argc; ++i) {
|
||||
top.append(argv[i]);
|
||||
top.append(" ");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// -gui work.toplevel(RTL)
|
||||
|
Loading…
Reference in New Issue
Block a user