Fix 's with array select followed by wide AND. [David Hewson]

git-svn-id: file://localhost/svn/verilator/trunk/verilator@882 77ca24e4-aefa-0310-84f0-b9a241c72d87
This commit is contained in:
Wilson Snyder
2007-01-31 15:44:36 +00:00
parent ecb938f20e
commit 5dbae27f01
5 changed files with 14 additions and 7 deletions
+2 -3
View File
@@ -63,9 +63,8 @@ private:
m_instrs += nodep->instrCount();
if (m_counting) {
++m_statTypeCount[nodep->type()];
if (nodep->backp() && nodep->backp()->nextp()!=nodep) {
// Grab only those above, not those "back"
++m_statAbove[nodep->backp()->type()][nodep->type()];
if (nodep->firstAbovep()) { // Grab only those above, not those "back"
++m_statAbove[nodep->firstAbovep()->type()][nodep->type()];
}
m_statInstr += nodep->instrCount();
if (m_cfuncp && !m_cfuncp->slow()) m_statInstrFast += nodep->instrCount();