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
I just came across a bug that causes nMigen to report the wrong number of pins when the direction of the pins is set to bidirectional.
Test code:
fromnmigenimport*fromnmigen_boards.arty_a7importArtyA7Platformplatform=ArtyA7Platform()
ram=platform.request("ddr3", 0)
print("Number of DQ signals:", len(ram.dq)) # DQ is "io"print("Number of A signals:", len(ram.a)) # A is output only
Result:
Number of DQ signals: 33
Number of A signals: 14
What I was expecting:
Number of DQ signals: 16
Number of A signals: 14
The text was updated successfully, but these errors were encountered:
You should never use attributes of the object returned by platform.request directly. Instead, use ram.x.i for inputs or inouts, ram.x.o for outputs or inouts, and ram.x.oe for inouts.
Hi,
I just came across a bug that causes nMigen to report the wrong number of pins when the direction of the pins is set to bidirectional.
Test code:
Result:
What I was expecting:
The text was updated successfully, but these errors were encountered: