From b7ab029883d8311756eefb54c706f83636bf7327 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Thu, 19 Jul 2018 16:53:27 -0700 Subject: systemc: Implement some of the basics of sc_time. This is a very incomplete implementation, but is enough to unblock implementing some other dependent features. Change-Id: Ibd2f3476fe01389e277c6956d48337f551d14acd Reviewed-on: https://gem5-review.googlesource.com/12034 Reviewed-by: Gabe Black Maintainer: Gabe Black --- src/systemc/ext/core/sc_time.hh | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/systemc/ext/core') diff --git a/src/systemc/ext/core/sc_time.hh b/src/systemc/ext/core/sc_time.hh index 362834cce..014755522 100644 --- a/src/systemc/ext/core/sc_time.hh +++ b/src/systemc/ext/core/sc_time.hh @@ -84,6 +84,9 @@ class sc_time static sc_time from_value(sc_dt::uint64); static sc_time from_seconds(double); static sc_time from_string(const char *str); + + private: + uint64_t val; }; const sc_time operator + (const sc_time &, const sc_time &); -- cgit v1.2.3