The Math Forum

Search All of the Math Forum:

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

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

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: HDL Coder code generation fail!
Replies: 0  

Advanced Search

Back to Topic List Back to Topic List  

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]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.