Altera_Forum
Honored Contributor
12 years agoCostas Loop - DSP Builder and ModelPrim blocks - Feedback problem
Hello Everyone,
This is my first DSP Builder project and my first FPGA project. I have designed to the best of my knowledge a working costas loop in Simulink with ModelPrim blocks. The simulation in Simulink works the way I want. However when activating hardware generation I get a "Found insufficient delay attempting...". I have the feeling that this is related to the feedback loop in the model. If I remove the feedback it will generate. Is there an easy fix to make my loop work or should it be implemented differently without feedback ? (wouldn't be a Costas Loop anymore I guess). My second option would be to implement a squaring loop but I can't seem to find a way to divide my squared signal by two.... Any help would be appreciated. Attached is my model, sampled data of my signal and the Cos/Sine LUT. Thanks, Carl