> Brian Drummond wrote: > > > > AAAH! do you have anti-virus running? If you (go offline and) > > turn it off, do we get the printf? > > > Still no printf to be seen with antivirus off. > > > > > what raises the overflow? > > > FWIW, if I force an Integer-Out-of-Range error ( as opposed to an > Index-Out-of-Range error ), I get the desired results: > c:\ghdl\ghdl-0.31-patched\bin\ghdl.exe:error: bound check failure > at > integer_range_test.vhd:15 > c:\ghdl\ghdl-0.31-patched\bin\ghdl.exe:error: simulation failed
Yes, but an out of range integer is handled like an out of range index. Overflows are triggered when a result is not representable, e.g.: integer'high + 1 Tristan. _______________________________________________ Ghdl-discuss mailing list [email protected] https://mail.gna.org/listinfo/ghdl-discuss
