Menu

#36 Conversion comparison incorrect

MyHDL_0.7
closed-fixed
5
2013-02-17
2012-10-17
No

In the attached testcase, where count and depth are both integer variables (not Signals) the line:

if count < depth:

is converted as:

if (to_std_logic(count) < '8') then

Discussion

  • Martin Thompson

    Martin Thompson - 2012-10-17

    testcase

     
  • Jan Decaluwe

    Jan Decaluwe - 2013-02-17

    Fixed in 0.8-dev

     
  • Jan Decaluwe

    Jan Decaluwe - 2013-02-17
    • status: open --> closed-fixed
     
  • Jan Decaluwe

    Jan Decaluwe - 2013-02-17
    • assigned_to: nobody --> jandecaluwe
     

Log in to post a comment.

Auth0 Logo