how to generate hdl code for the cyclic prefix removal part of NPARCH fromats using the hdl simulink block set

2 views (last 30 days)
here im attaching my cyclic prefix removal code, it contains many for loops. i tried with hdl simulink matlb fuction block, but it does not support for the hdl code generation.
My task is designing signal processing chain for the NPRACH signal in the base station hardware system. In that case, NPRACH has to go through the FFT process inorder shift into the frequency domain. So NPRACH has CPs to removed before take FFT for the NPRACH preambles.
I have attached only the CP removal code part.Just guide me to build the hdl simulink blocks to represent the CP removal.

Accepted Answer

Kiran Kintali
Kiran Kintali on 1 Sep 2023
Edited: Kiran Kintali on 6 Sep 2023
You need to partition your code into design and testbench files and use MATLAB HDL Coder workflow
Try this command to see an example.
>> mlhdlc_demo_setup('heq')
You can find coding patterns and examples for MATLAB here.
Please share modified design and testbench MATLAB files for further assistance.

More Answers (0)

Products


Release

R2023a

Community Treasure Hunt

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

Start Hunting!