You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Solves wrong integer initialization when an integer is used as array-index, it is by default initialized as "Integer 'LOW" (-1). The simulator (Questa Sim) reports after a few delta cycles: Fatal error #_#_vindex_integer at <file>
You are indeed right that constants might end up in the sensitivity list with the old version. Here is the final improvement that I made, although I still have to actually test it:
Solves wrong integer initialization when an integer is used as array-index, it is by default initialized as "Integer 'LOW" (-1). The simulator (Questa Sim) reports after a few delta cycles:
Fatal error #_#_vindex_integer at <file>
EDIT: the above goes still wrong with constants in the second argument, maybe the code below is better?
The text was updated successfully, but these errors were encountered: