__init__.py (13672:2969e4d5abf4) __init__.py (13714:35636064b7a1)
1# Copyright (c) 2016 ARM Limited
2# All rights reserved.
3#
4# The license below extends only to copyright in the software and shall
5# not be construed as granting a license to any other intellectual
6# property including but not limited to intellectual property relating
7# to a hardware implementation of the functionality of the software
8# licensed hereunder. You may use the software subject to the license

--- 31 unchanged lines hidden (view full) ---

40# Authors: Nathan Binkert
41
42from __future__ import print_function
43
44import os
45import re
46import sys
47
1# Copyright (c) 2016 ARM Limited
2# All rights reserved.
3#
4# The license below extends only to copyright in the software and shall
5# not be construed as granting a license to any other intellectual
6# property including but not limited to intellectual property relating
7# to a hardware implementation of the functionality of the software
8# licensed hereunder. You may use the software subject to the license

--- 31 unchanged lines hidden (view full) ---

40# Authors: Nathan Binkert
41
42from __future__ import print_function
43
44import os
45import re
46import sys
47
48import convert
49import jobfile
48from . import convert
49from . import jobfile
50
50
51from attrdict import attrdict, multiattrdict, optiondict
52from code_formatter import code_formatter
53from multidict import multidict
54from smartdict import SmartDict
55from sorteddict import SortedDict
51from .attrdict import attrdict, multiattrdict, optiondict
52from .code_formatter import code_formatter
53from .multidict import multidict
54from .smartdict import SmartDict
55from .sorteddict import SortedDict
56
57# panic() should be called when something happens that should never
58# ever happen regardless of what the user does (i.e., an acutal m5
59# bug).
60def panic(fmt, *args):
61 print('panic:', fmt % args, file=sys.stderr)
62 sys.exit(1)
63

--- 152 unchanged lines hidden ---
56
57# panic() should be called when something happens that should never
58# ever happen regardless of what the user does (i.e., an acutal m5
59# bug).
60def panic(fmt, *args):
61 print('panic:', fmt % args, file=sys.stderr)
62 sys.exit(1)
63

--- 152 unchanged lines hidden ---