latch : process (le, d) is
begin
    if (le = '1') then
        q <= d;
    end if;
end process latch;