adds namespaced CCI enum test
This commit is contained in:
2
scc
2
scc
Submodule scc updated: 580bce2322...40b696a98b
@ -36,6 +36,7 @@
|
||||
#include <string>
|
||||
|
||||
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[])
|
||||
@ -62,6 +63,8 @@ int sc_main(int sc_argc, char* sc_argv[]) {
|
||||
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,
|
||||
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
|
||||
SCCINFO("sc_main") << "Begin Simulation.";
|
||||
sc_core::sc_start(sc_core::SC_ZERO_TIME);
|
||||
|
Reference in New Issue
Block a user