URL
https://opencores.org/ocsvn/heap_sorter/heap_sorter/trunk
Subversion Repositories heap_sorter
[/] [heap_sorter/] [trunk/] [HLS_implementation/] [Fig5/] [test_srt.py] - Rev 8
Compare with Previous | Blame | View Log
#!/usr/bin/python import sys fi=open(sys.argv[1],'r') v1=int(fi.readline()) for ln1 in fi.readlines(): v2=int(ln1) diff=(v2-v1) & 0xffff if diff >= 0x8000: raise(Exception("Error:"+str(v2)+" after "+str(v1))) v1=v2