Result of concat() is not resized in VHDL output
Brought to you by:
jandecaluwe
See attached example.
In the first case
sigout <= unsigned'(sigin(0) & sigin(2));
is generated. In the second case:
tmp := unsigned'(sigin(0) & sigin(2));
sigout <= resize(tmp, 4);
I guess that it should become:
sigout <= resize(unsigned'(sigin(0) & sigin(2)), 4);
Fixed in development.