필터 지우기
필터 지우기

Data-type 'Bool' is unsupported for HDL code generation

조회 수: 2 (최근 30일)
shankar
shankar 2012년 6월 9일
i am designing simulink model with xilinx blocksets and simulink block sets when i tried to generate hdl code it is showing error Data-type 'Bool' is unsupported for HDL code generation
Gateway in is configured for boolean data type
  댓글 수: 1
Walter Roberson
Walter Roberson 2012년 6월 11일
http://www.mathworks.com/matlabcentral/answers/29922-why-your-question-is-not-urgent-or-an-emergency

댓글을 달려면 로그인하십시오.

답변 (2개)

Yongfeng
Yongfeng 2012년 6월 11일
Bool is not a Simulink data type and HDL Coder is not able to generate code for it. That is what the error says.
Please check your model to find how Bool propagates from Xilinx scope (between gateway-in and gate-way out) to Simulink blocks and try to avoid it. Alternatively, you can convert it to fixed-point data type, such as (U)Fix_1_0. HTH

Kaustubha Govind
Kaustubha Govind 2012년 6월 11일
Seems like this might be a Xilinx System Generator limitation. It might be best if you try contacting Xilinx Support, because not a lot of people on this forum have experience with System Generator.

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by