Update increment and decrement design dump and comments.

This commit is contained in:
Jared Casper 2011-08-12 01:44:22 -07:00 committed by Stephen Williams
parent 9b785031f5
commit 51b1d57f19
2 changed files with 22 additions and 1 deletions

View File

@ -1543,6 +1543,15 @@ void NetEUnary::dump(ostream&o) const
case 'X':
o << "~^";
break;
case 'I':
o << "++";
break;
case 'D':
o << "--";
break;
case 'i':
case 'd':
break;
default:
o << op_;
break;
@ -1550,6 +1559,14 @@ void NetEUnary::dump(ostream&o) const
o << "(";
expr_->dump(o);
o << ")";
switch (op_) {
case 'i':
o << "++";
break;
case 'd':
o << "--";
break;
}
}
void Design::dump(ostream&o) const

View File

@ -3818,9 +3818,13 @@ class NetETernary : public NetExpr {
* N -- Reduction NOR (~|)
* X -- Reduction NXOR (~^ or ^~)
* m -- abs(x) (i.e. "magnitude")
* i -- Cast from real to integer (vector)
* v -- Cast from real to integer (vector)
* 2 -- Cast from real or logic (vector) to bool (vector)
* r -- Cast from integer (vector) to real
* i -- post-increment
* I -- pre-increment
* d -- post-decrement
* D -- pre-decrement
*/
class NetEUnary : public NetExpr {