aboutsummaryrefslogtreecommitdiffstats
path: root/passes/techmap
diff options
context:
space:
mode:
authorEddie Hung <eddie@fpgeh.com>2020-01-06 15:05:08 -0800
committerEddie Hung <eddie@fpgeh.com>2020-01-06 15:05:08 -0800
commit1e2ab19f42aedc3397cc6bc635d2ee903840e90b (patch)
tree96ef9a52e399669b0e25b4400ae69e2f1836f6ba /passes/techmap
parentaa58472a292c2cd3c0f2ba669c9dcfd608d8dc5f (diff)
parent98ee8c14df763973d47c8c952d462eb9407f6787 (diff)
downloadyosys-1e2ab19f42aedc3397cc6bc635d2ee903840e90b.tar.gz
yosys-1e2ab19f42aedc3397cc6bc635d2ee903840e90b.tar.bz2
yosys-1e2ab19f42aedc3397cc6bc635d2ee903840e90b.zip
Merge remote-tracking branch 'origin/xaig_dff' into eddie/abc9_refactor
Diffstat (limited to 'passes/techmap')
-rw-r--r--passes/techmap/abc.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/passes/techmap/abc.cc b/passes/techmap/abc.cc
index 28a1c01b1..581652a41 100644
--- a/passes/techmap/abc.cc
+++ b/passes/techmap/abc.cc
@@ -1623,6 +1623,8 @@ struct AbcPass : public Pass {
continue;
}
if (arg == "-g" && argidx+1 < args.size()) {
+ if (g_arg_from_cmd)
+ log_cmd_error("Can only use -g once. Please combine.");
g_arg = args[++argidx];
g_argidx = argidx;
g_arg_from_cmd = true;