Feeding ADC input to DAC output with Math Operation
Posted: Sat Mar 03, 2018 11:57 pm
Hello everyone, I'm quite new to FPGAs, so excuse me for posting about a rather simple problem. I know how to use Vivado to program the FPGA so that the two fast outputs have the same signal as the two inputs. However, I want to go a step further, and multiply one of the inputs by two.
Basically, I want:
Out1 = In1
Out2 = In2 * 2
However, I am not sure how to do this. Pavel Denim's ADC and DAC cores use the AXI protocol, and I'm not sure how to perform simple math operations on an AXI stream. Do I need to implement a look-up table for something as simple as a multiply-by-2 operation?
Here's my current block diagram:
i.imgur.com/TQ74Pgj.png
(I can't post links apparently)
Basically, I want:
Out1 = In1
Out2 = In2 * 2
However, I am not sure how to do this. Pavel Denim's ADC and DAC cores use the AXI protocol, and I'm not sure how to perform simple math operations on an AXI stream. Do I need to implement a look-up table for something as simple as a multiply-by-2 operation?
Here's my current block diagram:
i.imgur.com/TQ74Pgj.png
(I can't post links apparently)