WARP Project Forums - Wireless Open-Access Research Platform

You are not logged in.

#1 2017-Mar-07 04:13:46

hayrettin
Member
Registered: 2017-Feb-28
Posts: 8

802.11 reference design v1.6.2 wlan_phy_rx_pmd

Hi,

I checked out Mango_802.11_RefDes_v1.6.2 and I completed the steps below.

-Changed directory to Mango_802.11_RefDes_v1.6.2\SysGen_Reference\wlan_phy_rx_pmd
-Opened wlan_phy_rx_pmd.mdl
-Updated the Model. It completed without any error.

Then I double click on the System Generator block and push the Generate button. However, I get the following error with a pop-up:

Failed to create status box because: Timed out waiting for a response from GUI to: (0) createStatusBoxObj DISPLAY ENV = ""

And I get below from the console:

ans =

5x1 struct array with fields:
    file
    name
    line

WES:ERROR: Close Wait Box due to exception. Wait Box Object is valid
3x1 struct array with fields:
    file
    name
    line


Have you ever encountered such a problem? Can you help me about this issue?

Offline

 

#2 2017-Mar-07 06:28:12

hayrettin
Member
Registered: 2017-Feb-28
Posts: 8

Re: 802.11 reference design v1.6.2 wlan_phy_rx_pmd

When I simulate it I get these errors as well:


--------------------------------- Version Log ----------------------------------
Version                                 Path
System Generator 14.4                   C:/Xilinx/14.4/ISE_DS/ISE/sysgen
Matlab 8.0.0.783 (R2012b)               C:/Program Files/MATLAB/R2012b
ISE                                     C:/Xilinx/14.4/ISE_DS/ISE
--------------------------------------------------------------------------------
Summary of Errors:
Error 0001: C:/Users/HAYRET~1/AppData/Local/Temp/sysgentmp-hayrettina...
     Block: 'wlan_phy_rx_pmd/CFO & Samp Buffer/Samp Buffer/FSM/MCode'
--------------------------------------------------------------------------------

Error 0001:

Reported by:
  'wlan_phy_rx_pmd/CFO & Samp Buffer/Samp Buffer/FSM/MCode'

Details:

:/Users/HAYRET~1/AppData/Local/Temp/sysgentmp-hayrettinayar/.xlmcode_work/rx_fft_ctrl_fsm/d34/60000000/40a40a00/51983cf635490e8689d52292e585204f/xlsim.c:1:
warning: -fPIC ignored for target (all code is position independent)

C:/Users/HAYRET~1/AppData/Local/Temp/sysgentmp-hayrettinayar/.xlmcode_work/rx_fft_ctrl_fsm/d34/60000000/40a40a00/51983cf635490e8689d52292e585204f/xlsim.c:
In function 'xlsim_update':

C:/Users/HAYRET~1/AppData/Local/Temp/sysgentmp-hayrettinayar/.xlmcode_work/rx_fft_ctrl_fsm/d34/60000000/40a40a00/51983cf635490e8689d52292e585204f/xlsim.c:435:
error: stray '\375' in program

C:/Users/HAYRET~1/AppData/Local/Temp/sysgentmp-hayrettinayar/.xlmcode_work/rx_fft_ctrl_fsm/d34/60000000/40a40a00/51983cf635490e8689d52292e585204f/xlsim.c:435:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 't_23_1'

C:/Users/HAYRET~1/AppData/Local/Temp/sysgentmp-hayrettinayar/.xlmcode_work/rx_fft_ctrl_fsm/d34/60000000/40a40a00/51983cf635490e8689d52292e585204f/xlsim.c:435:
error: 't_23_1' undeclared (first use in this function)

C:/Users/HAYRET~1/AppData/Local/Temp/sysgentmp-hayrettinayar/.xlmcode_work/rx_fft_ctrl_fsm/d34/60000000/40a40a00/51983cf635490e8689d52292e585204f/xlsim.c:435:
error: (Each undeclared identifier is reported only once

C:/Users/HAYRET~1/AppData/Local/Temp/sysgentmp-hayrettinayar/.xlmcode_work/rx_fft_ctrl_fsm/d34/60000000/40a40a00/51983cf635490e8689d52292e585204f/xlsim.c:435:
error: for each function it appears in.)

C:/Users/HAYRET~1/AppData/Local/Temp/sysgentmp-hayrettinayar/.xlmcode_work/rx_fft_ctrl_fsm/d34/60000000/40a40a00/51983cf635490e8689d52292e585204f/xlsim.c:536:
error: stray '\375' in program

C:/Users/HAYRET~1/AppData/Local/Temp/sysgentmp-hayrettinayar/.xlmcode_work/rx_fft_ctrl_fsm/d34/60000000/40a40a00/51983cf635490e8689d52292e585204f/xlsim.c:536:
error: 'st_lts_wa' undeclared (first use in this function)

C:/Users/HAYRET~1/AppData/Local/Temp/sysgentmp-hayrettinayar/.xlmcode_work/rx_fft_ctrl_fsm/d34/60000000/40a40a00/51983cf635490e8689d52292e585204f/xlsim.c:536:
error: expected ';' before 't_23_1'

Program
"C:/Xilinx/14.4/ISE_DS/ISE/gnu/MinGW/Beta/nt64/bin/x86_64-w64-mingw32-gcc.exe"
returned non-zero status (1).

Error occurred during "Simulation Initialization".

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

Offline

 

#3 2017-Mar-07 08:40:19

murphpo
Administrator
From: Mango Communications
Registered: 2006-Jul-03
Posts: 4622

Re: 802.11 reference design v1.6.2 wlan_phy_rx_pmd

That's a strange error message - I've never seen it before. All the errors are related to the rx_fft_ctrl_fsm m-code block. This is a simple state machine implemented in m code; Sysgen translates this to C for simulation and to HDL for implementation. The errors above indicate the translated C file (xlsim.c) could not be compiled. Does that C file still exist on your machine? If so can you post it here (wrapped in a code block). This might give some clue about what when wrong in the M-to-C translation.

Offline

 

#4 2017-Mar-08 08:02:09

hayrettin
Member
Registered: 2017-Feb-28
Posts: 8

Re: 802.11 reference design v1.6.2 wlan_phy_rx_pmd

Unfortunately xlsim.c is not there. It is removed automatically.

I get the same error for prng_useriosrc.mdl below. Could it be something related with the configuration of the tools?

My configuration is:

ISE 14.4 design suit.
Matlab 2011b or 2012b.
Windows 7

I have tried also with 14.7 and I got the same error.


--------------------------------- Version Log ----------------------------------
Version                                 Path
System Generator 14.4                   C:/Xilinx/14.4/ISE_DS/ISE/sysgen
Matlab 7.13.0.564 (R2011b)              C:/Program Files/MATLAB/R2011b
ISE                                     C:/Xilinx/14.4/ISE_DS/ISE
--------------------------------------------------------------------------------
Summary of Errors:
Error 0001: C:/Users/HAYRET~1/AppData/Local/Temp/sysgentmp-hayrettina...
     Block: 'prng_useriosrc/EDK Processor/plb_decode'
--------------------------------------------------------------------------------

Error 0001:

Reported by:
  'prng_useriosrc/EDK Processor/plb_decode'

Details:

:/Users/HAYRET~1/AppData/Local/Temp/sysgentmp-hayrettinayar/.xlmcode_work/xlmax/1ed0/40000000/40a09200/73b417504f0c6d24db0291c5e4263682/xlsim.c:1:
warning: -fPIC ignored for target (all code is position independent)

C:/Users/HAYRET~1/AppData/Local/Temp/sysgentmp-hayrettinayar/.xlmcode_work/xlmax/1ed0/40000000/40a09200/73b417504f0c6d24db0291c5e4263682/xlsim.c:
In function 'xlsim_genout':

C:/Users/HAYRET~1/AppData/Local/Temp/sysgentmp-hayrettinayar/.xlmcode_work/xlmax/1ed0/40000000/40a09200/73b417504f0c6d24db0291c5e4263682/xlsim.c:315:
error: stray '\375' in program

C:/Users/HAYRET~1/AppData/Local/Temp/sysgentmp-hayrettinayar/.xlmcode_work/xlmax/1ed0/40000000/40a09200/73b417504f0c6d24db0291c5e4263682/xlsim.c:315:
error: expected '=', ',', ';', 'asm' or '__attribute__' before 'nearaddr_len_6_1'

C:/Users/HAYRET~1/AppData/Local/Temp/sysgentmp-hayrettinayar/.xlmcode_work/xlmax/1ed0/40000000/40a09200/73b417504f0c6d24db0291c5e4263682/xlsim.c:315:
error: 'nearaddr_len_6_1' undeclared (first use in this function)

C:/Users/HAYRET~1/AppData/Local/Temp/sysgentmp-hayrettinayar/.xlmcode_work/xlmax/1ed0/40000000/40a09200/73b417504f0c6d24db0291c5e4263682/xlsim.c:315:
error: (Each undeclared identifier is reported only once

C:/Users/HAYRET~1/AppData/Local/Temp/sysgentmp-hayrettinayar/.xlmcode_work/xlmax/1ed0/40000000/40a09200/73b417504f0c6d24db0291c5e4263682/xlsim.c:315:
error: for each function it appears in.)

C:/Users/HAYRET~1/AppData/Local/Temp/sysgentmp-hayrettinayar/.xlmcode_work/xlmax/1ed0/40000000/40a09200/73b417504f0c6d24db0291c5e4263682/xlsim.c:407:
error: stray '\375' in program

C:/Users/HAYRET~1/AppData/Local/Temp/sysgentmp-hayrettinayar/.xlmcode_work/xlmax/1ed0/40000000/40a09200/73b417504f0c6d24db0291c5e4263682/xlsim.c:407:
error: 'l' undeclared (first use in this function)

C:/Users/HAYRET~1/AppData/Local/Temp/sysgentmp-hayrettinayar/.xlmcode_work/xlmax/1ed0/40000000/40a09200/73b417504f0c6d24db0291c5e4263682/xlsim.c:407:
error: expected ';' before 'nearaddr_len_6_1'

Program
"C:/Xilinx/14.4/ISE_DS/ISE/gnu/MinGW/Beta/nt64/bin/x86_64-w64-mingw32-gcc.exe"
returned non-zero status (1).

Error occurred during "Simulation Initialization".

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

Offline

 

#5 2017-Mar-08 08:20:13

hayrettin
Member
Registered: 2017-Feb-28
Posts: 8

Re: 802.11 reference design v1.6.2 wlan_phy_rx_pmd

Murphpo, it might be the Xilinx gcc compiler "C:/Xilinx/14.4/ISE_DS/ISE/gnu/MinGW/Beta/nt64/bin/x86_64-w64-mingw32-gcc.exe". How can I make Sytem Generator to use another compiler? Do you have any idea?

Offline

 

#6 2017-Mar-08 09:21:06

murphpo
Administrator
From: Mango Communications
Registered: 2006-Jul-03
Posts: 4622

Re: 802.11 reference design v1.6.2 wlan_phy_rx_pmd

Interesting. That's the same error but for a different (not m-code) block, suggesting it's a deeper problem than the M-to-C flow I described above.

When I run a simulation using Sysgen 14.4 it calls the same compiler (Xilinx/14.4/.../x86_64-w64-mingw32-gcc.exe) to build the simulation models, so I think that's the right compiler path. Something on your system is leading the compiler to behave differently.

Are you using a supported OS for ISE 14.4 (Win XP or Win 7)?
Are you running System Generator via the Xilinx Tools folder in the Start menu (vs. launching MATLAB directly)?
Do you have any environment variables set that might change GCC's behavior (run 'env' in a command window and look for anything with "GCC")?

Offline

 

Board footer