abionnnn
Member level 1
ISE Synthesis problem
I'm missing some fundemental understanding of the synthesis process in ISE. Can you explain why the following two pieces of code generate different behaviour?
As you may guess, the second one sends through the previous direction on edge detection.
I'm missing some fundemental understanding of the synthesis process in ISE. Can you explain why the following two pieces of code generate different behaviour?
Code:
if (filter_rota && !delayed_rota) begin
enable <= 1;
direction <= filter_rotb;
end
else begin
enable <= 0;
direction <= direction;
end
Code:
enable <= filter_rota && !delayed_rota;
if (enable)
direction <= filter_rotb;
As you may guess, the second one sends through the previous direction on edge detection.