Commit b2c66011 authored by Yuri Nenakhov's avatar Yuri Nenakhov

Output format fix

parent a8a73b2f
...@@ -272,7 +272,7 @@ class X393McntrlDmatest(object): ...@@ -272,7 +272,7 @@ class X393McntrlDmatest(object):
dest = random.randint(0,self.buffer_size-pages*self.PAGE_SIZE) dest = random.randint(0,self.buffer_size-pages*self.PAGE_SIZE)
self.dmatest_prepare(pages,source,startaddr,fullwidth,width,leftoffset,topoffset,linemultiplier) self.dmatest_prepare(pages,source,startaddr,fullwidth,width,leftoffset,topoffset,linemultiplier)
transfer_str = ( str(pages)+" pages starting from page "+ transfer_str = ( str(pages)+" pages starting from page "+
hex(int(source))+" -> page "+hex(int(dest))) hex(int(source//self.PAGE_SIZE))+" -> page "+hex(int(dest//self.PAGE_SIZE)))
result = self.dmatest_run(pages,dest) result = self.dmatest_run(pages,dest)
if (result): if (result):
print(transfer_str+" PASSED") print(transfer_str+" PASSED")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment