adds namespaced CCI enum test
This commit is contained in:
parent
904d897773
commit
f82c3ce229
2
scc
2
scc
@ -1 +1 @@
|
|||||||
Subproject commit 580bce2322e3d7d576f460ee490c6c5ca0e1a6c1
|
Subproject commit 40b696a98b0fe179f6e0413a4223418f84288e85
|
@ -36,6 +36,7 @@
|
|||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
DEFINE_ENUM4CCI(trace_lvl, (NONE)(LOW)(MEDIUM)(HIGH)(FULL))
|
DEFINE_ENUM4CCI(trace_lvl, (NONE)(LOW)(MEDIUM)(HIGH)(FULL))
|
||||||
|
DEFINE_NS_ENUM4CCI(test, log_lvl, (NONE)(LOW)(MEDIUM)(HIGH)(FULL))
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @fn int sc_main(int argc, char* argv[])
|
* @fn int sc_main(int argc, char* argv[])
|
||||||
@ -62,6 +63,8 @@ int sc_main(int sc_argc, char* sc_argv[]) {
|
|||||||
sc_main_orig};
|
sc_main_orig};
|
||||||
cci::cci_param<trace_lvl> trace_lvl_param{"trace_lvl_param", trace_lvl::NONE, "This is parameter 8", cci::CCI_ABSOLUTE_NAME,
|
cci::cci_param<trace_lvl> trace_lvl_param{"trace_lvl_param", trace_lvl::NONE, "This is parameter 8", cci::CCI_ABSOLUTE_NAME,
|
||||||
sc_main_orig};
|
sc_main_orig};
|
||||||
|
cci::cci_param<test::log_lvl> test_log_lvl_param{"test_log_lvl_param", test::log_lvl::NONE, "This is parameter 9",
|
||||||
|
cci::CCI_ABSOLUTE_NAME, sc_main_orig};
|
||||||
// Start the simulation
|
// Start the simulation
|
||||||
SCCINFO("sc_main") << "Begin Simulation.";
|
SCCINFO("sc_main") << "Begin Simulation.";
|
||||||
sc_core::sc_start(sc_core::SC_ZERO_TIME);
|
sc_core::sc_start(sc_core::SC_ZERO_TIME);
|
||||||
|
Loading…
Reference in New Issue
Block a user