Forum Discussion
manpreet_1604
New Contributor
3 years agoTiming Requirements not met
Hi All,
I am using Altera CPLD "EPM7064" as a Replacement of Atmel "ATF1504" the original code was generated and tested for ATF1504 in "pro chip designer tool" using Verilog, when the same code is...
sstrell
Super Contributor
3 years agoThat is not how to define a flipflop. That's why you're getting latches. You need a clock signal (clk) and it should be something like this:
always @(posedge clk or posedge reset) begin if (reset) outflip = 0; else outflip = in; end assign out = outflip; endmodule
"in" cannot be both an input and a clock to create a flipflop.