HDL COSIMULATION is taking too long time
2 views (last 30 days)
Show older comments
I am working on a simulink model given in visionhdlexamples - "visionhdlmedianimagefilter" to generate its HDL code and RTL schematic and simulate it in model sim.
I had used HDL cosimulation for simulating it, but is is taking very long time. I had checked some properties like -
- Shared memory used.
- Timescale used is 1s in simulink is equal to 10 ns in HDL.
I am attaching the screenshot of the model while running showing the very large T (around 4 hours) but it is done with only 25 %. I want to know where I did something wrong ?
Kindly help.
0 Comments
Answers (1)
Bharath Venkataraman
on 20 Feb 2019
You can use he FIL Frame To Pixels and FIL Pixels To Frame blocks - these send in multiple pixels at at time a line or frame at a time) and will help speed up the simulation. You can see an example on how to use these blocks in this help page.
Do let us know if this helped you or if there are improvements we can make to the example.
Bharath
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!