Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
16606 Discussions

combinational loops as latches produced while using generate & for

Altera_Forum
Honored Contributor II
1,093 Views

PLease see the attached files.  

 

I am trying to get some feelings on warnings for combinational loops as latches. The first attached file generates many inferred latches. By adding a clocks, the second attachment generates 512 combinational loops as latches.  

 

Any analysis on the situation? And any advice on how to fix the warning while keeping the original functionality?
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
230 Views

It's completely unclear what you are trying to achieve. You are describing asynchronous "memory" by writing data under always @(*). It can be only synthesized as combinational loop with recent Altera FPGA. 

 

There's no significant difference between both examples regarding latch inference.
0 Kudos
Reply