3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-07-24 21:27:00 +00:00

Merge pull request #4026 from uis246/fix-format

Fix printf formats
This commit is contained in:
Martin Povišer 2024-01-15 16:04:11 +01:00 committed by GitHub
commit 149bcd88ad
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 6 deletions

View file

@ -26,6 +26,7 @@
#include <algorithm>
#include <queue>
#include <cinttypes>
USING_YOSYS_NAMESPACE
@ -623,7 +624,7 @@ struct RecoverNamesWorker {
if (pop == 1 || pop == (8*sizeof(equiv_cls_t) - 1))
continue;
log_debug("equivalence class: %016lx\n", cls.first);
log_debug("equivalence class: %016" PRIx64 "\n", cls.first);
const pool<IdBit> &gold_bits = cls2bits.at(cls.first).first;
const pool<InvBit> &gate_bits = cls2bits.at(cls.first).second;
if (gold_bits.empty() || gate_bits.empty())