aboutsummaryrefslogtreecommitdiffstats
path: root/techlibs/ice40
diff options
context:
space:
mode:
authorEddie Hung <eddie@fpgeh.com>2019-08-07 11:09:17 -0700
committerEddie Hung <eddie@fpgeh.com>2019-08-07 11:09:17 -0700
commit48d0f994064557dc0832748e17133ee2eac88cbf (patch)
treeff80fabc1b2196356dd3ebf0536b2d75e145282d /techlibs/ice40
parentee7c970367c68fe1a02a237ed01f2845a03cf9b2 (diff)
downloadyosys-48d0f994064557dc0832748e17133ee2eac88cbf.tar.gz
yosys-48d0f994064557dc0832748e17133ee2eac88cbf.tar.bz2
yosys-48d0f994064557dc0832748e17133ee2eac88cbf.zip
stoi -> atoi
Diffstat (limited to 'techlibs/ice40')
-rw-r--r--techlibs/ice40/synth_ice40.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/techlibs/ice40/synth_ice40.cc b/techlibs/ice40/synth_ice40.cc
index be60a0071..dc04eed67 100644
--- a/techlibs/ice40/synth_ice40.cc
+++ b/techlibs/ice40/synth_ice40.cc
@@ -183,7 +183,7 @@ struct SynthIce40Pass : public ScriptPass
continue;
}
if (args[argidx] == "-dffe_min_ce_use" && argidx+1 < args.size()) {
- min_ce_use = std::stoi(args[++argidx]);
+ min_ce_use = atoi(args[++argidx].c_str());
continue;
}
if (args[argidx] == "-nobram") {