Simulink: 5G NR MIB Recovery Example Providing external inputs

2 Ansichten (letzte 30 Tage)
Danna
Danna am 6 Nov. 2023
Kommentiert: Danna am 21 Jan. 2024
MATLAB: 2022b
OS: Windows 11
Device: ZCU 111 RFSoC
I am working with the example provided by matlab on Xilinx RFSoC devices:
I have loaded bitstream on the device, following which the software model is generated. I would like to provide the model custom inputs for my test case and run it on the hardware.
I do see that I could provide the signal in write event block, as the received signal, but I was wondering if there would be any methods to provide my external inputs here. Thank you.

Antworten (2)

Bhanu Medasani
Bhanu Medasani am 9 Nov. 2023
Hi Danna,
You can follow this example Transmit Signal Waveform Using DDR4 on Xilinx RFSoC Device - MATLAB & Simulink (mathworks.com) , where we showcase how to transmit a waveform provided from a file in MATLAB. In this example the processor uses a bin file copied to SDCard and reads it and moves the data to DDR. You can use this mechanism in the 5G MIB recovery example to feed the required input signal inplace of the "burstWaveform" workspace variable.
Next you can build the model in deployment mode and follow the sequence for each of the test input.
  1. copy the model.elf file to the target.
  2. copy the test.bin for the 1st test.
  3. Run the model.elf and use the test.bin as input.
  4. Once the test results are obtained, kill the model.elf.
  5. repeat steps 2-4 for each of your test inputs.
Please revert if your issue is not addressed or you need more information.
Kind Regards,
Bhanu Medasani

Bhanu Medasani
Bhanu Medasani am 9 Nov. 2023
Hi Danna,
Would like to know if you have access to latest version of MathWorks tools (2023b release), if so we could suggest a better solution.
Regards,
Bhanu Medasani.
  1 Kommentar
Danna
Danna am 21 Jan. 2024
Hi Bhanu,
Thank you for the support, your reply flew under my radar. MATLAB Support with Vivado for this particular example is at 2022b, for Xilinx Vivado 2021.3 hence upgrading for this solution is not an option. However, I follow the example you provided and update you with my findings.
Thanks,
Danna

Melden Sie sich an, um zu kommentieren.

Produkte


Version

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by