diff options
| author | Eddie Hung <eddie@fpgeh.com> | 2020-01-06 11:39:59 -0800 | 
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-01-06 11:39:59 -0800 | 
| commit | 898a8fa7acfd0b78ce848af6bf893fe5fc489b52 (patch) | |
| tree | 0a8a7c00a0f035720010010503798e191bb61d05 /passes/techmap | |
| parent | 89b88ea17fbd1fcc8887e0a841a00474c39b4e01 (diff) | |
| parent | fcc1c14adc44ae1772dc2c41f577e39063d03144 (diff) | |
| download | yosys-898a8fa7acfd0b78ce848af6bf893fe5fc489b52.tar.gz yosys-898a8fa7acfd0b78ce848af6bf893fe5fc489b52.tar.bz2 yosys-898a8fa7acfd0b78ce848af6bf893fe5fc489b52.zip | |
Merge pull request #1616 from nakengelhardt/abc_scratchpad_arg_warn
error if multiple -g options are given for abc
Diffstat (limited to 'passes/techmap')
| -rw-r--r-- | passes/techmap/abc.cc | 2 | 
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; | 
