mirror of
https://github.com/verilator/verilator.git
synced 2026-09-03 16:28:53 +02:00
Fixes #7431.
This commit is contained in:
+1
-1
@@ -107,7 +107,7 @@ class LinkWithVisitor final : public VNVisitor {
|
||||
}
|
||||
|
||||
void visit(AstMemberSel* nodep) override {
|
||||
if (m_inRandomizeWith && nodep->fromp()->isSame(m_currentRandomizeSelectp)) {
|
||||
if (m_inRandomizeWith && nodep->fromp()->sameTree(m_currentRandomizeSelectp)) {
|
||||
// Replace member selects to the element
|
||||
// on which the randomize() is called with LambdaArgRef
|
||||
// This allows V3Randomize to work properly when
|
||||
|
||||
Reference in New Issue
Block a user