aboutsummaryrefslogtreecommitdiffstats
path: root/passes/techmap/dff2dffe.cc
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 /passes/techmap/dff2dffe.cc
parentee7c970367c68fe1a02a237ed01f2845a03cf9b2 (diff)
downloadyosys-48d0f994064557dc0832748e17133ee2eac88cbf.tar.gz
yosys-48d0f994064557dc0832748e17133ee2eac88cbf.tar.bz2
yosys-48d0f994064557dc0832748e17133ee2eac88cbf.zip
stoi -> atoi
Diffstat (limited to 'passes/techmap/dff2dffe.cc')
-rw-r--r--passes/techmap/dff2dffe.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/passes/techmap/dff2dffe.cc b/passes/techmap/dff2dffe.cc
index 44bc14628..8e947b4dc 100644
--- a/passes/techmap/dff2dffe.cc
+++ b/passes/techmap/dff2dffe.cc
@@ -304,7 +304,7 @@ struct Dff2dffePass : public Pass {
}
if (args[argidx] == "-unmap-mince" && argidx + 1 < args.size()) {
unmap_mode = true;
- min_ce_use = std::stoi(args[++argidx]);
+ min_ce_use = atoi(args[++argidx].c_str());
continue;
}
if (args[argidx] == "-direct" && argidx + 2 < args.size()) {