Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: HDL Coder code generation fail!
Replies: 0  

Advanced Search

Back to Topic List Back to Topic List  
Hac

Posts: 1
Registered: 8/28/13
HDL Coder code generation fail!
Posted: Aug 27, 2013 11:59 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Hi everyone,

I trying to convert a function written in m-code to its HDL version by Matlab HDL Coder and create a Xilinx System Generator Black Box. Everything went fine from fixed-point conversion until post code generation tasks where the console shows following errors:

### Begin Verilog Code Generation
### Working on PLL_HDL_CODER_FixPt as PLL_HDL_CODER_FixPt.v
### Generating Resource Utilization Report resource_report.html
Error occurred when running post codegeneration tasks
Error: failed to run post code generation tasks:
MATLAB:builtins:BadDataType In 'hdlcoder:matlabhdlcoder:porttypeforXSG', data type supplied is incorrect for parameter {2}.

I guess Xilinx System Generator doesn't accept data type provided by HDL Coder. And by the way, where is parameter {2}? To be honest, Matlab console and error tracing are rather ambiguous to me.



Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.