OpenCores
URL https://opencores.org/ocsvn/heap_sorter/heap_sorter/trunk

Subversion Repositories heap_sorter

[/] [heap_sorter/] [trunk/] [HLS_implementation/] [Fig4/] [test_srt.py] - Blame information for rev 8

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 8 wzab
#!/usr/bin/python
2
import sys
3
fi=open(sys.argv[1],'r')
4
v1=int(fi.readline())
5
for ln1 in fi.readlines():
6
   v2=int(ln1)
7
   diff=(v2-v1) & 0xffff
8
   if diff >= 0x8000:
9
      raise(Exception("Error:"+str(v2)+" after "+str(v1)))
10
   v1=v2
11
 
12
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.