Sequential logic or combinational logic
4 views (last 30 days)
Show older comments
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?
0 Comments
Answers (2)
Sachin Ganjare
on 30 Oct 2012
Edited: Sachin Ganjare
on 30 Oct 2012
I think it is possible, take a look at the link below:
Hope it helps!!!
0 Comments
Tim McBrayer
on 30 Oct 2012
Edited: Tim McBrayer
on 30 Oct 2012
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.
0 Comments
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!