aboutsummaryrefslogtreecommitdiffstats
path: root/passes/techmap
diff options
context:
space:
mode:
authorEddie Hung <eddie@fpgeh.com>2020-01-06 15:02:44 -0800
committerEddie Hung <eddie@fpgeh.com>2020-01-06 15:02:44 -0800
commit98ee8c14df763973d47c8c952d462eb9407f6787 (patch)
tree2a91632d31dab23188d6cb1b4bef16b47518cbe4 /passes/techmap
parent6728a62d92bc710002cdb2d7270ffac49e09e0d1 (diff)
parent66698cb6fd0e33a27197b7412e094dc77363b5e5 (diff)
downloadyosys-98ee8c14df763973d47c8c952d462eb9407f6787.tar.gz
yosys-98ee8c14df763973d47c8c952d462eb9407f6787.tar.bz2
yosys-98ee8c14df763973d47c8c952d462eb9407f6787.zip
Merge remote-tracking branch 'origin/master' into xaig_dff
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;