Where can I set output and input port of an HDL-supported Simulink model?
3 views (last 30 days)
Show older comments
I am using a Simulink model commqpsktxhdl. I have managed to output HDL code and I found that there 3 inputs including clk, clk-enable and reset and 3 output ports including ce_out, QPSK_RRC_Shaped_re, and QPSK_RRC_Shaped_im. However, I do not find where can I set all these ports. And what I want to do is to change its input data so I need to add input data port. Any suggestions?
0 Comments
Answers (1)
Kiran Kintali
on 13 Apr 2018
Are you looking for how to simulate the generated code? If yes, please try to generate HDL test bench and look at how these clock, clock enable and reset pins are driven.
If you looking interfacing the HDLCoder generated logic to handwritten code look into product demos. Please also check out our automated IP core or turnkey workflows for target specific workflows.
See Also
Categories
Find more on Model Compatibility Checks in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!