If I convert two std_logic_vector with values 1 and 0 respectively
signal mlx, mtx : std_logic_vector(15 downto 0)
into a integer through
variable WLX : integer;
variable WTX : integer;
WLX := TO_INTEGER(signed(mlx));
WTX := TO_INTEGER(signed(mtx));
and after that compare the subtraction of these with -1 literal:
if WTX-WLX = -1
The result will be true?
Thanks