Where can I set output and input port of an HDL-supported Simulink model?

1 vue (au cours des 30 derniers jours)
luckfy zhang
luckfy zhang le 12 Avr 2018
Commenté : luckfy zhang le 13 Avr 2018
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?

Réponses (1)

Kiran Kintali
Kiran Kintali le 13 Avr 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.
  1 commentaire
luckfy zhang
luckfy zhang le 13 Avr 2018
Thanks for your reply. I mean the later part of your answer. In other words, I am wondering where can I set input and output ports of a Simulink model, which could be transformed to HDL model ports. Where can I find "turnkey workflow" and reference of automated IP? I do have checked reference provided by Mathworks on commqpsktxhdl, but I didn't find that kind of settings.

Connectez-vous pour commenter.

Produits

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by