Renamed AHB BFM

This commit is contained in:
2019-12-22 21:08:40 +01:00
parent eb5e30e824
commit 53a7c416fa
4 changed files with 10 additions and 10 deletions

View File

@ -38,4 +38,4 @@ endif(SCV_FOUND)
add_subdirectory(simple_system)
add_subdirectory(transaction_recording)
add_subdirectory(ahb_bfm_test)
add_subdirectory(ahb_bfm)

View File

@ -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})

View File

@ -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
///////////////////////////////////////////////////////////////////////////