Forum Discussion
Altera_Forum
Honored Contributor
17 years agoI am interested in pipeline operation in LPM_divide :
--- Quote Start --- Assume the result (x/y) need 1.5 clocks and I set the lpm_divide.lpm_pipeline = 3, Does it mean the lpm_divide just shift register the result with 3 clocks, or sample the result at each clock edge for 3 clocks? --- Quote End --- No answer yet. Not enough information provided by altera PDFs --- Quote Start --- But if it's sampling the result for 3 clocks and get the right result at the last clock edge, i cannot imagine how does the LPM_DIVIDE pipeline realize. --- Quote End --- You can "sample" every 3 clock cycles with D Flip-Flop with Enable and a very small state machine. In my design, I use pipelined LPM_DIVIDE megafunction provided by quartus. I arrange in order numerator to change at every 3 clock cycle only. To do that, I ( I mean Quartus :) ) make a minimal state machine. But I still interested in how pipeline work in LPM_DIVIDE. An other point : Quartus synthesizer employ embedded mult. if they are available in the target chip. excuse for my english, i'm french.