mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 01:54:01 +02:00
Fix detection of wire/reg duplicates
This commit is contained in:
+2
-1
@@ -1211,7 +1211,8 @@ class LinkDotFindVisitor final : public VNVisitor {
|
||||
return;
|
||||
}
|
||||
const bool nansiBad
|
||||
= ((findvarp->isDeclTyped() && nodep->isDeclTyped())
|
||||
= (((findvarp->isDeclTyped() || findvarp->isNet())
|
||||
&& (nodep->isDeclTyped() || nodep->isNet()))
|
||||
|| (findvarp->isIO() && nodep->isIO())); // e.g. !(output && output)
|
||||
const bool ansiBad
|
||||
= findvarp->isAnsi() || nodep->isAnsi(); // dup illegal with ANSI
|
||||
|
||||
Reference in New Issue
Block a user