How do I generate HDL Code for my model that has frame based communication in Simulink HDL Coder 2.1 (R2011a)?
Show older comments
I have a model that simulates a communication system. This model has some frame based communication. How can I generate HDL code for this model?
Accepted Answer
More Answers (1)
Bharath Venkataraman
on 9 Jun 2022
0 votes
I have one clarification on your question. When you say "frame based communication" - are you referring to processing multiple samples per clock processing, or are you referring to a frame structure.
The earlier answer talks about processing multiple samples per clock.
If you are talking about frames of data (ina communications sense). there ae several examples that show how to model this kind of processing using scalar data and control signals. Here are some links to those examples:
Categories
Find more on Code Generation in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!