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

Function _addSource

SLiCAP/SLiCAPyacc.py:364–372  ·  view source on GitHub ↗
(name, cirType, source)

Source from the content-addressed store, hash-verified

362 _CIRCUITS[name].parDefs[key] = parDefs[key]
363
364def _addSource(name, cirType, source):
365 global _CIRCUITS, _USERCIRCUITS, _SLiCAPCIRCUITS
366 if source != None:
367 if cirType == 'system':
368 _SLiCAPCIRCUITS[name].source = source
369 elif cirType == 'user':
370 _USERCIRCUITS[name].source = source
371 elif cirType == 'main':
372 _CIRCUITS[name].source = source
373
374def _addDetector(name, cirType, detector):
375 global _CIRCUITS, _USERCIRCUITS, _SLiCAPCIRCUITS

Callers 1

_parseNetlistFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected