mirror of
https://github.com/YosysHQ/yosys
synced 2025-10-12 18:50:19 +00:00
Merge pull request #5386 from YosysHQ/emil/liberty-glob-all
Expand wildcards in Liberty file consumers
This commit is contained in:
commit
9a12d92551
8 changed files with 14 additions and 12 deletions
|
@ -290,9 +290,7 @@ struct ClockgatePass : public Pass {
|
|||
continue;
|
||||
}
|
||||
if (args[argidx] == "-liberty" && argidx+1 < args.size()) {
|
||||
std::string liberty_file = args[++argidx];
|
||||
rewrite_filename(liberty_file);
|
||||
liberty_files.push_back(liberty_file);
|
||||
append_globbed(liberty_files, args[++argidx]);
|
||||
continue;
|
||||
}
|
||||
if (args[argidx] == "-dont_use" && argidx+1 < args.size()) {
|
||||
|
|
|
@ -609,9 +609,7 @@ struct DfflibmapPass : public Pass {
|
|||
{
|
||||
std::string arg = args[argidx];
|
||||
if (arg == "-liberty" && argidx+1 < args.size()) {
|
||||
std::string liberty_file = args[++argidx];
|
||||
rewrite_filename(liberty_file);
|
||||
liberty_files.push_back(liberty_file);
|
||||
append_globbed(liberty_files, args[++argidx]);
|
||||
continue;
|
||||
}
|
||||
if (arg == "-prepare") {
|
||||
|
|
|
@ -96,9 +96,7 @@
|
|||
quiet = true;
|
||||
continue;
|
||||
}
|
||||
std::string fname = args[argidx];
|
||||
rewrite_filename(fname);
|
||||
paths.push_back(fname);
|
||||
append_globbed(paths, args[argidx]);
|
||||
break;
|
||||
}
|
||||
int modes = enable + disable + purge + list + verbose + quiet;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue