diff --git a/.cproject b/.cproject index 608051f..1f4904f 100644 --- a/.cproject +++ b/.cproject @@ -96,7 +96,7 @@ - + @@ -105,7 +105,7 @@ - + @@ -115,7 +115,7 @@ - + @@ -125,7 +125,7 @@ - + diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt index 0b528c0..af5419e 100644 --- a/examples/CMakeLists.txt +++ b/examples/CMakeLists.txt @@ -38,4 +38,4 @@ endif(SCV_FOUND) add_subdirectory(simple_system) add_subdirectory(transaction_recording) -add_subdirectory(ahb_bfm_test) +add_subdirectory(ahb_bfm) diff --git a/examples/ahb_bfm_test/CMakeLists.txt b/examples/ahb_bfm/CMakeLists.txt similarity index 80% rename from examples/ahb_bfm_test/CMakeLists.txt rename to examples/ahb_bfm/CMakeLists.txt index 633cf20..88306ee 100644 --- a/examples/ahb_bfm_test/CMakeLists.txt +++ b/examples/ahb_bfm/CMakeLists.txt @@ -1,10 +1,10 @@ cmake_minimum_required(VERSION 3.3) # Add executable called "transaction_recording" that is built from the source files # "scv_tr_recording_example.cpp". The extensions are automatically found. -add_executable (ahb_bfm_test +add_executable (ahb_bfm sc_main.cpp ) # Link the executable to the sc_components library. Since the sc_components library has # public include directories we will use those link directories when building # transaction_recording -target_link_libraries (ahb_bfm_test LINK_PUBLIC scc ${CONAN_LIBS}) +target_link_libraries (ahb_bfm LINK_PUBLIC scc ${CONAN_LIBS}) diff --git a/examples/ahb_bfm_test/sc_main.cpp b/examples/ahb_bfm/sc_main.cpp similarity index 97% rename from examples/ahb_bfm_test/sc_main.cpp rename to examples/ahb_bfm/sc_main.cpp index 076156e..f325ad9 100644 --- a/examples/ahb_bfm_test/sc_main.cpp +++ b/examples/ahb_bfm/sc_main.cpp @@ -123,10 +123,10 @@ int sc_main (int argc , char *argv[]){ /////////////////////////////////////////////////////////////////////////// scc::init_logging(logging::DEBUG); /////////////////////////////////////////////////////////////////////////// - // set up configuration + // set up configuration and tracing /////////////////////////////////////////////////////////////////////////// - scc::configurer cfg("ahb_test.json"); - scc::configurable_tracer trace("ahb_test", tracer::TEXT, true, true); + scc::configurer cfg("ahb_bfm.json"); + scc::configurable_tracer trace("ahb_bfm", tracer::TEXT, true, true); /////////////////////////////////////////////////////////////////////////// // create modules/channels and trace ///////////////////////////////////////////////////////////////////////////