Altera_Forum
Honored Contributor
14 years agoUnsigned number math
Greetings,
Apparently when using unsigned numbers if you are performing a math operation using a statement like if shortwait = (others => '0') then next line of code.... is not allowed but you can overload an operator and compare it to an integer if shortwait = 0 then next line of code.... The above works, Can someone explain to me why I can get away with this and why I cannot use (others => '0') ? Thanks as always Bill