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
File "/home/robertbaruch/.local/lib/python3.6/site-packages/nmigen/cli.py", line 76, in main
main_runner(parser, parser.parse_args(), *args, **kwargs)
File "/home/robertbaruch/.local/lib/python3.6/site-packages/nmigen/cli.py", line 56, in main_runner
output = rtlil.convert(fragment, name=name, ports=ports)
File "/home/robertbaruch/.local/lib/python3.6/site-packages/nmigen/back/rtlil.py", line 945, in convert
fragment = ir.Fragment.get(elaboratable, platform).prepare(**kwargs)
File "/home/robertbaruch/.local/lib/python3.6/site-packages/nmigen/hdl/ir.py", line 537, in prepare
new_domains = fragment._propagate_domains(missing_domain)
File "/home/robertbaruch/.local/lib/python3.6/site-packages/nmigen/hdl/ir.py", line 388, in _propagate_domains
new_domains = self.create_missing_domains(missing_domain)
File "/home/robertbaruch/.local/lib/python3.6/site-packages/nmigen/hdl/ir.py", line 368, in create_missing_domains
value = missing_domain(domain_name)
File "/home/robertbaruch/.local/lib/python3.6/site-packages/nmigen/hdl/ir.py", line 533, in <lambda>
def prepare(self, ports=None, missing_domain=lambda name: ClockDomain(name)):
File "/home/robertbaruch/.local/lib/python3.6/site-packages/nmigen/hdl/cd.py", line 55, in __init__
if name.startswith("cd_"):
AttributeError: '_ModuleBuilderDomainExplicit' object has no attribute 'startswith'
That kind of clued me in that maybe the domain argument wanted a name and not a ClockDomain.
The text was updated successfully, but these errors were encountered:
Kept getting errors when doing things like:
where
m.d.pos
is aClockDomain
.That resulted in this stack trace:
That kind of clued me in that maybe the
domain
argument wanted a name and not aClockDomain
.The text was updated successfully, but these errors were encountered: