en_flop : process (clk) is
begin
    if (rising_edge(clk)) then
        if (ce = '1') then
            q <= d;
        end if; // ce
    end if; // clock
end process en_flop;