Comparator- More LUTs,why?
Hi everyone,
I am using the following code for counter. as for me, it should occupy only 32 LUTs for inferring integer counter and the output should be mapped to routing channels. i don't know why it infers 64 LUTs. can any of you explain me.
Entity Comparator_less is
Port ( Data1,Data2 : in Integer;
d : out Integer;
End Comparator_less;
Architecture Behavioral of Comparator_less is
Begin
d <= Data1 when Data1 < Data2 else Data2;
End Behavioral;
Hi everyone,
I am using the following code for counter. as for me, it should occupy only 32 LUTs for inferring integer counter and the output should be mapped to routing channels. i don't know why it infers 64 LUTs. can any of you explain me.
Entity Comparator_less is
Port ( Data1,Data2 : in Integer;
d : out Integer;
End Comparator_less;
Architecture Behavioral of Comparator_less is
Begin
d <= Data1 when Data1 < Data2 else Data2;
End Behavioral;
Last edited: