cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Explorer
Explorer
2,508 Views
Registered: ‎04-19-2016

System generator error: stray '\375' in program

Jump to solution

Hello,

 

I try to simulate the example demo of the system generator  : Two Dimensional FFT using Corner Turning Tecnique...

 

However below error is received. It is seen mostly related to c/c++ compiling of the DSP48E simulation sources. Is there any solution offer? 

 

Error 0001:

Reported by:
'sysgenMRI_2D_FFT/Corner_Turn_Memory/DSP48_MUX/DSP48E1 '

Details:

:/Users/$/AppData/Local/Temp/sysgentmp-$/.xlmcode_work/xlDSP48E1/11b8/0/40622002/555c4c86a73ca69ae3a28a56f5b6c8ab/xlsim.c:1:
warning: -fPIC ignored for target (all code is position independent)
C:/Users/$/AppData/Local/Temp/sysgentmp-$/.xlmcode_work/xlDSP48E1/11b8/0/40622002/555c4c86a73ca69ae3a28a56f5b6c8ab/xlsim.c:
In function 'xlsim_update':
C:/Users/$/AppData/Local/Temp/sysgentmp-$/.xlmcode_work/xlDSP48E1/11b8/0/40622002/555c4c86a73ca69ae3a28a56f5b6c8ab/xlsim.c:896:
warning: integer constant is too large for 'long' type
C:/Users/$/AppData/Local/Temp/sysgentmp-$/.xlmcode_work/xlDSP48E1/11b8/0/40622002/555c4c86a73ca69ae3a28a56f5b6c8ab/xlsim.c:988:
error: stray '\375' in program
C:/Users/$/AppData/Local/Temp/sysgentmp-$/.xlmcode_work/xlDSP48E1/11b8/0/40622002/555c4c86a73ca69ae3a28a56f5b6c8ab/xlsim.c:988:
error: expected '=', ',', ';', 'asm' or '__attribute__' before '_3_626_5'
C:/Users/$/AppData/Local/Temp/sysgentmp-$/.xlmcode_work/xlDSP48E1/11b8/0/40622002/555c4c86a73ca69ae3a28a56f5b6c8ab/xlsim.c:988:
error: '_3_626_5' undeclared (first use in this function)
C:/Users/$/AppData/Local/Temp/sysgentmp-$/.xlmcode_work/xlDSP48E1/11b8/0/40622002/555c4c86a73ca69ae3a28a56f5b6c8ab/xlsim.c:988:
error: (Each undeclared identifier is reported only once
C:/Users/$/AppData/Local/Temp/sysgentmp-$/.xlmcode_work/xlDSP48E1/11b8/0/40622002/555c4c86a73ca69ae3a28a56f5b6c8ab/xlsim.c:988:
error: for each function it appears in.)

 

Best regards,

Tags (1)
0 Kudos
1 Solution

Accepted Solutions
Highlighted
Moderator
Moderator
2,458 Views
Registered: ‎08-01-2007

Can you try to reduce the logic to only have the DSP48E included in the model? Is the issue still present?

View solution in original post

0 Kudos
8 Replies
Highlighted
Moderator
Moderator
2,459 Views
Registered: ‎08-01-2007

Can you try to reduce the logic to only have the DSP48E included in the model? Is the issue still present?

View solution in original post

0 Kudos
Highlighted
Explorer
Explorer
2,195 Views
Registered: ‎04-19-2016

Dear @nathanx,

 

Sorry for this big delay. I missed my this post.

 

I reduce the example design to only DSP48E blocks. When I run the simulation, sysgen_error_log file is seen as below;

 

Summary of Errors:
Error 0001: Undriven input port
Block: 'sysgenMRI_2D_FFT_03112018/Corner_Turn_Memory/DSP48_MUX/DSP48E1 '
Error 0002: Undriven input port
Block: 'sysgenMRI_2D_FFT_03112018/Corner_Turn_Memory/DSP48_MUX/DSP48E1 1'
--------------------------------------------------------------------------------

Error 0001:

Reported by:
'sysgenMRI_2D_FFT_03112018/Corner_Turn_Memory/DSP48_MUX/DSP48E1 '

Details:
The input ports on this block must be driven by other Xilinx blocks
--------------------------------------------------------------------------------

Error 0001:

Reported by:
'sysgenMRI_2D_FFT_03112018/Corner_Turn_Memory/DSP48_MUX/DSP48E1 1'

Details:
The input ports on this block must be driven by other Xilinx blocks
--------------------------------------------------------------------------------

 

Thank you so much,

@doner_t

Tags (2)
0 Kudos
Highlighted
Explorer
Explorer
2,178 Views
Registered: ‎04-19-2016

Dear @nathanx,

 

I have tried the same example with Vivado 2018.1 and Matlab 2017b.  Exactly the same error is seen here. You can see log file below. I have changed the DSP48 blocks in design with some other DSP48 in library. But the result is not changed.

 

--------------------------------- Version Log ----------------------------------
Version Path
System Generator 2018.1 D:/Xilinx/Vivado/2018.1
Matlab 9.3.0.713579 (R2017b) C:\Program Files\MATLAB\R2017b
Vivado 2018.1 D:/Xilinx/Vivado/2018.1
--------------------------------------------------------------------------------
Summary of Errors:
Error 0001: C:/Users/AppData/Local/Temp/sysgentmp/.xlmcod...
Block: 'sysgenMRI_2D_FFT_orig/Corner_Turn_Memory/DSP48_MUX/DSP48E1 '
--------------------------------------------------------------------------------

Error 0001:

Reported by:
'sysgenMRI_2D_FFT_orig/Corner_Turn_Memory/DSP48_MUX/DSP48E1 '

Details:

:/Users/AppData/Local/Temp/sysgentmp/.xlmcode_work/xlDSP48E1/4668/0/40622002/555c4c86a73ca69ae3a28a56f5b6c8ab/xlsim.c:1:
warning: -fPIC ignored for target (all code is position independent)
C:/Users/AppData/Local/Temp/sysgentmp-/.xlmcode_work/xlDSP48E1/4668/0/40622002/555c4c86a73ca69ae3a28a56f5b6c8ab/xlsim.c:
In function 'xlsim_update':
C:/Users/AppData/Local/Temp/sysgentmp/.xlmcode_work/xlDSP48E1/4668/0/40622002/555c4c86a73ca69ae3a28a56f5b6c8ab/xlsim.c:896:
warning: integer constant is too large for 'long' type
C:/Users/AppData/Local/Temp/sysgentmp/.xlmcode_work/xlDSP48E1/4668/0/40622002/555c4c86a73ca69ae3a28a56f5b6c8ab/xlsim.c:988:
error: stray '\375' in program
C:/Users/AppData/Local/Temp/sysgentmp/.xlmcode_work/xlDSP48E1/4668/0/40622002/555c4c86a73ca69ae3a28a56f5b6c8ab/xlsim.c:988:
error: expected '=', ',', ';', 'asm' or '__attribute__' before '_3_626_5'
C:/Users/AppData/Local/Temp/sysgentmp/.xlmcode_work/xlDSP48E1/4668/0/40622002/555c4c86a73ca69ae3a28a56f5b6c8ab/xlsim.c:988:
error: '_3_626_5' undeclared (first use in this function)
C:/Users/AppData/Local/Temp/sysgentmp/.xlmcode_work/xlDSP48E1/4668/0/40622002/555c4c86a73ca69ae3a28a56f5b6c8ab/xlsim.c:988:
error: (Each undeclared identifier is reported only once
C:/Users/AppData/Local/Temp/sysgentmp/.xlmcode_work/xlDSP48E1/4668/0/40622002/555c4c86a73ca69ae3a28a56f5b6c8ab/xlsim.c:988:
error: for each function it appears in.)
C:/Users/AppData/Local/Temp/sysgentmp/.xlmcode_work/xlDSP48E1/4668/0/40622002/555c4c86a73ca69ae3a28a56f5b6c8ab/xlsim.c:1755:
warning: integer constant is too large for 'long' type
C:/Users/AppData/Local/Temp/sysgentmp/.xlmcode_work/xlDSP48E1/4668/0/40622002/555c4c86a73ca69ae3a28a56f5b6c8ab/xlsim.c:1791:
warning: integer constant is too large for 'long' type
C:/Users/AppData/Local/Temp/sysgentmp/.xlmcode_work/xlDSP48E1/4668/0/40622002/555c4c86a73ca69ae3a28a56f5b6c8ab/xlsim.c:2619:
error: stray '\375' in program
C:/Users/AppData/Local/Temp/sysgentmp/.xlmcode_work/xlDSP48E1/4668/0/40622002/555c4c86a73ca69ae3a28a56f5b6c8ab/xlsim.c:2619:
error: 'mux_c' undeclared (first use in this function)
C:/Users/AppData/Local/Temp/sysgentmp/.xlmcode_work/xlDSP48E1/4668/0/40622002/555c4c86a73ca69ae3a28a56f5b6c8ab/xlsim.c:2619:
error: expected ';' before '_3_626_5'
Program
"D:/Xilinx/Vivado/2018.1/tps/mingw/4.4.3/win64.o/nt64/bin/x86_64-w64-mingw32-gcc.exe"
returned non-zero status (1).

Error occurred during "Simulation Initialization".

--------------------------------------------------------------------------------

Tags (2)
0 Kudos
Highlighted
Moderator
Moderator
2,167 Views
Registered: ‎08-01-2007

If you have DSP48 block only, you still need to drive the inputs of DSP48 block, otherwise you will get errors.

 

It sounds like the error persists for every sysgen design? Is that true? Can you try a very simple sysgen design, with an adder, and two inputs sent to adder, and a output?

 

Have you tried to run Vivado Simulator? Is it working?

 

Have you tried to re-install the tools(Vivado)?

 

 

0 Kudos
Highlighted
Explorer
Explorer
2,149 Views
Registered: ‎04-19-2016

Dear @nathanx,

 

I have tried basic adder, it works properly. In addition, I have tried the a few system generator examples design given under the Vivado\2018.1\examples\sysgen_demos file.They also works properly in 2018.1 System Generator (Matlab 2017b).

 

I have also tried the DSP48E1 block only as seen below. I have received the above same error as given log below. Probably problem in this DSP48E1 block. 

 

--------------------------------- Version Log ----------------------------------
Version Path
System Generator 2018.1 D:/Xilinx/Vivado/2018.1
Matlab 9.3.0.713579 (R2017b) C:\Program Files\MATLAB\R2017b
Vivado 2018.1 D:/Xilinx/Vivado/2018.1
--------------------------------------------------------------------------------
Summary of Errors:
Error 0001: C:/Users/AppData/Local/Temp/sysgentmp/.xlmcod...
Block: 'sysgenMRI_2D_FFT_deneme/DSP48E1 '
--------------------------------------------------------------------------------

Error 0001:

Reported by:
'sysgenMRI_2D_FFT_deneme/DSP48E1 '

Details:

:/Users/AppData/Local/Temp/sysgentmp/.xlmcode_work/xlDSP48E1/36bc/c0000000/40886188/555c4c86a73ca69ae3a28a56f5b6c8ab/xlsim.c:1:
warning: -fPIC ignored for target (all code is position independent)
C:/Users//AppData/Local/Temp/sysgentmp/.xlmcode_work/xlDSP48E1/36bc/c0000000/40886188/555c4c86a73ca69ae3a28a56f5b6c8ab/xlsim.c:
In function 'xlsim_update':
C:/Users/AppData/Local/Temp/sysgentmp/.xlmcode_work/xlDSP48E1/36bc/c0000000/40886188/555c4c86a73ca69ae3a28a56f5b6c8ab/xlsim.c:896:
warning: integer constant is too large for 'long' type
C:/Users/AppData/Local/Temp/sysgentmp/.xlmcode_work/xlDSP48E1/36bc/c0000000/40886188/555c4c86a73ca69ae3a28a56f5b6c8ab/xlsim.c:988:
error: stray '\375' in program
C:/Users/AppData/Local/Temp/sysgentmp/.xlmcode_work/xlDSP48E1/36bc/c0000000/40886188/555c4c86a73ca69ae3a28a56f5b6c8ab/xlsim.c:988:
error: expected '=', ',', ';', 'asm' or '__attribute__' before '_3_626_5'
C:/Users/AppData/Local/Temp/sysgentmp/.xlmcode_work/xlDSP48E1/36bc/c0000000/40886188/555c4c86a73ca69ae3a28a56f5b6c8ab/xlsim.c:988:
error: '_3_626_5' undeclared (first use in this function)
C:/Users/AppData/Local/Temp/sysgentmp/.xlmcode_work/xlDSP48E1/36bc/c0000000/40886188/555c4c86a73ca69ae3a28a56f5b6c8ab/xlsim.c:988:
error: (Each undeclared identifier is reported only once
C:/Users/AppData/Local/Temp/sysgentmp/.xlmcode_work/xlDSP48E1/36bc/c0000000/40886188/555c4c86a73ca69ae3a28a56f5b6c8ab/xlsim.c:988:
error: for each function it appears in.)
C:/Users/AppData/Local/Temp/sysgentmp/.xlmcode_work/xlDSP48E1/36bc/c0000000/40886188/555c4c86a73ca69ae3a28a56f5b6c8ab/xlsim.c:1755:
warning: integer constant is too large for 'long' type
C:/Users/AppData/Local/Temp/sysgentmp/.xlmcode_work/xlDSP48E1/36bc/c0000000/40886188/555c4c86a73ca69ae3a28a56f5b6c8ab/xlsim.c:1791:
warning: integer constant is too large for 'long' type
C:/Users/AppData/Local/Temp/sysgentmp/.xlmcode_work/xlDSP48E1/36bc/c0000000/40886188/555c4c86a73ca69ae3a28a56f5b6c8ab/xlsim.c:2619:
error: stray '\375' in program
C:/Users/AppData/Local/Temp/sysgentmp/.xlmcode_work/xlDSP48E1/36bc/c0000000/40886188/555c4c86a73ca69ae3a28a56f5b6c8ab/xlsim.c:2619:
error: 'mux_c' undeclared (first use in this function)
C:/Users/AppData/Local/Temp/sysgentmp/.xlmcode_work/xlDSP48E1/36bc/c0000000/40886188/555c4c86a73ca69ae3a28a56f5b6c8ab/xlsim.c:2619:
error: expected ';' before '_3_626_5'
Program
"D:/Xilinx/Vivado/2018.1/tps/mingw/4.4.3/win64.o/nt64/bin/x86_64-w64-mingw32-gcc.exe"
returned non-zero status (1).

Error occurred during "Simulation Initialization".

--------------------------------------------------------------------------------

 

Thank you,

@doner_t

Tags (2)
only_dsp48e1_error.JPG
0 Kudos
Highlighted
Explorer
Explorer
2,130 Views
Registered: ‎04-19-2016

Dear @nathanx,

 

Below the some extra details;

 

*Why do I try to run this example (sysgenMRI_2D_FFT) design --> I need to implement/simulate 2D FFT in system generator by using Xilinx 1D FFT block. This example design contains 2D-FFT. If you have a different implementation of 2D FFT, you can offer it.

*Could you please try to run sysgenMRI_2D_FFT example of System Generator in your own PC? 

*My PC operationg system is Windows-10.

 

Best Regards,

@doner_t

0 Kudos
Moderator
Moderator
2,087 Views
Registered: ‎08-01-2007

I have tried the demo, it works, my os is Win7, however, I don't think this is due to the different OS, have you tried to re-install Matlab?

0 Kudos
Highlighted
Explorer
Explorer
2,076 Views
Registered: ‎04-19-2016

@nathanx,

Thank you for trying. I have also tried this example design on a Win-7 PC. It works properly. Sure, I have tried the Matlab re-installing. But, problem is seen again.

In my Win-10 PC, I have modified the example design a little. That is basicly replacing the all DSP48 blocks (only there are 2) in design with MUX. Because DSP48 block in this design used for multiplexing purpose. Now, example design works properly in my Win-10 PC. 

 

Thank you, 

Tags (2)
0 Kudos