필터 지우기
필터 지우기

"Data-type 'Fix_16_13' is unsupported for HDL code generation "

조회 수: 1 (최근 30일)
Hamid
Hamid 2012년 6월 13일
댓글: Massino 2022년 3월 17일
I am trying to translate my Simulink design to Verilog code from HDL work flow advisor but i get the following error "Data-type 'Fix_16_13' is unsupported for HDL code generation " can you please help me out in this. I am using CORDIC SINCOS core to generate sine wave its output is of Fix_16_13 and workflow advisor is giving error on this output.

답변 (1개)

Tim McBrayer
Tim McBrayer 2012년 6월 13일
You need to find where you have specified "Fix_16_13" and correct the syntax. The string "Fix_16_13" is not a valid Simulink data type specification. If this string is intended to be a Simulink data type string, it should be fixdt(0,16,13) if unsigned, and fixdt(1,16,13) if the type is a signed type.
  댓글 수: 1
Hamid
Hamid 2012년 6월 14일
But i am using Xilinx Blockset Of Cordic SinCos and its output is intended to be Fix_16_13. Can you please tell me how can i change that to your suggested one in the block. Because there i only get to enter the input width 16 and binary point position 13. The output is predefined by the block itself.

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

제품

Community Treasure Hunt

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

Start Hunting!

Translated by