mirror of https://github.com/YosysHQ/yosys.git
Merge remote-tracking branch 'origin/eddie/clkpart' into xaig_dff
This commit is contained in:
commit
23ecf12bbf
|
@ -74,12 +74,13 @@ struct ClkPartPass : public Pass {
|
||||||
for (argidx = 1; argidx < args.size(); argidx++)
|
for (argidx = 1; argidx < args.size(); argidx++)
|
||||||
{
|
{
|
||||||
if (args[argidx] == "-set_attr" && argidx+2 < args.size()) {
|
if (args[argidx] == "-set_attr" && argidx+2 < args.size()) {
|
||||||
attr_name = RTLIL::escape_id(args[argidx++]);
|
attr_name = RTLIL::escape_id(args[++argidx]);
|
||||||
attr_value = args[argidx++];
|
attr_value = args[argidx++];
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (args[argidx] == "-unpart" && argidx+1 < args.size()) {
|
if (args[argidx] == "-unpart" && argidx+1 < args.size()) {
|
||||||
attr_name = RTLIL::escape_id(args[argidx++]);
|
unpart_mode = true;
|
||||||
|
attr_name = RTLIL::escape_id(args[++argidx]);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (args[argidx] == "-enable") {
|
if (args[argidx] == "-enable") {
|
||||||
|
|
Loading…
Reference in New Issue