sending complex signal through AXI-lite

4 views (last 30 days)
Hassan Khan
Hassan Khan on 7 Feb 2022
Commented: JT Ferrara on 9 Feb 2022
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)

JT Ferrara
JT Ferrara on 7 Feb 2022
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
JT Ferrara
JT Ferrara on 9 Feb 2022
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.

Community Treasure Hunt

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

Start Hunting!