Skip to content

Commit

Permalink
Fix ff tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rsetaluri committed Nov 9, 2018
1 parent 417d741 commit 186fda9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 0 additions & 4 deletions magma/circuit.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
__all__ += ['getCurrentDefinition']
__all__ += ['magma_clear_circuit_cache']

__all__ += ['isprimitive']
__all__ += ['CopyInstance']
__all__ += ['circuit_type_method']
__all__ += ['circuit_generator']
Expand Down Expand Up @@ -390,9 +389,6 @@ def popDefinition():
else:
currentDefinition = None

def isprimitive(circuit):
return getattr(circuit, "primitive", False)

# a map from circuitDefinition names to circuit definition objects
definitionCache = {}

Expand Down
2 changes: 2 additions & 0 deletions magma/transforms.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
from collections import namedtuple, OrderedDict
from .circuit import DefineCircuit, EndCircuit, CopyInstance
from .is_definition import isdefinition
from .is_primitive import isprimitive
from .bit import *
from .clock import ClockType, EnableType, ResetType, AsyncResetType, wiredefaultclock
from .array import *
Expand Down

0 comments on commit 186fda9

Please sign in to comment.