process (CLK,RES,CEI,UP)
variable temp:integer;
begin
--if (CEI='0') then
-- OUTP<="0000";
--else
if (RES='1') then
-- OUTP<="0000";
if(UP='1') then
temp := 1;
else
temp := 0 ;
end if;
--temp<=UP;
else
if CLK'event and CLK='1' then
temp:=temp + 1;
end if;
--end if;
end if;
end process;
I get an error
Error, target technology does not contain a DFF with PRESET & CLEAR
variable temp:integer;
begin
--if (CEI='0') then
-- OUTP<="0000";
--else
if (RES='1') then
-- OUTP<="0000";
if(UP='1') then
temp := 1;
else
temp := 0 ;
end if;
--temp<=UP;
else
if CLK'event and CLK='1' then
temp:=temp + 1;
end if;
--end if;
end if;
end process;
I get an error
Error, target technology does not contain a DFF with PRESET & CLEAR