projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c71ad54
)
atoi -> stoi as per @daveshah1
author
Eddie Hung
<eddie@fpgeh.com>
Mon, 8 Jul 2019 17:48:10 +0000
(10:48 -0700)
committer
Eddie Hung
<eddie@fpgeh.com>
Mon, 8 Jul 2019 17:48:10 +0000
(10:48 -0700)
techlibs/xilinx/synth_xilinx.cc
patch
|
blob
|
history
diff --git
a/techlibs/xilinx/synth_xilinx.cc
b/techlibs/xilinx/synth_xilinx.cc
index 0a30848aa6c06444d9799fee8960f0915a482b73..c18c3918f4130977bb89b2432ed492ad63b8b269 100644
(file)
--- a/
techlibs/xilinx/synth_xilinx.cc
+++ b/
techlibs/xilinx/synth_xilinx.cc
@@
-194,7
+194,7
@@
struct SynthXilinxPass : public ScriptPass
continue;
}
if (args[argidx] == "-widemux" && argidx+1 < args.size()) {
- widemux =
atoi(args[++argidx].c_str()
);
+ widemux =
std::stoi(args[++argidx]
);
continue;
}
if (args[argidx] == "-abc9") {