mirror of
https://github.com/YosysHQ/yosys
synced 2025-10-06 07:54:00 +00:00
Make log()
use the FmtString
infrastructure.
Now `log()` supports `std::string`. We have to fix a few places where the format parameter was not a compile time constant. This is mostly trivial.
This commit is contained in:
parent
c6e96d7816
commit
a8791a459e
10 changed files with 74 additions and 45 deletions
|
@ -331,7 +331,7 @@ struct EquivSimpleWorker
|
|||
construct_ezsat(input_bits, step);
|
||||
|
||||
if (!ez->solve(ez_context)) {
|
||||
log(cfg.verbose ? " Proved equivalence! Marking $equiv cell as proven.\n" : " success!\n");
|
||||
log("%s", cfg.verbose ? " Proved equivalence! Marking $equiv cell as proven.\n" : " success!\n");
|
||||
// Replace $equiv cell with a short
|
||||
cell->setPort(ID::B, cell->getPort(ID::A));
|
||||
ez->assume(ez->NOT(ez_context));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue