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.
This commit is contained in:
parent
2e0accf812
commit
1fbe777c81
|
|
@ -1604,7 +1604,11 @@ void PGModule::elaborate_mod_(Design*des, Module*rmod, NetScope*scope) const
|
|||
<< " high bits of the port."
|
||||
<< endl;
|
||||
} 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) ";
|
||||
cerr << (sig->vector_width()-prts_vector_width)
|
||||
<< " high bits of the expression."
|
||||
|
|
|
|||
Loading…
Reference in New Issue