3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-09-27 11:49:02 +00:00

Merge pull request #5348 from rocallahan/remove-string_buf

Remove `string_buf` by making `log_signal()` and `log_const()` return `std::string`
This commit is contained in:
Jannis Harder 2025-09-16 20:20:56 +02:00 committed by GitHub
commit b95549b469
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 7 additions and 32 deletions

View file

@ -755,7 +755,7 @@ void AbcModuleState::handle_loops(AbcSigMap &assign_map, RTLIL::Module *module)
log("Breaking loop using new signal %s: %s -> %s\n", log_signal(RTLIL::SigSpec(wire)),
run_abc.signal_list[id1].bit_str, run_abc.signal_list[id2].bit_str);
else
log(" %*s %s -> %s\n", int(strlen(log_signal(RTLIL::SigSpec(wire)))), "",
log(" %*s %s -> %s\n", int(log_signal(RTLIL::SigSpec(wire)).size()), "",
run_abc.signal_list[id1].bit_str, run_abc.signal_list[id2].bit_str);
first_line = false;
}