mirror of
https://github.com/YosysHQ/yosys
synced 2025-05-04 22:35:46 +00:00
stoi -> atoi
This commit is contained in:
parent
ee7c970367
commit
48d0f99406
41 changed files with 121 additions and 121 deletions
|
@ -555,14 +555,14 @@ struct OptLutPass : public Pass {
|
|||
if (conn_tokens.size() != 2)
|
||||
log_cmd_error("Invalid format of -dlogic signal mapping.\n");
|
||||
IdString logic_port = "\\" + conn_tokens[0];
|
||||
int lut_input = std::stoi(conn_tokens[1]);
|
||||
int lut_input = atoi(conn_tokens[1].c_str());
|
||||
dlogic[type][lut_input] = logic_port;
|
||||
}
|
||||
continue;
|
||||
}
|
||||
if (args[argidx] == "-limit" && argidx + 1 < args.size())
|
||||
{
|
||||
limit = std::stoi(args[++argidx]);
|
||||
limit = atoi(args[++argidx].c_str());
|
||||
continue;
|
||||
}
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue