diff options
author | Eddie Hung <eddie@fpgeh.com> | 2019-06-05 09:59:05 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-05 09:59:05 -0700 |
commit | a3a80b755cb78866060f71348e2a0b14f96c574b (patch) | |
tree | 7e6595f139f849042c2133baee6dc29c5590fab5 /passes/opt | |
parent | f15b5e630950aaff9c840a0aa8310d0117aad166 (diff) | |
parent | 8a6f9977f659d350cca936b45cb8b441d5a67eeb (diff) | |
download | yosys-a3a80b755cb78866060f71348e2a0b14f96c574b.tar.gz yosys-a3a80b755cb78866060f71348e2a0b14f96c574b.tar.bz2 yosys-a3a80b755cb78866060f71348e2a0b14f96c574b.zip |
Merge pull request #1067 from YosysHQ/clifford/fix1065
Suppress driver-driver conflict warning for unknown cell types
Diffstat (limited to 'passes/opt')
-rw-r--r-- | passes/opt/opt_clean.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/passes/opt/opt_clean.cc b/passes/opt/opt_clean.cc index 7011d4602..cfb0f788a 100644 --- a/passes/opt/opt_clean.cc +++ b/passes/opt/opt_clean.cc @@ -106,7 +106,7 @@ void rmunused_module_cells(Module *module, bool verbose) if (raw_bit.wire == nullptr) continue; auto bit = sigmap(raw_bit); - if (bit.wire == nullptr) + if (bit.wire == nullptr && ct_all.cell_known(cell->type)) driver_driver_logs[raw_sigmap(raw_bit)].push_back(stringf("Driver-driver conflict " "for %s between cell %s.%s and constant %s in %s: Resolved using constant.", log_signal(raw_bit), log_id(cell), log_id(it2.first), log_signal(bit), log_id(module))); |