add modernizer fixits

This commit is contained in:
2020-05-27 16:47:07 +02:00
parent ae5ba9ca8e
commit f77b4d56e7
10 changed files with 75 additions and 52 deletions

View File

@ -41,7 +41,7 @@ public:
SC_HAS_PROCESS(top);
SC_THREAD(run);
}
virtual ~top(){};
~top() override= default;;
private:
void run(){
sem.wait();

View File

@ -0,0 +1,8 @@
cmake_minimum_required(VERSION 3.12)
add_executable (sim_performance
sc_main.cpp
blocks.cpp
top.cpp
)
target_link_libraries (sim_performance LINK_PUBLIC scc)
target_link_libraries (sim_performance LINK_PUBLIC ${Boost_LIBRARIES} )