ERC: set default setting ERCE_SIMULATION_MODEL to ignore

Most of projects do not manage spice settings.
This commit is contained in:
jean-pierre charras 2023-04-14 17:21:09 +02:00
parent 4eb0ccffe5
commit 77fb7b1182
1 changed files with 1 additions and 0 deletions

View File

@ -106,6 +106,7 @@ ERC_SETTINGS::ERC_SETTINGS( JSON_SETTINGS* aParent, const std::string& aPath ) :
m_ERCSeverities[ERCE_MISSING_UNIT] = RPT_SEVERITY_WARNING;
m_ERCSeverities[ERCE_MISSING_INPUT_PIN] = RPT_SEVERITY_WARNING;
m_ERCSeverities[ERCE_MISSING_BIDI_PIN] = RPT_SEVERITY_WARNING;
m_ERCSeverities[ERCE_SIMULATION_MODEL] = RPT_SEVERITY_IGNORE;
m_params.emplace_back( new PARAM_LAMBDA<nlohmann::json>( "rule_severities",
[&]() -> nlohmann::json