URL
https://opencores.org/ocsvn/hicovec/hicovec/trunk
[/] [hicovec/] [trunk/] [debugger/] [clvpdbg.py] - Diff between revs 4 and 8
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 4 |
Rev 8 |
Line 182... |
Line 182... |
file = open (filename,"r")
|
file = open (filename,"r")
|
|
|
symbols = {}
|
symbols = {}
|
|
|
for s in file.readlines():
|
for s in file.readlines():
|
x=s.replace("\n","")
|
x=s.replace("\n","").replace("\r","")
|
symbols[x.split(":")[1].upper()] = string.atoi(x.split(":")[0])
|
symbols[x.split(":")[1].upper()] = string.atoi(x.split(":")[0])
|
|
|
return symbols
|
return symbols
|
|
|
except IOError:
|
except IOError:
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.