Hi,
        This code compiled okay but gave bound check when run.
signal cycle_ctr : unsigned(3 downto 0);
cycle_ctr <= cycle_ctr + x"01";
I change it to cycle_ctr <= cycle_ctr + x"1"; and it compiled and ran
okay.
Question should this have been flagged as an error at compile rather
than run since I was adding an byte to a nibble?  Regards Ian.



_______________________________________________
Ghdl-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/ghdl-discuss

Reply via email to