Generating asynchronous delays with HDL coder in Simulink
4 views (last 30 days)
Show older comments
Hi,
actually VHDL language supports various methods to model asynchronous delays of signals such as "transport" "inertial" and "wait".
Unfortunately it seems that HDL coder library does not include any supported block to model this functions, I can find only the Z^-1 block.
Is there any way to emit a propagation delay of a signal in the ouput code?
Thank you
0 Comments
Accepted Answer
Ryan Baird
on 21 Feb 2023
Since transport delays, inertial delays, and wait statements are simulation-only, non-synthesized VHDL constructs that are ignored by synthesis tools and are not guaranteed to accurately reflect what will happen in hardware, HDL Coder uses some of them in testbench code to model timing but does not currently provide a way to model your own.
If you're just looking to see the signal propagation so you can see how a value was computed, whichever simulator you're using likely has a way to expand delta cycles.
More Answers (0)
See Also
Categories
Find more on HDL Coder 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!