Hello World on the Ultra96 Using Vitis
https://www.hackster.io/news/hello-world-on-the-ultra96-using-vitis-89a06b18fa3a
ハードはVivado
ソフトはVitis?
DMAのブロックデザインを作りながら(DMA Tutorialを参考に)
A. interconnect_aresetn
B. peripheral_aresetn
の使い分けか
#PYNQ_flow #DMA
DMA tutorial: DMA to streamed interfaces
https://github.com/Xilinx/PYNQ_Workshop/blob/master/Session_4/6_dma_tutorial.ipynb
bitstreamとPythonスクリプトがある
PYNQ v2.5用
提供されたbistreamとtclで動作した
別途、tclファイルをsourceで読み込み、Vivado 2019.1でbitstreamを作成
動いた
#PYNQ_flow
PYNQ v2.4
/home/xilinx/pynqに到達できない
代わりに
/home/xilinx/jupyter_notebooks/base/
はある
#PYNQ_flow #trap
PYNQ v2.4にするとJupyter につながらなくなった
#PYNQ_flow #dma
Running FFT with axi dma channel wait “DMA channel not started”
https://discuss.pynq.io/t/running-fft-with-axi-dma-channel-wait-dma-channel-not-started/1479
#PYNQ_flow #Project
PYNQ community projects
http://www.pynq.io/embedded.html
#PYNQ_flow #DMA
DMA example design, how M_AXI_SG and M_AXI_S2MM are connected
https://forums.xilinx.com/t5/AXI-Infrastructure-Archive/DMA-example-design-how-M-AXI-SG-and-M-AXI-S2MM-are-connected/td-p/909589
M_AXI_SG
Scatter-Gather
対処として
- concatからIRQ_F2Pに直接接続しない
- AXI Interrupt Controllerを経由する
#PYNQ_flow #DMA
DMA irq ports cause python empty string dict lookup
https://github.com/Xilinx/PYNQ/issues/964
#PYNQ_flow #IRQ
IRQ_F2P
AR 51763
Zynq-7000 - PL から PS へ割り込み信号を接続するときの F2P_IRQ の IRQ ID# を確認する方法
https://japan.xilinx.com/support/answers/51763.html
#PYNQ_flow #DDR
Docs » PYNQ Libraries » DMA
v2.4
https://pynq.readthedocs.io/en/v2.4/pynq_libraries/dma.html
DigilentのPYNQ Imageと同じバージョン
#PYNQ_flow #DMA
PYNQ > FIFO loopbackを含むDMA転送のBlock Design (Vivado v2019.1) > v2017.2の方法から変更
https://qiita.com/7of9/items/de3f3b62bac9eda99352
#PYNQ_flow #AXI
AXI Interconnect (古い) または AXI SmartConnect (新しい)
#PYNQ_flow #DDR
Docs » PYNQ Libraries » DMA
https://pynq.readthedocs.io/en/v2.5.1/pynq_libraries/dma.html#dma
#PYNQ_flow #DDR
PYNQ を使って Python で手軽に FPGA を活用 (5)
https://www.acri.c.titech.ac.jp/wordpress/archives/36
BRAMを使う
AXI-DMAとは別かな
http://www.fpgadeveloper.com/2014/08/using-the-axi-dma-in-vivado.html
A. ポーリング
B. 割り込み
> Our software application will test the DMA in polling mode, but to be able to use it in interrupt mode, we need to connect the interrupts ‘mm2s_introut’ and ‘s2mm_introut’ to the Zynq PS.
#PYNQ_flow #keyword
http://www.fpgadeveloper.com/2014/08/using-the-axi-dma-in-vivado.html
Connect the Memory-mapped AXI buses
5.
S AXI HP0 interface
AXI high performance slave interface 0