Menu

#43 Result of concat() is not resized in VHDL output

Development
closed-fixed
None
5
2013-09-22
2013-08-25
No

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);

1 Attachments

Discussion

  • Jan Decaluwe

    Jan Decaluwe - 2013-09-22
    • status: open --> closed-fixed
    • assigned_to: Jan Decaluwe
     
  • Jan Decaluwe

    Jan Decaluwe - 2013-09-22

    Fixed in development.

     

Log in to post a comment.

Auth0 Logo