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

Function _addDetector

SLiCAP/SLiCAPyacc.py:374–382  ·  view source on GitHub ↗
(name, cirType, detector)

Source from the content-addressed store, hash-verified

372 _CIRCUITS[name].source = source
373
374def _addDetector(name, cirType, detector):
375 global _CIRCUITS, _USERCIRCUITS, _SLiCAPCIRCUITS
376 if detector != None:
377 if cirType == 'system':
378 _SLiCAPCIRCUITS[name].detector = detector
379 elif cirType == 'user':
380 _USERCIRCUITS[name].detector = detector
381 elif cirType == 'main':
382 _CIRCUITS[name].detector = detector
383
384def _addLGref(name, cirType, lgRef):
385 global _CIRCUITS, _USERCIRCUITS, _SLiCAPCIRCUITS

Callers 1

_parseNetlistFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected