mirror of
https://github.com/YosysHQ/yosys
synced 2025-10-10 09:48:06 +00:00
clockgate: support liberty filename globbing
This commit is contained in:
parent
161cdd349c
commit
a28c0c632b
2 changed files with 2 additions and 4 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()) {
|
||||
|
|
|
@ -194,7 +194,7 @@ select -assert-count 1 t:\\pdk_icg
|
|||
#------------------------------------------------------------------------------
|
||||
|
||||
design -load before
|
||||
clockgate -liberty clockgate.lib
|
||||
clockgate -liberty c*ckgate.lib
|
||||
|
||||
# rising edge ICGs
|
||||
select -module dffe_00 -assert-count 0 t:\\pos_small
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue