You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "foo.py", line 5, in <module>
Case(mux, cases).makedefault()
File "/nix/store/vqlpzfgw1k2k5pgby8g7b1kgc4b13g7w-python3-3.7.3-env/lib/python3.7/site-packages/nmigen/tools.py", line 73, in wrapper
return f(*args, **kwargs)
File "/nix/store/vqlpzfgw1k2k5pgby8g7b1kgc4b13g7w-python3-3.7.3-env/lib/python3.7/site-packages/nmigen/compat/fhdl/structure.py", line 107, in makedefault
key = "{:0{}b}".format(wrap(key).value, len(self.test))
File "/nix/store/vqlpzfgw1k2k5pgby8g7b1kgc4b13g7w-python3-3.7.3-env/lib/python3.7/site-packages/nmigen/tools.py", line 73, in wrapper
return f(*args, **kwargs)
File "/nix/store/vqlpzfgw1k2k5pgby8g7b1kgc4b13g7w-python3-3.7.3-env/lib/python3.7/site-packages/nmigen/compat/fhdl/structure.py", line 18, in wrap
return Value.wrap(v)
File "/nix/store/vqlpzfgw1k2k5pgby8g7b1kgc4b13g7w-python3-3.7.3-env/lib/python3.7/site-packages/nmigen/hdl/ast.py", line 41, in wrap
raise TypeError("Object '{!r}' is not an nMigen value".format(obj))
TypeError: Object ''0000'' is not an nMigen value
The text was updated successfully, but these errors were encountered:
Minimal repro:
Result:
The text was updated successfully, but these errors were encountered: