FvM,
What do you think about this code?
-----------------------------------------
process (data_1, data_2, result) is
begin
if data_1 = data_2 then
result <= '1';
else
result <= '0';
end if;
end process;
-----------------------------------------
Assuming that data_1 and data_2 are vectors - the above shall synthesize to a simple combinatorial comparator.
Other than the "loop" statetment, it's no different from what I wrote before...so why do you say that the flag handling is erroneous?