For an input report the expression is pruned vs padded.
There was a single message when the expression width was larger
than the port width. This patch makes it a bit more clear by
saying that the expression was pruned.
(cherry picked from commit 1fbe777c81)
This commit is contained in:
parent
6b4de9aa82
commit
ea78ae51c7
|
|
@ -1534,7 +1534,11 @@ void PGModule::elaborate_mod_(Design*des, Module*rmod, NetScope*scope) const
|
||||||
<< " high bits of the port."
|
<< " high bits of the port."
|
||||||
<< endl;
|
<< endl;
|
||||||
} else {
|
} else {
|
||||||
cerr << get_fileline() << ": : Padding ";
|
if (prts[0]->port_type() == NetNet::PINPUT) {
|
||||||
|
cerr << get_fileline() << ": : Pruning ";
|
||||||
|
} else {
|
||||||
|
cerr << get_fileline() << ": : Padding ";
|
||||||
|
}
|
||||||
if (as_signed) cerr << "(signed) ";
|
if (as_signed) cerr << "(signed) ";
|
||||||
cerr << (sig->vector_width()-prts_vector_width)
|
cerr << (sig->vector_width()-prts_vector_width)
|
||||||
<< " high bits of the expression."
|
<< " high bits of the expression."
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue