systemc: Add non-standard sc_status constants.
authorGabe Black <gabeblack@google.com>
Sat, 16 Jun 2018 04:28:41 +0000 (21:28 -0700)
committerGabe Black <gabeblack@google.com>
Tue, 28 Aug 2018 21:18:27 +0000 (21:18 +0000)
Change-Id: I02f52df318473906062035b188348fb875daad08
Reviewed-on: https://gem5-review.googlesource.com/11276
Reviewed-by: Gabe Black <gabeblack@google.com>
Maintainer: Gabe Black <gabeblack@google.com>

src/systemc/ext/core/_using.hh
src/systemc/ext/core/sc_main.hh

index 331e3dd9a604c4dd9c29bc3e24532670be3617b8..da82700212ee06fa1f6f29966e6cc71cb9a11809 100644 (file)
@@ -80,6 +80,10 @@ using sc_core::SC_RUNNING;
 using sc_core::SC_PAUSED;
 using sc_core::SC_STOPPED;
 using sc_core::SC_END_OF_SIMULATION;
+using sc_core::SC_END_OF_INITIALIZATION;
+using sc_core::SC_END_OF_UPDATE;
+using sc_core::SC_BEFORE_TIMESTEP;
+using sc_core::SC_STATUS_ANY;
 using sc_core::sc_status;
 
 using sc_core::sc_bind_proxy;
index 24e93503e5a01e5ff30cea0a25ac67ef09a27c6c..b6f5ea13e29ce8f69bef2fdd2390a0c56ea64fc1 100644 (file)
@@ -87,7 +87,13 @@ namespace sc_core
         SC_RUNNING = 0x10,
         SC_PAUSED = 0x20,
         SC_STOPPED = 0x40,
-        SC_END_OF_SIMULATION = 0x80
+        SC_END_OF_SIMULATION = 0x80,
+
+        // Nonstandard
+        SC_END_OF_INITIALIZATION = 0x100,
+        SC_END_OF_UPDATE = 0x400,
+        SC_BEFORE_TIMESTEP = 0x800,
+        SC_STATUS_ANY = 0xdff
     };
 
     sc_status sc_get_status();