Project

General

Profile

[logo] 
 
Home
About/Contact
Major Tools
  Dinotrace
  Verilator
  Verilog-mode
  Verilog-Perl
Other Tools
  IPC::Locker
  Parallel::Forker
  Voneline
General Info
  Papers

hashed.patch

Wilson Snyder, 06/28/2019 09:59 AM

Download (923 Bytes)

View differences:

src/V3Hashed.cpp
132 132
}
133 133

  
134 134
bool V3Hashed::sameNodes(AstNode* node1p, AstNode* node2p) {
135
    if (!node1p->user4p()) node1p->v3fatalSrc("Called isIdentical on non-hashed nodes");
136
    if (!node2p->user4p()) node2p->v3fatalSrc("Called isIdentical on non-hashed nodes");
135
    if (!node1p->user4p()) {
136
        cout<<"FIXME1: "<<node1p<<endl;
137
        cout<<"FIXME2: "<<node2p<<endl;
138
        node1p->v3fatalSrc("Called isIdentical on non-hashed nodes");
139
    }
140
    if (!node2p->user4p()) {
141
        cout<<"FIXME1: "<<node1p<<endl;
142
        cout<<"FIXME2: "<<node2p<<endl;
143
        node2p->v3fatalSrc("Called isIdentical on non-hashed nodes");
144
    }
137 145
    return (node1p->user4p() == node2p->user4p()  // Same hash
138 146
            && node1p->sameTree(node2p));
139 147
}