Where can I set output and input port of an HDL-supported Simulink model?
1 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(1 个)
Kiran Kintali
2018-4-13
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.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Model Compatibility Checks 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!