Forum Discussion
Altera_Forum
Honored Contributor
10 years ago --- Quote Start --- You can't do that because 0 is an integer. Also note that unsigned is binary, not base 10. You need to convert to an unsigned from an integer. Op <= to_unsigned(0, op'length); This should also work. Op <= (others => '0'); The ops problem sounds like a syntax error. Why not post the actual code? --- Quote End --- Hi, I have no idea what the problem was but i reverted my code to a previous save and made my changes one by one and it worked! i wish i knew what caused the problem in the first place, but i cant even seem to reproduce it now.