OpenCores
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
 
 
 

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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