Forum Discussion
Altera_Forum
Honored Contributor
8 years ago --- Quote Start --- Dear all, Please help me out her. counter <= counter + '1'; this is my instruction this is my error. So what is the mistake in it? Error (10327): VHDL error at led_blink.vhd(24): can't determine definition of operator ""+"" -- found 0 possible definitions --- Quote End --- To use "+" operator. you need to include library package. While including library consider following points. 1."use IEEE.std_logic_unsigned.all" in your code with "library IEEE & use IEEE.std_logic_1164.all". Your problem will be solved. 2.Can't use both"signed and unsigned" library together for your counter design. Error will remains. 3.If you use "use IEEE.std_logic_signed.all" in your code with "library IEEE & use IEEE.std_logic_1164.all". Your problem will be solved. Find the image for more details. https://www.alteraforum.com/forum/attachment.php?attachmentid=14264 https://www.alteraforum.com/forum/attachment.php?attachmentid=14265 https://www.alteraforum.com/forum/attachment.php?attachmentid=14266 https://www.alteraforum.com/forum/attachment.php?attachmentid=14267 Best Regards, Tzi Khang, Lim (This message was posted on behalf of Intel Corporation)