sending complex signal through AXI-lite

hello,
i am using zynq706. i want to send a complex signal through AXI4-lite into FPGA. i have made the bit file of it. but when i run the interface model, AXI4-lite only 1 sample each time and not a whole frame . so is there any method to send a whole frame instead of 1 sample of that frame.
THANKS

Answers (1)

Hi Hassan,
HDL Coder does not currently support sending complex data over AXI4-Lite directly. As a workaround, you can split the complex signal into real and imaginary parts and concatenate them as a vector. You can then map this vector to AXI4-Lite and reconstruct the complex signal inside of the DUT.
Best,
JT

2 Comments

Thanks for the response.
i have already tried the above mention method, but it gives only 1 sample each time when the simulation is running and not a whole frame. i have generated HDL code of this design. but when i start the simulation, AX_4 lite only passes 1 sample of the frame and not a whole frame. i want to multiply the whole frame with incoming data receiving from AD9361 receiver.
THANKS
Hi Hassan,
Can you please share you model so that I may better understand your design?
Ports mapped to AXI4-Lite will become registers in the generated code. If you want to send a frame data, it may be better to use the AXI4-Stream interface. You can learn more about modeling for the AXI4-Stream interface here:
Note that the AXI4-Stream interface supports complex ports.

Sign in to comment.

Categories

Find more on Code Generation in Help Center and File Exchange

Asked:

on 7 Feb 2022

Commented:

on 9 Feb 2022

Community Treasure Hunt

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

Start Hunting!