Display signal array size when using -delaborate.

This patch modifies one of the debug_elaborate messages to display
the array information when needed.
This commit is contained in:
Cary R 2008-08-08 13:57:26 -07:00 committed by Stephen Williams
parent 6527262348
commit 2a389a9abe
1 changed files with 5 additions and 2 deletions

View File

@ -1003,8 +1003,11 @@ NetNet* PWire::elaborate_sig(Design*des, NetScope*scope) const
if (debug_elaborate) {
cerr << get_fileline() << ": debug: Create signal "
<< wtype << " ["<<msb<<":"<<lsb<<"] " << name_
<< " in scope " << scope_path(scope) << endl;
<< wtype << " ["<<msb<<":"<<lsb<<"] " << name_;
if (array_dimensions > 0) {
cerr << " [" << array_s0 << ":" << array_e0 << "]" << endl;
}
cerr << " in scope " << scope_path(scope) << endl;
}