-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Stuck at self.wait_for_flush #87
Comments
This can happen if Tensil Compute Unit (TCU) is not functioning correctly. Did you follow the steps to create block design and the bitstream in Vivado? |
yes, I followed steps on attached here is the exported hardware xsa file (renamed as zip) |
Can you also share exported block design? (click Export -> Export Block Design while having block design open) |
Here's my exported bd (zipped) |
hi all, any advices? thanks |
I successfully implemented the bitstream in Vivado based on your design script, I see no errors in design and timing is met. I will test on Ultra96 board next. |
I am attaching the bitstream and hwh files made by implementing your block design in Vivado. To load it in the PYNQ code: overlay = Overlay('/home/xilinx/tensil_ultra96v2_test.bit')
tcu = Driver(ultra96, overlay.axi_dma_0) This code run successfully on my Ultra96v2 as well as the following ResNet20 inference from the tutorial. |
Dear Sir,
I am trying the notebook for yolov4-tiny on ultra96 and stuck at
tcu = Driver(ultra96, overlay.axi_dma_0)
I have to stop the notebook and found the following traces:
/home/xilinx/tcu_pynq/driver.py in wait_for_flush(self)
267
268 def wait_for_flush(self):
--> 269 while not self.dram0.compare(
270 self.scalar_address(self.probe_target_address),
271 self.probe_source):
/home/xilinx/tcu_pynq/mem.py in compare(self, offset, data)
64 )
65 data = data.reshape((-1,))
---> 66 return np.array_equal(self.mem[offset : offset + len(data)], data)
Regards,
Brian
The text was updated successfully, but these errors were encountered: