Skip to content
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

DMA地址的问题 #6

Closed
ruibao123 opened this issue Jul 14, 2019 · 1 comment
Closed

DMA地址的问题 #6

ruibao123 opened this issue Jul 14, 2019 · 1 comment

Comments

@ruibao123
Copy link

resizer.write(0x10, old_height)
resizer.write(0x18, old_width)
resizer.write(0x20, new_height)
resizer.write(0x28, new_width)

def run_kernel():
dma.sendchannel.transfer(in_buffer)
dma.recvchannel.transfer(out_buffer)
resizer.write(0x00,0x81) # start
dma.sendchannel.wait()
dma.recvchannel.wait()
其中的 resizer.write(0x00,0x81) # start这条指令,(0x00,0x81)代表什么意思,从哪里可以得到它的地址呢?

若换成其他IP核怎么看它的地址?

@yunqu
Copy link

yunqu commented Jul 15, 2019

@yunqu yunqu closed this as completed Nov 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants