Potential Bugs in R2014b HDL Coder ('hdlcoder_slsysgen')

1 view (last 30 days)
Vincent
Vincent on 16 Nov 2014
Answered: Kiran Kintali on 24 May 2021
I am using R2014b and Vivado 2014.3. I try to run the 'hdlcoder_slsysgen' demo, which contains a simulink block and a block with sysgen. I am using HDL Coder Workflow Advisor to do the code generation (and setup with Vivado synthesis tools). However, during the code generation phase, the HDL Coder calls a script SgSwitchLibrary.pm but returns an error "cannot find the script file". This script file was no longer supported by Xilinx Vivado 2014.3. This must be a bug. Please help.
  3 Comments
Yongfeng
Yongfeng on 9 Dec 2014
Please note that ISE System Generator is different from Vivado System Generator. The HDL Coder feature of "Using Xilinx System Generator for DSP with HDL Coder" (<http://www.mathworks.com/help/hdlcoder/ug/using-xilinx-system-generator-for-dsp-with-hdl-coder.html> and http://www.mathworks.com/help/hdlcoder/ug/code-generation-with-xilinx-system-generator-subsystems.html ), in which HDL Coder calls System Generator to generate code for Xilinx Blocks, supports only ISE System Generator but not Vivado System Generator in R2014b, although Vivado System Generator by itself may work with Simulink in R2014b. Because of this limitation, the 'hdlcoder_slsysgen' example still works with ISE System Generator, but gives error with Vivado System Generator.

Sign in to comment.

Answers (1)

Kiran Kintali
Kiran Kintali on 24 May 2021
https://www.mathworks.com/help/hdlcoder/ug/using-xilinx-system-generator-for-dsp-with-hdl-coder.html

Community Treasure Hunt

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

Start Hunting!