Forum Discussion
Altera_Forum
Honored Contributor
9 years agointeger overflow
Can anyone explain me why ModelSim Intel Starter Edition 10.5b does not complain about integer overflows, i.e. why the following code process
variable n : integer;
begin
n := 0;
r...
Altera_Forum
Honored Contributor
9 years agoInteresting - it could possibly be a bug - BUT
It could be that integer implementation in VHDL is tool dependent, and not defined in the VHDL LRM. So you cannot check the range of the 32 bit integer if it goes over 32 bits! Raise a ticket with mentor and see what they say.