This commit is contained in:
Wilson Snyder 2013-07-29 21:53:43 -04:00
parent bebf5b291b
commit e42c9dfd84
3 changed files with 4 additions and 4 deletions

View File

@ -215,7 +215,7 @@ private:
virtual void visit(AstNodeAssign* nodep, AstNUser*) { virtual void visit(AstNodeAssign* nodep, AstNUser*) {
m_substTreep = nodep->rhsp(); m_substTreep = nodep->rhsp();
if (!nodep->lhsp()->castNodeVarRef()) if (!nodep->lhsp()->castNodeVarRef())
clearSimple("ASSIGN(non VARREF)"); clearSimple("ASSIGN(non-VARREF)");
else nodep->iterateChildren(*this); else nodep->iterateChildren(*this);
// We don't push logic other then assignments/NOTs into SenItems // We don't push logic other then assignments/NOTs into SenItems
// This avoids a mess in computing what exactly a POSEDGE is // This avoids a mess in computing what exactly a POSEDGE is

View File

@ -515,7 +515,7 @@ uint32_t V3Number::toUInt() const {
double V3Number::toDouble() const { double V3Number::toDouble() const {
if (VL_UNLIKELY(!isDouble())) { if (VL_UNLIKELY(!isDouble())) {
m_fileline->v3fatalSrc("Real conversion on non real number"); m_fileline->v3fatalSrc("Real conversion on non-real number");
} }
if (VL_UNLIKELY(width()!=64)) { if (VL_UNLIKELY(width()!=64)) {
m_fileline->v3fatalSrc("Real operation on wrong sized number"); m_fileline->v3fatalSrc("Real operation on wrong sized number");

View File

@ -431,11 +431,11 @@ private:
if (jumpingOver(nodep)) return; if (jumpingOver(nodep)) return;
if (!optimizable()) return; // Accelerate if (!optimizable()) return; // Accelerate
if (nodep->castAssignDly()) { if (nodep->castAssignDly()) {
if (m_anyAssignComb) clearOptimizable(nodep, "Mix of dly/non dly assigns"); if (m_anyAssignComb) clearOptimizable(nodep, "Mix of dly/non-dly assigns");
m_anyAssignDly = true; m_anyAssignDly = true;
m_inDlyAssign = true; m_inDlyAssign = true;
} else { } else {
if (m_anyAssignDly) clearOptimizable(nodep, "Mix of dly/non dly assigns"); if (m_anyAssignDly) clearOptimizable(nodep, "Mix of dly/non-dly assigns");
m_anyAssignComb = true; m_anyAssignComb = true;
} }
if (!nodep->lhsp()->castVarRef()) { if (!nodep->lhsp()->castVarRef()) {