Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/sysc/scc/configurer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -649,12 +649,12 @@ bool cci_name_ignore(std::pair<std::string, cci::cci_value> const& preset_value)
size_t dot = name.find_last_of(".");
if(dot == std::string::npos)
return name == SCC_LOG_LEVEL_PARAM_NAME;
if(name.substr(dot, name.size() - dot).compare(SCC_LOG_LEVEL_PARAM_NAME) != 0)
if(name.substr(dot + 1, name.size() - dot - 1).compare(SCC_LOG_LEVEL_PARAM_NAME) != 0)
// the parameter name is not SCC_LOG_LEVEL_PARAM_NAME
return false;
std::string module_name = name.substr(0, dot);
// ignore the SCC_LOG_LEVEL_PARAM_NAME preset if module exists
return sc_core::sc_find_object(name.c_str()) != nullptr;
return sc_core::sc_find_object(module_name.c_str()) != nullptr;
}
} // namespace
#ifdef HAS_YAMPCPP
Expand Down
2 changes: 1 addition & 1 deletion third_party/axi_chi
Submodule axi_chi updated 1 files
+2 −2 chi/chi_tlm.cpp
Loading