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

Function _addLGref

SLiCAP/SLiCAPyacc.py:384–392  ·  view source on GitHub ↗
(name, cirType, lgRef)

Source from the content-addressed store, hash-verified

382 _CIRCUITS[name].detector = detector
383
384def _addLGref(name, cirType, lgRef):
385 global _CIRCUITS, _USERCIRCUITS, _SLiCAPCIRCUITS
386 if lgRef != None:
387 if cirType == 'system':
388 _SLiCAPCIRCUITS[name].lgRef= lgRef
389 elif cirType == 'user':
390 _USERCIRCUITS[name].lgRef= lgRef
391 elif cirType == 'main':
392 _CIRCUITS[name].lgRef= lgRef
393
394
395def _parseElement(line, name, cirType):

Callers 1

_parseNetlistFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected