From 23afeadb5e01a7b816c6ae203746caa8ae2aaed7 Mon Sep 17 00:00:00 2001 From: Clifford Wolf Date: Sat, 27 Aug 2016 17:06:22 +0200 Subject: Fixed handling of transparent bram rd ports on ROMs --- kernel/rtlil.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'kernel/rtlil.cc') diff --git a/kernel/rtlil.cc b/kernel/rtlil.cc index ad90965fb..72809d42d 100644 --- a/kernel/rtlil.cc +++ b/kernel/rtlil.cc @@ -1482,6 +1482,7 @@ void RTLIL::Module::connect(const RTLIL::SigSig &conn) log_backtrace("-X- ", yosys_xtrace-1); } + log_assert(GetSize(conn.first) == GetSize(conn.second)); connections_.push_back(conn); } -- cgit v1.2.3