From f2ff25bfefd2b1073f13120c3810d1893ea8fffc Mon Sep 17 00:00:00 2001 From: Stephen Williams Date: Sat, 9 Feb 2008 22:20:01 -0800 Subject: [PATCH] Dump delays of constants. --- design_dump.cc | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/design_dump.cc b/design_dump.cc index 301c9301e..03821c044 100644 --- a/design_dump.cc +++ b/design_dump.cc @@ -348,7 +348,14 @@ void NetConst::dump_node(ostream&o, unsigned ind) const o << setw(ind) << "" << "constant " << width_ << "'b"; for (unsigned idx = width_ ; idx > 0 ; idx -= 1) o << value_[idx-1]; - o << ": " << name() << endl; + o << ": " << name(); + if (rise_time()) + o << " #(" << *rise_time() + << "," << *fall_time() + << "," << *decay_time() << ")"; + else + o << " #(.,.,.)"; + o << endl; dump_node_pins(o, ind+4); }