Xilinx System Generator and HDL Workflow Advisor
조회 수: 1 (최근 30일)
이전 댓글 표시
I use Xilinx Blockset/Basic Elements/Black Box to integrate my hand-writing VHDL code under my "Top" subsystem block, and then I want to use HDL Workflow Advisor to generate my FPGA block. I got the error message.
Error reported by S-function 'sysgen' in 'blackbox_fpga/Top/Black Box': An internal error occurred in the Xilinx Blockset Library.
Thanks in advance for any help.
댓글 수: 0
채택된 답변
Kaustubha Govind
2012년 1월 30일
As far as I know, you need to use Xilinx System Generator to generate code from their blocks. They are not supported directly with Simulink HDL Coder. Refer to Xilinx documentation or support forums for information about using System Generator.
댓글 수: 0
추가 답변 (1개)
Tim McBrayer
2012년 1월 30일
I think you are using the wrong block to import your own black box code. As Kaustubha stated, the block you have chosen is specific to Xilinx System Generator and works only with that tool. To bring your custom code into Simulink HDL Coder, you can use a normal Simulink subsystem. Set its HDL Implementation Architecture to 'BlackBox' via the right-click context menu:
- Right-click on the subsystem.
- Choose 'HDL Code -> HDL Block Properties...".
- For the Implementation Architecture, choose "BlackBox".
- Set the parameters of the Black Box to match your code.
- Click 'OK' when done.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 External Component Interfaces에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!