mirror of
https://github.com/YosysHQ/yosys
synced 2025-08-19 17:50:26 +00:00
stoi -> atoi
This commit is contained in:
parent
ee7c970367
commit
48d0f99406
41 changed files with 121 additions and 121 deletions
|
|
@ -210,7 +210,7 @@ struct SetundefPass : public Pass {
|
|||
if (args[argidx] == "-random" && !got_value && argidx+1 < args.size()) {
|
||||
got_value = true;
|
||||
worker.next_bit_mode = MODE_RANDOM;
|
||||
worker.next_bit_state = std::stoi(args[++argidx]) + 1;
|
||||
worker.next_bit_state = atoi(args[++argidx].c_str()) + 1;
|
||||
for (int i = 0; i < 10; i++)
|
||||
worker.next_bit();
|
||||
continue;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue