Update Diagram fails on "No Connect" Cosim block

1 view (last 30 days)
Darryl Yu
Darryl Yu on 1 Mar 2022
Commented: Darryl Yu on 2 Mar 2022
Currently we have a blackbox instantiation for our simulink block representation of a handwritten HDL module. Within the black-box, we have instantiated a cosim block for the sake of simulation.
At a higher level, we have defined a variant subsystem where one variant has the cosim block configured for simulation while the other has the cosim block configured as "No Connect" (to speed up HDL code generation).
The issue is that the variant configuration with the "No Connect" is generating this error:
Error reported by S-function 'shdlcosim' in 'dtc_core_system/DTC_CORE/DSP_band_0/RX Path/rx_chan/chan_wrapper/Stratus_Channelizer_No_Connect/Channelizer/no_tdm_Channelizer/S-Function': Handshaking with the server failed - Server was NOT an 'HDL Link' server, change the port
Port shouldn't matter for a cosim block in "No Connect" form. In prior projects, this issue did not used to happen. Currently using Matlab 2020b.

Answers (1)

Kiran Kintali
Kiran Kintali on 1 Mar 2022
Can you share a sample model with your usecase?
  3 Comments
Darryl Yu
Darryl Yu on 2 Mar 2022
Ok got it. I will go ahead and pursue that route. Will try to close out the answer to this question myself once I receive the answer. Thank you for your help!

Sign in to comment.

Products


Release

R2020b

Community Treasure Hunt

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

Start Hunting!