Skip to content

Commit

Permalink
Bump major version
Browse files Browse the repository at this point in the history
  • Loading branch information
leonardt committed Dec 11, 2019
1 parent 8a19e37 commit 1b7bd7d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions magma/transforms.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
from .circuit import DefineCircuit, EndCircuit, CopyInstance
from .is_definition import isdefinition
from .is_primitive import isprimitive
from .digital import Digital
from .bit import *
from .clock import Clock, Enable, Reset, AsyncReset, wiredefaultclock
from .array import *
Expand Down Expand Up @@ -44,8 +45,7 @@ def get_new_bit(self, orig_bit, scope):
raise MagmaTransformException("Could not find bit in transform mapping. bit={}, scope={}".format(orig_bit, scope))

def set_new_bit(self, orig_bit, orig_scope, new_bit):
assert isinstance(new_bit,
(Bit, Array, Clock, Enable, Reset, AsyncReset))
assert isinstance(new_bit, (Digital, Array)), type(new_bit)

if isinstance(orig_bit, Array):
# Map the individual bits
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

setup(
name='magma-lang',
version='1.0.26',
version='2.0.0',
url='https://github.com/phanrahan/magma',
license='MIT',
maintainer='Lenny Truong',
Expand Down

0 comments on commit 1b7bd7d

Please sign in to comment.