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 "/tmp/repro.py", line 8, in <module>
eth_clk50 = platform.request("eth_clk50", 0)
File "/home/jf/src/nmigen/nmigen/build/res.py", line 164, in request
value = resolve(resource,
File "/home/jf/src/nmigen/nmigen/build/res.py", line 157, in resolve
self.add_clock_constraint(pin.i, resource.clock.frequency)
File "/home/jf/src/nmigen/nmigen/hdl/rec.py", line 146, in __getattr__
return self[name]
File "/home/jf/src/nmigen/nmigen/hdl/rec.py", line 157, in __getitem__
raise AttributeError("{} does not have a field '{}'. Did you mean one of: {}?"
AttributeError: Record 'eth_clk50_0' does not have a field 'i'. Did you mean one of: o?
Currently, only two nmigen-boards platforms are affected (arty_a7 and nexys4ddr).
I'm not sure how to approach this:
we could skip output clock constraints for now, and throw a warning when ResourceManager.request() encounters one. While not ideal, I think it's still better than preventing the design from building.
Repro:
Output:
Currently, only two nmigen-boards platforms are affected (arty_a7 and nexys4ddr).
I'm not sure how to approach this:
ResourceManager.request()
encounters one. While not ideal, I think it's still better than preventing the design from building.The text was updated successfully, but these errors were encountered: