Code generation option in HDL coder for high clock frequency
显示 更早的评论
Hi,
I am working with simulink model whose code is generated by HDL coder. My design has a number of filter stages. The code generated for some filter stages performed as desired in FPGA .But when the design moves to higher clock frequencies HDL coder generated code fails to perform satisfactorily.The output waveform shows unneccessary and momentary variations contradictory to simulation output in the form of spikes.The transmitted waveform is observed by capturing the output in computer monitor using Chip Scope.Please inform me if there is any option to be activated in HDL coder for optimized clock generation in higher frequencies.
Krishnakumar
回答(1 个)
Girish Venkataramani
2014-3-3
0 个投票
- How did you arrive at the clock frequency? Did you set it as a synthesis constraint? Was that constraint met? What was the clock frequency ISE reported and what have you set the frequency to when running on the FPGA? Do you see the same glitches when you slow down the clock?
- Are you registering your outputs? If not, it’s possible you may see glitches especially if there is a combinational path from a register to the point where you inserted the chipscope.
类别
在 帮助中心 和 File Exchange 中查找有关 Speed and Area Optimization 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!