Guest User

Untitled

a guest
Sep 26th, 2025
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.82 KB | None | 0 0
  1. from m1n1.proxyutils import RegMonitor
  2. from m1n1.utils import *
  3. from m1n1.constructutils import *
  4.  
  5. iomon = RegMonitor(hv.u, ascii=True)
  6. def readmem_phys(addr, size, readfn=None):
  7. return hv.iface.readmem(addr, size)
  8. iomon.readmem = readmem_phys
  9.  
  10. iomon.add(*u.adt["/arm-io/wdt"].get_reg(0))
  11.  
  12. # re-issue this one every so often
  13. iomon.poll()
Advertisement
Add Comment
Please, Sign In to add comment