summaryrefslogtreecommitdiff
path: root/src/systemc/core/SConscript
diff options
context:
space:
mode:
authorGabe Black <gabeblack@google.com>2019-02-15 07:58:05 -0800
committerGabe Black <gabeblack@google.com>2019-02-25 23:08:58 +0000
commit296f5219da6a2927e84fb748f7f74018c0c1f32e (patch)
tree51828b05180c1265fb184b6ccca71a1939ab39dd /src/systemc/core/SConscript
parent576e5714e81d09868f8a4695443a924faab02b93 (diff)
downloadgem5-296f5219da6a2927e84fb748f7f74018c0c1f32e.tar.xz
systemc: Export the sc_core::sc_time class to python.
This class isn't incredibly useful in python, but it's needed to call some other functions which are more useful. Change-Id: I5c23cca0b50f0455423399db8b009bdf86a6ec41 Reviewed-on: https://gem5-review.googlesource.com/c/16502 Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com> Maintainer: Gabe Black <gabeblack@google.com>
Diffstat (limited to 'src/systemc/core/SConscript')
-rw-r--r--src/systemc/core/SConscript1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/systemc/core/SConscript b/src/systemc/core/SConscript
index 536c181e5..f086112a6 100644
--- a/src/systemc/core/SConscript
+++ b/src/systemc/core/SConscript
@@ -64,3 +64,4 @@ if env['USE_SYSTEMC']:
if env['USE_PYTHON']:
Source('python.cc')
Source('sc_main_python.cc')
+ Source('sc_time_python.cc')