/* * resetgen.cpp * * Created on: 02.01.2019 * Author: eyck */ #include #include ResetGen::ResetGen(const sc_core::sc_module_name& nm) : sc_core::sc_module(nm) , reset_o("reset_o") { SC_THREAD(thread); } ResetGen::~ResetGen() { } void ResetGen::thread() { reset_o=sc_dt::SC_LOGIC_1; wait(100_ns); reset_o=sc_dt::SC_LOGIC_0; }