- copy the model.elf file to the target.
- copy the test.bin for the 1st test.
- Run the model.elf and use the test.bin as input.
- Once the test results are obtained, kill the model.elf.
- repeat steps 2-4 for each of your test inputs.
Simulink: 5G NR MIB Recovery Example Providing external inputs
1 次查看(过去 30 天)
显示 更早的评论
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.
0 个评论
回答(2 个)
Bhanu Medasani
2023-11-9
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.
Please revert if your issue is not addressed or you need more information.
Kind Regards,
Bhanu Medasani
0 个评论
Bhanu Medasani
2023-11-9
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.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Outputs 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!