Forum Discussion
Altera_Forum
Honored Contributor
18 years agoError 10327: Can't determine definition of operator ""+""
Hello to everybody, could someone tell me what's wrong in the following code? library ieee; use ieee.std_logic_1164.all; use ieee.numeric_std.all; entity round16to12 is ...
Altera_Forum
Honored Contributor
10 years agoyou realise there are issues with this, because the final result can be -4 to +4. You declared adaptacao as an array of unsigned(2 downto 0), so while this only represents 0 to 7, if the input is 10101010 or 01010101 then apdaptacao will be 100 (+4)