KiCad PCB EDA Suite
Loading...
Searching...
No Matches
erc_item.cpp
Go to the documentation of this file.
1/*
2 * This program source code file is part of KiCad, a free EDA CAD application.
3 *
4 * Copyright (C) 2024 KiCad Developers, see AUTHORS.txt for contributors.
5 *
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License
8 * as published by the Free Software Foundation; either version 2
9 * of the License, or (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, you may find one here:
18 * http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
19 * or you may search the http://www.gnu.org website for the version 2 license,
20 * or you may write to the Free Software Foundation, Inc.,
21 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
22 */
23
24
25#include "wx/html/m_templ.h"
26#include "wx/html/styleparams.h"
27#include <erc/erc.h>
28#include <eda_draw_frame.h>
29#include <marker_base.h>
30#include <sch_edit_frame.h>
31
32
33// These, being statically-defined, require specialized I18N handling. We continue to
34// use the _() macro so that string harvesting by the I18N framework doesn't have to be
35// specialized, but we don't translate on initialization and instead do it in the getters.
36
37#undef _
38#define _(s) s
39
40// NOTE: Avoid changing the settings key for an ERC item after it has been created
41
42ERC_ITEM ERC_ITEM::heading_connections( 0, _( "Connections" ), "" );
43ERC_ITEM ERC_ITEM::heading_conflicts( 0, _( "Conflicts" ), "" );
44ERC_ITEM ERC_ITEM::heading_misc( 0, _( "Miscellaneous" ), "" );
46
48 _( "Duplicate sheet names within a given sheet" ),
49 wxT( "duplicate_sheet_names" ) );
50
52 _( "Symbol pin or wire end off connection grid" ),
53 wxT( "endpoint_off_grid" ) );
54
56 _( "Pin not connected" ),
57 wxT( "pin_not_connected" ) );
58
60 _( "Input pin not driven by any Output pins" ),
61 wxT( "pin_not_driven" ) );
62
64 _( "Input Power pin not driven by any Output Power pins" ),
65 wxT( "power_pin_not_driven" ) );
66
68 _( "Multiple pins with the same pin numbers" ),
69 wxT( "duplicate_pins" ) );
70
72 _( "Conflict problem between pins" ),
73 wxT( "pin_to_pin" ) );
74
76 _( "Conflict problem between pins" ),
77 wxT( "pin_to_pin" ) );
78
80 _( "Warning" ),
81 wxT( "generic-warning" ) );
82
84 _( "Error" ),
85 wxT( "generic-error" ) );
86
88 _( "Mismatch between hierarchical labels and sheet pins" ),
89 wxT( "hier_label_mismatch" ) );
90
92 _( "Four connection points are joined together" ),
93 wxT( "four_way_junction" ) );
94
96 _( "Label connects more than one wire" ),
97 wxT( "label_multiple_wires" ) );
98
100 _( "A pin with a \"no connection\" flag is connected" ),
101 wxT( "no_connect_connected" ) );
102
104 _( "Unconnected \"no connection\" flag" ),
105 wxT( "no_connect_dangling" ) );
106
108 _( "Label not connected to anything" ),
109 wxT( "label_dangling" ) );
110
112 _( "Global label not connected anywhere else in the schematic" ),
113 wxT( "global_label_dangling" ) );
114
116 _( "Labels are similar (lower/upper case difference only)"),
117 wxT( "similar_labels" ) );
118
120 _( "Power pins are similar (lower/upper case difference only)"),
121 wxT( "similar_power" ) );
122
124 _( "Power pin and label are similar (lower/upper case difference only)"),
125 wxT( "similar_label_and_power" ) );
126
128 _( "Global label only appears once in the schematic"),
129 wxT( "single_global_label" ) );
130
132 _( "Local and global labels have same name" ),
133 wxT( "same_local_global_label" ) );
134
136 _( "Different footprint assigned in another unit of the symbol" ),
137 wxT( "different_unit_footprint" ) );
138
140 _( "Different net assigned to a shared pin in another unit of the symbol" ),
141 wxT( "different_unit_net" ) );
142
144 _( "Conflict between bus alias definitions across schematic sheets" ),
145 wxT( "bus_definition_conflict" ) );
146
148 _( "More than one name given to this bus or net" ),
149 wxT( "multiple_net_names" ) );
150
152 _( "Net is graphically connected to a bus but not a bus member" ),
153 wxT( "net_not_bus_member" ) );
154
156 _( "Buses are graphically connected but share no bus members" ),
157 wxT( "bus_to_bus_conflict" ) );
158
160 _( "Invalid connection between bus and net items" ),
161 wxT( "bus_to_net_conflict" ) );
162
164 _( "Unresolved text variable" ),
165 wxT( "unresolved_variable" ) );
166
168 _( "Undefined netclass" ),
169 wxT( "undefined_netclass" ) );
170
172 _( "SPICE model issue" ),
173 wxT( "simulation_model_issue" ) );
174
176 _( "Wires not connected to anything" ),
177 wxT( "wire_dangling" ) );
178
180 _( "Library symbol issue" ),
181 wxT( "lib_symbol_issues" ) );
182
184 _( "Symbol doesn't match copy in library" ),
185 wxT( "lib_symbol_mismatch" ) );
186
188 _( "Footprint link issue" ),
189 wxT( "footprint_link_issues" ) );
190
192 _( "Assigned footprint doesn't match footprint filters" ),
193 wxT( "footprint_filter" ) );
194
196 _( "Symbol is not annotated" ),
197 wxT( "unannotated" ) );
198
200 _( "Symbol has more units than are defined" ),
201 wxT( "extra_units" ) );
202
204 _( "Symbol has units that are not placed" ),
205 wxT( "missing_unit" ) );
206
208 _( "Symbol has input pins that are not placed" ),
209 wxT( "missing_input_pin" ) );
210
212 _( "Symbol has bidirectional pins that are not placed" ),
213 wxT( "missing_bidi_pin" ) );
214
216 _( "Symbol has power input pins that are not placed" ),
217 wxT( "missing_power_pin" ) );
218
220 _( "Units of same symbol have different values" ),
221 wxT( "unit_value_mismatch" ) );
222
224 _( "Duplicate reference designators" ),
225 wxT( "duplicate_reference" ) );
226
228 _( "Bus Entry needed" ),
229 wxT( "bus_entry_needed" ) );
230
232 _( "Unconnected wire endpoint" ),
233 wxT( "unconnected_wire_endpoint" ) );
234
235std::vector<std::reference_wrapper<RC_ITEM>> ERC_ITEM::allItemTypes(
236 {
254
268
276 // Commented out until the logic for this element is coded
277 // TODO: Add bus label syntax checking
278 // ERC_ITEM::busLabelSyntax,
288
289 // ERC_ITEM types with no user-editable severities
290 // NOTE: this MUST be the last grouping in the list!
296 } );
297
298
299std::shared_ptr<ERC_ITEM> ERC_ITEM::Create( int aErrorCode )
300{
301 switch( aErrorCode )
302 {
303 case ERCE_DUPLICATE_SHEET_NAME: return std::make_shared<ERC_ITEM>( duplicateSheetName );
304 case ERCE_ENDPOINT_OFF_GRID: return std::make_shared<ERC_ITEM>( endpointOffGrid );
305 case ERCE_PIN_NOT_CONNECTED: return std::make_shared<ERC_ITEM>( pinNotConnected );
306 case ERCE_PIN_NOT_DRIVEN: return std::make_shared<ERC_ITEM>( pinNotDriven );
307 case ERCE_POWERPIN_NOT_DRIVEN: return std::make_shared<ERC_ITEM>( powerpinNotDriven );
308 case ERCE_DUPLICATE_PIN_ERROR: return std::make_shared<ERC_ITEM>( duplicatePinError );
309 case ERCE_PIN_TO_PIN_WARNING: return std::make_shared<ERC_ITEM>( pinTableWarning );
310 case ERCE_PIN_TO_PIN_ERROR: return std::make_shared<ERC_ITEM>( pinTableError );
311 case ERCE_GENERIC_WARNING: return std::make_shared<ERC_ITEM>( genericWarning );
312 case ERCE_GENERIC_ERROR: return std::make_shared<ERC_ITEM>( genericError );
313 case ERCE_HIERACHICAL_LABEL: return std::make_shared<ERC_ITEM>( hierLabelMismatch );
314 case ERCE_NOCONNECT_CONNECTED: return std::make_shared<ERC_ITEM>( noConnectConnected );
315 case ERCE_NOCONNECT_NOT_CONNECTED: return std::make_shared<ERC_ITEM>( noConnectDangling );
316 case ERCE_FOUR_WAY_JUNCTION: return std::make_shared<ERC_ITEM>( fourWayJunction );
317 case ERCE_LABEL_MULTIPLE_WIRES: return std::make_shared<ERC_ITEM>( labelMultipleWires );
318 case ERCE_LABEL_NOT_CONNECTED: return std::make_shared<ERC_ITEM>( labelDangling );
319 case ERCE_SIMILAR_LABELS: return std::make_shared<ERC_ITEM>( similarLabels );
320 case ERCE_SIMILAR_POWER: return std::make_shared<ERC_ITEM>( similarPower );
321 case ERCE_SIMILAR_LABEL_AND_POWER: return std::make_shared<ERC_ITEM>( similarLabelAndPower );
322 case ERCE_SINGLE_GLOBAL_LABEL: return std::make_shared<ERC_ITEM>( singleGlobalLabel );
323 case ERCE_SAME_LOCAL_GLOBAL_LABEL: return std::make_shared<ERC_ITEM>( sameLocalGlobalLabel );
324 case ERCE_DIFFERENT_UNIT_FP: return std::make_shared<ERC_ITEM>( differentUnitFootprint );
325 case ERCE_DIFFERENT_UNIT_NET: return std::make_shared<ERC_ITEM>( differentUnitNet );
326 case ERCE_BUS_ALIAS_CONFLICT: return std::make_shared<ERC_ITEM>( busDefinitionConflict );
327 case ERCE_DRIVER_CONFLICT: return std::make_shared<ERC_ITEM>( multipleNetNames );
328 case ERCE_BUS_ENTRY_CONFLICT: return std::make_shared<ERC_ITEM>( netNotBusMember );
329 case ERCE_BUS_TO_BUS_CONFLICT: return std::make_shared<ERC_ITEM>( busToBusConflict );
330 case ERCE_BUS_TO_NET_CONFLICT: return std::make_shared<ERC_ITEM>( busToNetConflict );
331 case ERCE_GLOBLABEL_DANGLING: return std::make_shared<ERC_ITEM>( globalLabelDangling );
332 case ERCE_UNRESOLVED_VARIABLE: return std::make_shared<ERC_ITEM>( unresolvedVariable );
333 case ERCE_UNDEFINED_NETCLASS: return std::make_shared<ERC_ITEM>( undefinedNetclass );
334 case ERCE_SIMULATION_MODEL: return std::make_shared<ERC_ITEM>( simulationModelIssues );
335 case ERCE_WIRE_DANGLING: return std::make_shared<ERC_ITEM>( wireDangling );
336 case ERCE_LIB_SYMBOL_ISSUES: return std::make_shared<ERC_ITEM>( libSymbolIssues );
337 case ERCE_LIB_SYMBOL_MISMATCH: return std::make_shared<ERC_ITEM>( libSymbolMismatch );
338 case ERCE_FOOTPRINT_LINK_ISSUES: return std::make_shared<ERC_ITEM>( footprintLinkIssues );
339 case ERCE_FOOTPRINT_FILTERS: return std::make_shared<ERC_ITEM>( footprintFilters );
340 case ERCE_UNANNOTATED: return std::make_shared<ERC_ITEM>( unannotated );
341 case ERCE_EXTRA_UNITS: return std::make_shared<ERC_ITEM>( extraUnits );
342 case ERCE_DIFFERENT_UNIT_VALUE: return std::make_shared<ERC_ITEM>( differentUnitValue );
343 case ERCE_DUPLICATE_REFERENCE: return std::make_shared<ERC_ITEM>( duplicateReference );
344 case ERCE_BUS_ENTRY_NEEDED: return std::make_shared<ERC_ITEM>( busEntryNeeded );
345 case ERCE_MISSING_UNIT: return std::make_shared<ERC_ITEM>( missingUnits );
346 case ERCE_MISSING_INPUT_PIN: return std::make_shared<ERC_ITEM>( missingInputPin );
347 case ERCE_MISSING_POWER_INPUT_PIN: return std::make_shared<ERC_ITEM>( missingPowerInputPin );
348 case ERCE_MISSING_BIDI_PIN: return std::make_shared<ERC_ITEM>( missingBidiPin );
349 case ERCE_UNCONNECTED_WIRE_ENDPOINT: return std::make_shared<ERC_ITEM>( unconnectedWireEndpoint );
350 case ERCE_UNSPECIFIED:
351 default:
352 wxFAIL_MSG( wxS( "Unknown ERC error code" ) );
353 break;
354 }
355
356 return nullptr;
357}
358
364void ERC_TREE_MODEL::GetValue( wxVariant& aVariant, wxDataViewItem const& aItem,
365 unsigned int aCol ) const
366{
367 SCH_EDIT_FRAME* schEditFrame = static_cast<SCH_EDIT_FRAME*>( m_editFrame );
368 const RC_TREE_NODE* node = ToNode( aItem );
369 std::shared_ptr<ERC_ITEM> ercItem = std::static_pointer_cast<ERC_ITEM>( node->m_RcItem );
370 MARKER_BASE* marker = ercItem->GetParent();
371 wxString msg;
372
373 auto getItemDesc =
374 [&]( EDA_ITEM* aCurrItem, SCH_SHEET_PATH& aSheet )
375 {
376 SCH_SHEET_PATH curSheet = schEditFrame->GetCurrentSheet();
377 wxString desc;
378
379 if( aSheet != curSheet )
380 {
381 schEditFrame->SetCurrentSheet( aSheet );
382 aSheet.UpdateAllScreenReferences();
383 {
384 desc = aCurrItem->GetItemDescription( m_editFrame, true );
385 }
386 schEditFrame->SetCurrentSheet( curSheet );
387 curSheet.UpdateAllScreenReferences();
388 }
389 else
390 {
391 desc = aCurrItem->GetItemDescription( m_editFrame, true );
392 }
393
394 return desc;
395 };
396
397 switch( node->m_Type )
398 {
400 if( marker )
401 {
402 SEVERITY severity = ercItem->GetParent()->GetSeverity();
403
404 if( severity == RPT_SEVERITY_EXCLUSION )
405 {
406 if( schEditFrame->GetSeverity( ercItem->GetErrorCode() ) == RPT_SEVERITY_WARNING )
407 msg = _( "Excluded warning: " );
408 else
409 msg = _( "Excluded error: " );
410 }
411 else if( severity == RPT_SEVERITY_WARNING )
412 {
413 msg = _( "Warning: " );
414 }
415 else
416 {
417 msg = _( "Error: " );
418 }
419 }
420
421 msg += ercItem->GetErrorMessage();
422 break;
423
425 if( marker && marker->GetMarkerType() == MARKER_BASE::MARKER_DRAWING_SHEET )
426 {
427 msg = _( "Drawing Sheet" );
428 }
429 else
430 {
431 msg = getItemDesc( schEditFrame->GetItem( ercItem->GetMainItemID() ),
432 ercItem->MainItemHasSheetPath() ? ercItem->GetMainItemSheetPath()
433 : schEditFrame->GetCurrentSheet() );
434 }
435
436 break;
437
439 msg = getItemDesc( schEditFrame->GetItem( ercItem->GetAuxItemID() ),
440 ercItem->AuxItemHasSheetPath() ? ercItem->GetAuxItemSheetPath()
441 : schEditFrame->GetCurrentSheet() );
442 break;
443
445 msg = getItemDesc( schEditFrame->GetItem( ercItem->GetAuxItem2ID() ),
446 schEditFrame->GetCurrentSheet() );
447 break;
448
450 msg = getItemDesc( schEditFrame->GetItem( ercItem->GetAuxItem3ID() ),
451 schEditFrame->GetCurrentSheet() );
452 break;
453
455 if( marker )
456 msg = marker->GetComment();
457
458 break;
459 }
460
461 msg.Replace( wxS( "\n" ), wxS( " " ) );
462 aVariant = msg;
463}
A base class for most all the KiCad significant classes used in schematics and boards.
Definition: eda_item.h:89
virtual wxString GetItemDescription(UNITS_PROVIDER *aUnitsProvider, bool aFull) const
Return a user-visible description string of this item.
Definition: eda_item.cpp:111
static ERC_ITEM differentUnitValue
Definition: erc_item.h:243
static ERC_ITEM busToBusConflict
Definition: erc_item.h:227
static ERC_ITEM labelMultipleWires
Definition: erc_item.h:213
static ERC_ITEM pinTableWarning
Definition: erc_item.h:206
static ERC_ITEM footprintLinkIssues
Definition: erc_item.h:235
static ERC_ITEM unresolvedVariable
Definition: erc_item.h:229
static ERC_ITEM duplicateSheetName
Definition: erc_item.h:200
static ERC_ITEM noConnectDangling
Definition: erc_item.h:214
static ERC_ITEM busDefinitionConflict
Definition: erc_item.h:224
static ERC_ITEM fourWayJunction
Definition: erc_item.h:212
static ERC_ITEM genericError
Definition: erc_item.h:209
static ERC_ITEM libSymbolIssues
Definition: erc_item.h:233
static ERC_ITEM pinNotDriven
Definition: erc_item.h:203
static ERC_ITEM undefinedNetclass
Definition: erc_item.h:230
static ERC_ITEM extraUnits
Definition: erc_item.h:238
static ERC_ITEM heading_conflicts
Definition: erc_item.h:196
static std::shared_ptr< ERC_ITEM > Create(int aErrorCode)
Constructs an ERC_ITEM for the given error code.
Definition: erc_item.cpp:299
static ERC_ITEM noConnectConnected
Definition: erc_item.h:211
static ERC_ITEM heading_misc
Definition: erc_item.h:197
static ERC_ITEM endpointOffGrid
Definition: erc_item.h:201
static ERC_ITEM busToNetConflict
Definition: erc_item.h:228
static ERC_ITEM differentUnitFootprint
Definition: erc_item.h:222
static ERC_ITEM sameLocalGlobalLabel
Definition: erc_item.h:218
static ERC_ITEM hierLabelMismatch
Definition: erc_item.h:210
static ERC_ITEM heading_connections
Definition: erc_item.h:195
static ERC_ITEM missingUnits
Definition: erc_item.h:239
static ERC_ITEM similarLabels
Definition: erc_item.h:219
static ERC_ITEM unconnectedWireEndpoint
Definition: erc_item.h:246
static ERC_ITEM heading_internal
Definition: erc_item.h:198
static std::vector< std::reference_wrapper< RC_ITEM > > allItemTypes
A list of all ERC_ITEM types which are valid error codes.
Definition: erc_item.h:193
static ERC_ITEM globalLabelDangling
Definition: erc_item.h:216
static ERC_ITEM labelDangling
Definition: erc_item.h:215
static ERC_ITEM differentUnitNet
Definition: erc_item.h:223
static ERC_ITEM pinTableError
Definition: erc_item.h:207
static ERC_ITEM similarLabelAndPower
Definition: erc_item.h:221
static ERC_ITEM genericWarning
Definition: erc_item.h:208
static ERC_ITEM footprintFilters
Definition: erc_item.h:236
static ERC_ITEM netNotBusMember
Definition: erc_item.h:226
static ERC_ITEM wireDangling
Definition: erc_item.h:232
static ERC_ITEM powerpinNotDriven
Definition: erc_item.h:204
static ERC_ITEM missingPowerInputPin
Definition: erc_item.h:242
static ERC_ITEM missingBidiPin
Definition: erc_item.h:241
static ERC_ITEM unannotated
Definition: erc_item.h:237
static ERC_ITEM missingInputPin
Definition: erc_item.h:240
static ERC_ITEM singleGlobalLabel
Definition: erc_item.h:217
static ERC_ITEM busEntryNeeded
Definition: erc_item.h:245
static ERC_ITEM simulationModelIssues
Definition: erc_item.h:231
static ERC_ITEM multipleNetNames
Definition: erc_item.h:225
static ERC_ITEM similarPower
Definition: erc_item.h:220
static ERC_ITEM pinNotConnected
Definition: erc_item.h:202
static ERC_ITEM libSymbolMismatch
Definition: erc_item.h:234
static ERC_ITEM duplicateReference
Definition: erc_item.h:244
static ERC_ITEM duplicatePinError
Definition: erc_item.h:205
void GetValue(wxVariant &aVariant, wxDataViewItem const &aItem, unsigned int aCol) const override
Override of RC_TREE_MODEL::GetValue which returns item descriptions in a specific SCH_SHEET_PATH cont...
Definition: erc_item.cpp:364
@ MARKER_DRAWING_SHEET
Definition: marker_base.h:56
enum MARKER_T GetMarkerType() const
Definition: marker_base.h:96
wxString GetComment() const
Definition: marker_base.h:105
EDA_DRAW_FRAME * m_editFrame
Definition: rc_item.h:304
static RC_TREE_NODE * ToNode(wxDataViewItem aItem)
Definition: rc_item.h:236
std::shared_ptr< RC_ITEM > m_RcItem
Definition: rc_item.h:221
NODE_TYPE m_Type
Definition: rc_item.h:220
Schematic editor (Eeschema) main window.
EDA_ITEM * GetItem(const KIID &aId) const override
Fetch an item by KIID.
SCH_SHEET_PATH & GetCurrentSheet() const
void SetCurrentSheet(const SCH_SHEET_PATH &aSheet)
SEVERITY GetSeverity(int aErrorCode) const override
Handle access to a stack of flattened SCH_SHEET objects by way of a path for creating a flattened sch...
void UpdateAllScreenReferences() const
Update all the symbol references for this sheet path.
#define _(s)
#define _(s)
Definition: erc_item.cpp:38
@ ERCE_UNSPECIFIED
Definition: erc_settings.h:38
@ ERCE_UNANNOTATED
Symbol has not been annotated.
Definition: erc_settings.h:82
@ ERCE_POWERPIN_NOT_DRIVEN
Power input pin connected to some others pins but no power out pin to drive it.
Definition: erc_settings.h:45
@ ERCE_DRIVER_CONFLICT
Conflicting drivers (labels, etc) on a subgraph.
Definition: erc_settings.h:66
@ ERCE_SIMILAR_POWER
2 power pins are equal for case insensitive comparisons.
Definition: erc_settings.h:52
@ ERCE_MISSING_POWER_INPUT_PIN
Symbol has power input pins that are not placed on the schematic.
Definition: erc_settings.h:58
@ ERCE_UNCONNECTED_WIRE_ENDPOINT
A label is connected to more than one wire.
Definition: erc_settings.h:89
@ ERCE_SIMILAR_LABELS
2 labels are equal for case insensitive comparisons.
Definition: erc_settings.h:51
@ ERCE_LABEL_NOT_CONNECTED
Label not connected to anything.
Definition: erc_settings.h:50
@ ERCE_ENDPOINT_OFF_GRID
Pin or wire-end off grid.
Definition: erc_settings.h:41
@ ERCE_DUPLICATE_REFERENCE
More than one symbol with the same reference.
Definition: erc_settings.h:85
@ ERCE_EXTRA_UNITS
Symbol has more units than are defined.
Definition: erc_settings.h:83
@ ERCE_SAME_LOCAL_GLOBAL_LABEL
2 labels are equal for case insensitive comparisons.
Definition: erc_settings.h:55
@ ERCE_BUS_TO_BUS_CONFLICT
A connection between bus objects doesn't share at least one net.
Definition: erc_settings.h:68
@ ERCE_SIMILAR_LABEL_AND_POWER
label and pin are equal for case insensitive comparisons.
Definition: erc_settings.h:53
@ ERCE_BUS_ENTRY_CONFLICT
A wire connected to a bus doesn't match the bus.
Definition: erc_settings.h:67
@ ERCE_FOOTPRINT_LINK_ISSUES
The footprint link is invalid, or points to a missing (or inactive) footprint or library.
Definition: erc_settings.h:79
@ ERCE_BUS_TO_NET_CONFLICT
A bus wire is graphically connected to a net port/pin (or vice versa).
Definition: erc_settings.h:70
@ ERCE_DUPLICATE_PIN_ERROR
Definition: erc_settings.h:96
@ ERCE_NOCONNECT_NOT_CONNECTED
A no connect symbol is not connected to anything.
Definition: erc_settings.h:49
@ ERCE_DIFFERENT_UNIT_NET
Shared pin in a multi-unit symbol is connected to more than one net.
Definition: erc_settings.h:63
@ ERCE_FOUR_WAY_JUNCTION
A four-way junction was found.
Definition: erc_settings.h:87
@ ERCE_PIN_NOT_CONNECTED
Pin not connected and not no connect symbol.
Definition: erc_settings.h:42
@ ERCE_UNDEFINED_NETCLASS
A netclass was referenced but not defined.
Definition: erc_settings.h:74
@ ERCE_GLOBLABEL_DANGLING
A global label is dangling.
Definition: erc_settings.h:72
@ ERCE_BUS_ENTRY_NEEDED
Importer failed to auto-place a bus entry.
Definition: erc_settings.h:86
@ ERCE_UNRESOLVED_VARIABLE
A text variable could not be resolved.
Definition: erc_settings.h:73
@ ERCE_SIMULATION_MODEL
An error was found in the simulation model.
Definition: erc_settings.h:75
@ ERCE_LIB_SYMBOL_MISMATCH
Symbol doesn't match copy in library.
Definition: erc_settings.h:78
@ ERCE_GENERIC_ERROR
Definition: erc_settings.h:102
@ ERCE_DIFFERENT_UNIT_FP
Different units of the same symbol have different footprints assigned.
Definition: erc_settings.h:56
@ ERCE_NOCONNECT_CONNECTED
A no connect symbol is connected to more than 1 pin.
Definition: erc_settings.h:48
@ ERCE_PIN_TO_PIN_WARNING
Definition: erc_settings.h:97
@ ERCE_PIN_NOT_DRIVEN
Pin connected to some others pins but no pin to drive it.
Definition: erc_settings.h:43
@ ERCE_MISSING_INPUT_PIN
Symbol has input pins that are not placed.
Definition: erc_settings.h:60
@ ERCE_MISSING_UNIT
Symbol has units that are not placed on the schematic.
Definition: erc_settings.h:62
@ ERCE_DUPLICATE_SHEET_NAME
Duplicate sheet names within a given sheet.
Definition: erc_settings.h:40
@ ERCE_MISSING_BIDI_PIN
Symbol has bi-directional pins that are not placed.
Definition: erc_settings.h:61
@ ERCE_LIB_SYMBOL_ISSUES
Symbol not found in active libraries.
Definition: erc_settings.h:77
@ ERCE_FOOTPRINT_FILTERS
The assigned footprint doesn't match the footprint filters.
Definition: erc_settings.h:81
@ ERCE_HIERACHICAL_LABEL
Mismatch between hierarchical labels and pins sheets.
Definition: erc_settings.h:47
@ ERCE_WIRE_DANGLING
Some wires are not connected to anything else.
Definition: erc_settings.h:76
@ ERCE_BUS_ALIAS_CONFLICT
Conflicting bus alias definitions across sheets.
Definition: erc_settings.h:65
@ ERCE_GENERIC_WARNING
Definition: erc_settings.h:101
@ ERCE_SINGLE_GLOBAL_LABEL
A global label only exists once in the schematic.
Definition: erc_settings.h:54
@ ERCE_LABEL_MULTIPLE_WIRES
A label is connected to more than one wire.
Definition: erc_settings.h:88
@ ERCE_DIFFERENT_UNIT_VALUE
Units of same symbol have different values.
Definition: erc_settings.h:84
@ ERCE_PIN_TO_PIN_ERROR
Definition: erc_settings.h:98
SEVERITY
@ RPT_SEVERITY_WARNING
@ RPT_SEVERITY_EXCLUSION