mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-06 06:03:23 +00:00
Fixed handling of driver-driver conflicts in wreduce
This commit is contained in:
parent
4cec1c058d
commit
2a0f577f83
3 changed files with 42 additions and 9 deletions
|
@ -1448,6 +1448,10 @@ void RTLIL::Module::connect(const RTLIL::SigSig &conn)
|
|||
for (auto mon : design->monitors)
|
||||
mon->notify_connect(this, conn);
|
||||
|
||||
#ifndef NDEBUG
|
||||
log_assert(!conn.first.has_const());
|
||||
#endif
|
||||
|
||||
if (yosys_xtrace) {
|
||||
log("#X# Connect (SigSig) in %s: %s = %s (%d bits)\n", log_id(this), log_signal(conn.first), log_signal(conn.second), GetSize(conn.first));
|
||||
log_backtrace("-X- ", yosys_xtrace-1);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue