WARP Project Forums - Wireless Open-Access Research Platform

You are not logged in.

#1 2018-Jun-07 00:03:30

vutran
Member
Registered: 2017-Jul-01
Posts: 43

Modify PHY rx 802.11

Hi,

I'm modifying the reference 802.11 design to use 4 antennas. So I need to modifying the Phy_rx pcore. But I have these problem when generating the pcore:

(1) Non-exist file: Unable to read file 'rx_sigs/wlan_tx_HTMF_MCS7_52B.mat'. No such file or directory. This is shown in the Diagnostic Viewer when I open the model.
(2) Rx_sim: Undefined variable "rx_sim" or class "rx_sim.sim_time". This is shown when I generate the pcore. After I press "cancel" on the notification window, the "Compilation status" window get stuck at "Performing compilation and generation".

Can you please help me solve this? Thanks.

Offline

 

#2 2018-Jun-07 01:42:08

vutran
Member
Registered: 2017-Jul-01
Posts: 43

Re: Modify PHY rx 802.11

Hi,
After changing the

Code:

load('rx_sigs/wlan_tx_HTMF_MCS7_52B.mat');wlan_tx_out = wlan_tx_out.';

in wlan_phy_rx_init.m to

Code:

load('rx_sigs/wlan_tx_NONHT_MCS4_52B.mat');wlan_tx_out = wlan_tx_out.';

the following error occurs
Error evaluating 'InitFcn' callback of block_diagram '<a href="matlab:open_system ('wlan_phy_rx_pmd')">wlan_phy_rx_pmd</a>'.

Last edited by vutran (2018-Jun-07 01:42:56)

Offline

 

#3 2018-Jun-07 09:11:42

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

Re: Modify PHY rx 802.11

You should modify that line to load one of the waveforms in the rx_sigs folder, then run the script directly (click Run in the MATLAB editor). The script must run without errors before the Rx Sysgen model can be loaded/simulated/exported.

Offline

 

#4 2018-Jun-07 09:35:12

vutran
Member
Registered: 2017-Jul-01
Posts: 43

Re: Modify PHY rx 802.11

Thanks. I found that there are 2 problems here, and it can be solved by doing the following 2 steps. (1) Modify the line to load the waveform. (2) For newer MATLAB (say 2015a), the template of BITSHIFT is different, so I modify all BITSHIFT in Matlab scripts (replace bitlength = 'uint8/16/32' where relevant.
Anyway, this is solved.

Offline

 

#5 2018-Jun-07 09:43:56

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

Re: Modify PHY rx 802.11

For newer MATLAB (say 2015a), the template of BITSHIFT is different, so I modify all BITSHIFT in Matlab scripts (replace bitlength = 'uint8/16/32' where relevant.

That's true, however Sysgen 14.4 is not supported in newer versions of MATLAB. I would definitely recommend using the supported versions listed in Xilinx AR17996. We use ISE/Sysgen 14.4 for the WARP v3 design - later ISE versions didn't add anything useful but did introduce some new bugs.

Offline

 

#6 2018-Jun-07 09:54:53

vutran
Member
Registered: 2017-Jul-01
Posts: 43

Re: Modify PHY rx 802.11

It's quite strange that Sysgen 14.4 is not compatible with Matlab 2015a though it can launch Matlab. It can simulate the pcore, but when I generate pcore, it cannot find Sysgen license. I tried several combinations, but now Sysgen 14.7 + Matlab2015a on Ubuntu 16.04 64-bit is working.

Offline

 

Board footer