Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

what is wrong in this code?

Status
Not open for further replies.

geanni

MIS
Jan 24, 2005
1
RO
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

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top