I am getting this error why? I tried sending all rang of data(uint ,sfix ) and tried all type of data conversion, I changed the sample per clock cycle to 8 and decimation to 2

조회 수: 5 (최근 30일)
Data type mismatch. 'Input Port 1' of 'soc_range_doppler_top/RF Data Converter/Sample to Stream1/Variant/ADC_tdata0' expects a signal of data type 'uint32'. However, it is driven by a signal of data type 'ufix128'.
Component:Simulink | Category:Model error
Data type mismatch. 'Output Port 1' of 'soc_range_doppler_top/RF Data Converter/Sample to Stream1/Variant/On' is a signal of data type 'ufix128'. However, it is driving a signal of data type 'uint32'.
Component:Simulink | Category:Model error
  댓글 수: 3
Piyush
Piyush 2023년 6월 20일
that is also an issue we can't open the RF Data Converter IP, can't unmask it.

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

답변 (1개)

prabhat kumar sharma
prabhat kumar sharma 2023년 12월 14일
Hello Piyush,
I understand that you are encountering an error and are also unable to open the "RF Data Converter" block.
Based on the error you've described, the issue appears to be due to a data type mismatch.
The problem is that 'Input Port 1' of the 'ADC_tdata0' block is expecting a signal of data type 'uint32', but it is instead receiving a signal of data type 'ufix128'. To resolve this issue, you need to convert the 'ufix128' data type to 'uint32' before it reaches the 'ADC_tdata0' input port. This conversion can be achieved by inserting a Data Type Conversion block that changes the 'ufix128' signal to 'uint32'. A similar conversion is necessary for 'Output Port 1'.
After you have inserted the necessary conversion blocks, please update the model and verify that there are no remaining data type mismatches.
If no further errors are present, proceed to run the simulation to confirm that the data type conversion does not negatively impact the model's functionality.
Regarding the inability to open the subsystem, please make sure you have tried all the following methods:
There are three different ways to open a subsystem in a new window.
1. Hold the 'Shift' key while double-clicking on the subsystem.
2. Open the Model Browser, and hold the 'Shift' key while clicking on the subsystem in the model browser.
3. Right-click on the subsystem and choose "Open in New Tab."
I hope this helps!

카테고리

Help CenterFile Exchange에서 FPGA, ASIC, and SoC Development에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by