diff --git a/kernel/rtlil_bufnorm.cc b/kernel/rtlil_bufnorm.cc index c02f0c365..8b3c59942 100644 --- a/kernel/rtlil_bufnorm.cc +++ b/kernel/rtlil_bufnorm.cc @@ -135,7 +135,8 @@ struct RTLIL::SigNormIndex wire->driverPort_ = port; xlog("therefore connect port %s %s %s\n", port, log_signal(sig), wire->name); - module->connect(sig, wire); + // This orientation bias is potentially dangerous elsewhere + module->connect(wire, sig); sig = wire; } }