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

Subversion Repositories myblaze

[/] [myblaze/] [trunk/] [rtl/] [debug.py] - Diff between revs 5 and 6

Show entire file | Details | Blame | View Log

Rev 5 Rev 6
Line 6... Line 6...
    Debug functions
    Debug functions
 
 
    :copyright: Copyright (c) 2010 Jian Luo.
    :copyright: Copyright (c) 2010 Jian Luo.
    :author-email: jian.luo.cn(at_)gmail.com.
    :author-email: jian.luo.cn(at_)gmail.com.
    :license: LGPL, see LICENSE for details.
    :license: LGPL, see LICENSE for details.
    :revision: $Id: debug.py 5 2010-11-21 10:59:30Z rockee $
    :revision: $Id: debug.py 6 2010-11-21 23:18:44Z rockee $
"""
"""
 
 
import re
import re
DEBUG_VERBOSE = 0
 
 
 
__re_dis=re.compile(r' *(?P<addr>[0-9a-f]+):\s+(?P<opcode>[0-9a-f]{8})\s+.*')
__re_dis=re.compile(r' *(?P<addr>[0-9a-f]+):\s+(?P<opcode>[0-9a-f]{8})\s+.*')
__dissembly = open('rom.dump').readlines()
__dissembly = open('rom.dump').readlines()
__code = {}
__code = {}
for line in __dissembly:
for line in __dissembly:

powered by: WebSVN 2.1.0

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