Closed jeanthom closed 4 years ago
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.
Ok, I will use .i/.o/.oe instead.
FWIW, this is a footgun I'm aware of and I have plans to fix it.
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: