__init__.py (13714:35636064b7a1) | __init__.py (13724:63e550c8ffe2) |
---|---|
1# Copyright (c) 2005 The Regents of The University of Michigan 2# All rights reserved. 3# 4# Redistribution and use in source and binary forms, with or without 5# modification, are permitted provided that the following conditions are 6# met: redistributions of source code must retain the above copyright 7# notice, this list of conditions and the following disclaimer; 8# redistributions in binary form must reproduce the above copyright --- 33 unchanged lines hidden (view full) --- 42 in_gem5 = True 43except ImportError: 44 # The import failed, we're being called from the build system 45 in_gem5 = False 46 47if in_gem5: 48 from . import SimObject 49 from . import core | 1# Copyright (c) 2005 The Regents of The University of Michigan 2# All rights reserved. 3# 4# Redistribution and use in source and binary forms, with or without 5# modification, are permitted provided that the following conditions are 6# met: redistributions of source code must retain the above copyright 7# notice, this list of conditions and the following disclaimer; 8# redistributions in binary form must reproduce the above copyright --- 33 unchanged lines hidden (view full) --- 42 in_gem5 = True 43except ImportError: 44 # The import failed, we're being called from the build system 45 in_gem5 = False 46 47if in_gem5: 48 from . import SimObject 49 from . import core |
50 from . import defines |
|
50 from . import objects 51 from . import params 52 from . import stats | 51 from . import objects 52 from . import params 53 from . import stats |
54 if defines.buildEnv['USE_SYSTEMC']: 55 from . import systemc 56 from . import tlm |
|
53 from . import util 54 55 from .event import * 56 from .main import main 57 from .simulate import * 58 | 57 from . import util 58 59 from .event import * 60 from .main import main 61 from .simulate import * 62 |