-
Hi I'm new to Chisel and am learning how to write an accelerator with chisel on FPGA. The basic framework is that host sends data to FPGA-attached on-board dram via PCIe and then the accelerator reads input from the dram, does calculations and writes the results back to dram. Then some logic module reads results from dram and sends them back to host. I wonder if there are available DRAM module and PCIe module in chisel? Or users have to write them manually with chisel? Thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
What kind of FPGA are you using? I have some experience with Xilinx FPGAs and for those I would recommend writing your custom data processing module in Chisel and then importing that into Vivado where you can then instantiate the Xilinx PCIe and DRAM IPs and connect them to your module. I did something similar-ish here: https://github.com/ekiwi/pynq (not using PCIe or DRAM, but it is a good example for how to integrate a Chisel design into Vivado) |
Beta Was this translation helpful? Give feedback.
What kind of FPGA are you using? I have some experience with Xilinx FPGAs and for those I would recommend writing your custom data processing module in Chisel and then importing that into Vivado where you can then instantiate the Xilinx PCIe and DRAM IPs and connect them to your module. I did something similar-ish here: https://github.com/ekiwi/pynq (not using PCIe or DRAM, but it is a good example for how to integrate a Chisel design into Vivado)