Sequential logic or combinational logic

조회 수: 1 (최근 30일)
Bo
Bo 2012년 10월 30일
Dear all,
I have met a problem. It is that timing constraint is not satisfied when my design runs under a very high clock frequency. The problem must be result from combinational logic circuit which is generated by HDL coder.
Here is my question: Can hdl coder generate sequential logic?

답변 (2개)

Sachin Ganjare
Sachin Ganjare 2012년 10월 30일
편집: Sachin Ganjare 2012년 10월 30일

Tim McBrayer
Tim McBrayer 2012년 10월 30일
편집: Tim McBrayer 2012년 10월 30일
Yes, HDL Coder is well equipped to create sequential logic. It has capabilities to help you solve your timing constraints as well. You can generate registers with several direct (appearing in Simulink) modeling approaches:
  • Delay blocks (unit delay, integer delay, tapped delay, etc.)
  • Persistent variables in MATLAB Function blocks
  • Stateflow chart states
Other blocks also model state as part of their innate behavior, such as the Discrete Time Integrator block, FFTs, CORDIC trig implementations, and many more. RAMs can be explicitly modeled by using the RAM blocks available in the hdldemolib library.
In addition, HDL Coder has the ability for you to specify additional input or output pipeline registers on blocks and subsystems. These pipeline registers can also be heuristically distributed throughout a subsystem, or partially or fully constrained to their specified location. Any modifications to your base Simulink design are modeled accurately in the generated HDL and accounted for in HDL Coder's automated test bench generation.
The tool has a large array of capabilities designed for the system designer. I urge you to dig deeper into the documentation and learn more about how HDL Coder can help you solve your design issues.

카테고리

Help CenterFile Exchange에서 Code Generation에 대해 자세히 알아보기

제품

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by