HDL Coder, Bus and Black Box
조회 수: 1 (최근 30일)
이전 댓글 표시
I have a model I use with HDL coder, I have a Referenced Model in it called "AGC".
With the default options, the AGC model has it's code generated in a library called "work_agc" and all its files are mangled to start with the prefix "agc_". This doesn't work for me, so I generate the code for the AGC separately and refer to it as a black box in the parent model.
However, I now want to use Simulink Bus to tidy up the parent model, and I am not allowed to have a Bus comming out of a black box subsystem.
Is there a way I can have:
- The name I want for the AGC, i.e. library name agc and no prefix for the generated files. - Bus coming out of the toplevel.
Thanks,
Jonathan
댓글 수: 0
채택된 답변
Tim McBrayer
2017년 1월 10일
HDL Coder gained bus support for black box HDL architectures in R2015b. Is there a chance you can update your MATLAB release?
댓글 수: 1
추가 답변 (0개)
참고 항목
카테고리
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!