Closed zhangchenqi123 closed 1 year ago
Hi @zhangchenqi123
Thank you for reporting this.
It should be either ol_w1
or ol_w0
and then in the assignation they the object should be used appropriately.
Would you be able to do a PR with the changes?
Okay, I'd be happy to do this, but I'm fixing another bug in this project ( My xclbin
file cannot be generated properly, maybe there is a problem with the license). After I finish fixing it, I will do a PR.
hi @mariodruiz
I've been attempting to set the ol
as ol_w0
and ol_w1
, but unfortunately, they don't seem to be having the desired effect. Upon comparing the original image with the received image, it became apparent that all the received images appear as solid black.(The original picture is copied from my own computer).
I would greatly appreciate your expertise and any insights you might be able to offer.
Aside from this issue, I've also come across another problem that I believe warrants opening a separate issue. I hope this doesn't inconvenience you in any way.
can you please share here the changes you have attempted?
Does any of the notebooks work?
I think that portion should be replace with
mm2s_remote = ol_w1.krnl_mm2s_1
s2mm_local = ol_w0.krnl_s2mm_1
size = img_height * img_width * 3
if hasattr(ol_w1, 'HBM0'):
s2mm_bank = ol_w0.HBM0
mm2s_bank = ol_w1.HBM0
elif hasattr(ol, 'bank2'):
s2mm_bank = ol_w0.bank1
mm2s_bank = ol_w1.bank2
else:
s2mm_bank = ol_w0.bank1
mm2s_bank = ol_w1.bank1
Ok, that works. Thanks a lot.
Besides, I found another bug in the last but one cell of this notebook.
It should be tx
, because on the tx end, the bytes are 'out', on the rx end, the bytes are 'in'.
I will do a pr to modify this, too.
In
vnx-basic-image-transfer.ipynb
In sectionConfigure the application
Theol
is not defined.This is the first time
ol
has appeared here, and I haven't found where it is defined before.