update SCC to latest
This commit is contained in:
@ -7,4 +7,4 @@ add_executable (ahb_bfm
|
||||
# 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 LINK_PUBLIC scc ${CONAN_LIBS})
|
||||
target_link_libraries (ahb_bfm LINK_PUBLIC scc)
|
||||
|
@ -1,16 +1,14 @@
|
||||
#include <tlm/ahb/bfm/initiator.h>
|
||||
#include <tlm/ahb/bfm/target.h>
|
||||
#include <scc/initiator_mixin.h>
|
||||
#include <scc/target_mixin.h>
|
||||
#include <ahb/bfm/initiator.h>
|
||||
#include <ahb/bfm/target.h>
|
||||
#include <tlm/scc/initiator_mixin.h>
|
||||
#include <tlm/scc/target_mixin.h>
|
||||
#include <scc/configurable_tracer.h>
|
||||
#include <scc/configurer.h>
|
||||
#include <scc/report.h>
|
||||
#include <scc/scv_tr_db.h>
|
||||
#include <scc/tracer.h>
|
||||
#include <scc/traceable.h>
|
||||
#include <scv.h>
|
||||
#include <cci_utils/broker.h>
|
||||
#include <iostream>
|
||||
#include <fstream>
|
||||
|
||||
using namespace sc_core;
|
||||
using namespace scc;
|
||||
@ -18,8 +16,8 @@ using namespace scc;
|
||||
class testbench: public sc_module, public scc::traceable {
|
||||
public:
|
||||
enum { WIDTH=64};
|
||||
scc::initiator_mixin<tlm::tlm_initiator_socket<WIDTH>> isck{"isck"};
|
||||
tlm::ahb::bfm::initiator<WIDTH> intor{"intor"};
|
||||
tlm::scc::initiator_mixin<tlm::tlm_initiator_socket<WIDTH>> isck{"isck"};
|
||||
ahb::bfm::initiator<WIDTH> intor{"intor"};
|
||||
sc_core::sc_clock HCLK{"HCLK", 10_ns};
|
||||
sc_core::sc_signal<bool> HRESETn{"HRESETn"};
|
||||
sc_core::sc_signal<sc_dt::sc_uint<32>> HADDR{"HADDR"};
|
||||
@ -35,8 +33,8 @@ public:
|
||||
sc_core::sc_signal<bool> HRESP{"HRESP"};
|
||||
sc_core::sc_signal<bool> HSEL{"HSEL"};
|
||||
|
||||
tlm::ahb::bfm::target<WIDTH> target{"target"};
|
||||
scc::target_mixin<tlm::tlm_target_socket<WIDTH>> tsck{"tsck"};
|
||||
ahb::bfm::target<WIDTH> target{"target"};
|
||||
tlm::scc::target_mixin<tlm::tlm_target_socket<WIDTH>> tsck{"tsck"};
|
||||
|
||||
testbench(sc_module_name nm):sc_module(nm){
|
||||
SC_HAS_PROCESS(testbench);
|
||||
@ -117,7 +115,7 @@ int sc_main (int argc , char *argv[]){
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
// configure logging
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
scc::init_logging(logging::DEBUG);
|
||||
scc::init_logging(scc::log::DEBUG);
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
// set up configuration and tracing
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
|
Reference in New Issue
Block a user