ERC: set default setting ERCE_SIMULATION_MODEL to ignore

Most of projects do not manage spice settings.
From master branch
This commit is contained in:
jean-pierre charras 2023-04-14 17:23:51 +02:00
parent 2d13ddc70c
commit 37a42a3fb7
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