Include delay expressions for assignments in dump.

This commit is contained in:
steve 2005-05-07 03:13:30 +00:00
parent d548c9a5f8
commit a1d899112a
1 changed files with 12 additions and 9 deletions

View File

@ -17,7 +17,7 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/ */
#ifdef HAVE_CVS_IDENT #ifdef HAVE_CVS_IDENT
#ident "$Id: design_dump.cc,v 1.157 2005/03/09 05:52:03 steve Exp $" #ident "$Id: design_dump.cc,v 1.158 2005/05/07 03:13:30 steve Exp $"
#endif #endif
# include "config.h" # include "config.h"
@ -536,10 +536,10 @@ void NetAssign::dump(ostream&o, unsigned ind) const
dump_lval(o); dump_lval(o);
o << " = "; o << " = ";
#if 0
if (l_val(0)->rise_time()) if (const NetExpr*de = get_delay())
o << "#" << l_val(0)->rise_time() << " "; o << "#(" << *de << ") ";
#endif
o << *rval() << ";" << endl; o << *rval() << ";" << endl;
} }
@ -549,10 +549,10 @@ void NetAssignNB::dump(ostream&o, unsigned ind) const
dump_lval(o); dump_lval(o);
o << " <= "; o << " <= ";
#if 0
if (l_val(0)->rise_time()) if (const NetExpr*de = get_delay())
o << "#" << l_val(0)->rise_time() << " "; o << "#(" << *de << ") ";
#endif
o << *rval() << ";" << endl; o << *rval() << ";" << endl;
} }
@ -1143,6 +1143,9 @@ void Design::dump(ostream&o) const
/* /*
* $Log: design_dump.cc,v $ * $Log: design_dump.cc,v $
* Revision 1.158 2005/05/07 03:13:30 steve
* Include delay expressions for assignments in dump.
*
* Revision 1.157 2005/03/09 05:52:03 steve * Revision 1.157 2005/03/09 05:52:03 steve
* Handle case inequality in netlists. * Handle case inequality in netlists.
* *