MCPcopy Create free account
hub / github.com/SLiCAP/SLiCAP_python / _addErrors

Function _addErrors

SLiCAP/SLiCAPyacc.py:314–321  ·  view source on GitHub ↗
(name, cirType, n)

Source from the content-addressed store, hash-verified

312 _saveCircuit(subCKT, name, cirType)
313
314def _addErrors(name, cirType, n):
315 global _CIRCUITS, _USERCIRCUITS, _SLiCAPCIRCUITS
316 if cirType == 'system':
317 _SLiCAPCIRCUITS[name].errors += n
318 elif cirType == 'user':
319 _USERCIRCUITS[name].errors += n
320 elif cirType == 'main':
321 _CIRCUITS[name].errors += n
322
323def _saveCircuit(cir, name, cirType):
324 global _CIRCUITS, _USERCIRCUITS, _SLiCAPCIRCUITS

Callers 2

_parseNetlistFunction · 0.85
_parseLibraryFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected