You are not logged in.
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
Hi,
After changing the
load('rx_sigs/wlan_tx_HTMF_MCS7_52B.mat');wlan_tx_out = wlan_tx_out.';
in wlan_phy_rx_init.m to
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
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
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
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
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