#1256 Fix display of net array words when data type is signed

closed
nobody
None
5
2013-01-22
2013-01-12
Martin Whitaker
No

When VVP compiles a .array statement for a net array, it does not know the data type, so initialises the array signed_flag to false. We need to set the signed_flag to the correct value once we know the data type, to allow the VPI routines to correctly format the data.

N.B. I've fixed this by inferring the data type from the attached words, rather than passing the information down from the compiler in the .array statement, as that allows the fix to be back-ported to v0.9.

1 Attachments

Discussion

  • And here's a regression test to add to the test suite.

     
    Attachments
  • Cary R.
    Cary R.
    2013-01-22

    • status: open --> closed
     
  • Cary R.
    Cary R.
    2013-01-22

    I applied the appropriate patch to development and V0.9 and added the test code to the test suite.