Skip to content

Commit

Permalink
removing printing code for cirb result
Browse files Browse the repository at this point in the history
  • Loading branch information
David-Durst committed Jun 11, 2019
1 parent a63a4ca commit 58ccbda
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions magma/frontend/coreir_.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
from magma.circuit import DefineCircuitKind, Circuit
from magma import cache_definition
from coreir.generator import Generator
import coreir

@cache_definition
def GetCoreIRBackend():
Expand Down Expand Up @@ -31,12 +30,6 @@ def DefineCircuitFromGeneratorWrapper(cirb: CoreIRBackend, namespace: str, gener
genargs: dict = {}, runGenerators = True, print_error=False):
moduleToWrap = cirb.context.import_generator(namespace,generator)(**genargs)

if print_error:
print(f"Cached cirb IO: {moduleToWrap.type.items()}")
fresh_context = coreir.Context()
fresh_moduleToWrap = fresh_context.import_generator(namespace,generator)(**genargs)
print(f"Fresh cirb IO: {fresh_moduleToWrap.type.items()}")

deps = [namespace] + dependentNamespaces
if runGenerators:
cirb.context.run_passes(["rungenerators"], deps)
Expand Down

0 comments on commit 58ccbda

Please sign in to comment.