jcl2000
New Contributor
4 years agoError (10327): VHDL error at QA4.vhd(48): can't determine definition of operator "">""
Not sure why i'm getting this error, any help would be appreciated. library ieee; use ieee.std_logic_1164.all; use ieee.numeric_std.all;
Entity Radar is port(rin : in STD_LOGIC_VECTOR(7 downto...
- 4 years ago
I am not a VHDL expert but I believe that the less than ">" operator has been used to compare two type of value: std_logic_vector and integer.
Greater than and less than are relational operators, while using relational operators is that the two numbers being compared must be of the same 'type'. An integer cannot be compared to a std_logic_vector type value.
From what I get from another case:
You can use explicit numeric types SIGNED or UNSIGNED. Alternatively you can use a library that treats all std_logic_vector as SIGNED or UNSIGNED type: IEEE.STD_LOGIC_SIGNED respectively IEEE.STD_LOGIC_UNSIGNED.
I hope it helps.
Best Regards,
Richard Tanp/s: If any answer from the community or Intel support are helpful, please feel free to give Kudos.