adds TSAN/ASAN buid settings
This commit is contained in:
@@ -1,8 +1,5 @@
|
||||
message(STATUS "SC_VERSION is ${SC_VERSION_MAJOR}.${SC_VERSION_MINOR}.${SC_VERSION_PATCH}")
|
||||
if(SC_VERSION_MAJOR GREATER 2)
|
||||
add_executable (quantum_keeper_mt
|
||||
sc_main.cpp
|
||||
)
|
||||
add_executable (quantum_keeper_mt sc_main.cpp)
|
||||
target_link_libraries (quantum_keeper_mt LINK_PUBLIC scc-sysc)
|
||||
add_test(NAME quantum_keeper_mt COMMAND quantum_keeper_mt)
|
||||
endif()
|
||||
@@ -27,7 +27,7 @@ struct initiator : ::sc_core ::sc_module {
|
||||
SC_THREAD(run);
|
||||
}
|
||||
|
||||
~initiator() {}
|
||||
~initiator() = default;
|
||||
|
||||
private:
|
||||
void run() {
|
||||
@@ -79,7 +79,7 @@ struct top_module : ::sc_core ::sc_module {
|
||||
SC_THREAD(run);
|
||||
}
|
||||
|
||||
~top_module() {}
|
||||
~top_module() = default;
|
||||
|
||||
void b_transport(tlm::tlm_generic_payload& gp, sc_core::sc_time& t) {
|
||||
SCCDEBUG(SCMOD) << "Received b_transport call at local time " << t;
|
||||
|
||||
Reference in New Issue
Block a user