A
AnamDar
Guest
I am receiving this error in xilinx
ERROR:Xst:899 - "../../rtl/dff.v" line 7: The logic for <qout> does no
match a known FF or Latch template.
The code being synthesizd is:
module dff(output reg qout, input clok, rst,d,enf);
always @(posedge clok or negedge rst)
begin
if(enf)
begin
if(rst)
qout<=0;
else
qout<=d;
end
end
endmodule
can anyone guide me where i am going wrong?
--------------------------------------
Posted through http://www.FPGARelated.com
ERROR:Xst:899 - "../../rtl/dff.v" line 7: The logic for <qout> does no
match a known FF or Latch template.
The code being synthesizd is:
module dff(output reg qout, input clok, rst,d,enf);
always @(posedge clok or negedge rst)
begin
if(enf)
begin
if(rst)
qout<=0;
else
qout<=d;
end
end
endmodule
can anyone guide me where i am going wrong?
--------------------------------------
Posted through http://www.FPGARelated.com