aboutsummaryrefslogtreecommitdiff
path: root/src/sc_export.cc
diff options
context:
space:
mode:
authorJohannes Stoelp <johannes.stoelp@gmail.com>2024-02-26 21:18:56 +0100
committerJohannes Stoelp <johannes.stoelp@gmail.com>2024-02-26 21:18:56 +0100
commitebe4100f34d1899ced72f43ed055cc21a3e7e1e1 (patch)
treed208177a7e323eed5579ff3a80d803acfa7a39c3 /src/sc_export.cc
parent85f498bc0749ba8479357d96994c9b46d36c5a52 (diff)
downloadsysc-playground-ebe4100f34d1899ced72f43ed055cc21a3e7e1e1.tar.gz
sysc-playground-ebe4100f34d1899ced72f43ed055cc21a3e7e1e1.zip
port to systemc-3.0.0 beta
Diffstat (limited to 'src/sc_export.cc')
-rw-r--r--src/sc_export.cc4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/sc_export.cc b/src/sc_export.cc
index e3d475b..705ec72 100644
--- a/src/sc_export.cc
+++ b/src/sc_export.cc
@@ -12,8 +12,6 @@ using sc_core::sc_signal_inout_if;
// -- CLOCK_GEN ----------------------------------------------------------------
struct clock_gen : public sc_module {
- SC_HAS_PROCESS(clock_gen);
-
explicit clock_gen(sc_module_name nm, unsigned period_ns = 20)
: sc_module(nm), m_half_period(period_ns / 2) {
assert(period_ns == m_half_period * 2);
@@ -42,8 +40,6 @@ struct clock_gen : public sc_module {
// -- TICKTOCK -----------------------------------------------------------------
struct ticktock : public sc_module {
- SC_HAS_PROCESS(ticktock);
-
explicit ticktock(sc_module_name nm) : sc_module(nm) {
SC_METHOD(handle_clk);
sensitive << p_clk;