hls4ml-tutorial icon indicating copy to clipboard operation
hls4ml-tutorial copied to clipboard

part7b_deployment RuntimeError: DMA Decode Error (invalid address)

Open hy20230130 opened this issue 1 year ago • 0 comments

I'm using an Alinx Zynq7000 XC7Z100 development board. In the project.tcl, I set the part to xc7z100ffg-2. After synthesis, IP generation, and bitstream generation, I encountered the following error when running part7b:

y_hw, latency, throughput = nn.predict(X_test, profile=True)

RuntimeError Traceback (most recent call last) in () ----> 1 y_hw, latency, throughput = nn.predict(X_test, profile=True)

/home/xilinx/jupyter_notebooks/cnn102/axi_stream_driver.py in predict(self, X, debug, profile, encode, decode) 58 if debug: 59 print("Transfer OK") ---> 60 self.sendchannel.wait() 61 if debug: 62 print("Send OK")

/usr/local/lib/python3.6/dist-packages/pynq/lib/dma.py in wait(self) 215 if error & 0x40: 216 raise RuntimeError( --> 217 'DMA Decode Error (invalid address)') 218 if self.idle: 219 break

RuntimeError: DMA Decode Error (invalid address)

hy20230130 avatar Jan 04 '25 08:01 hy20230130