lib.io: Pin.oe should have Flow.Out

This commit is contained in:
Nelson Gauthier 2023-10-20 06:10:50 -07:00 committed by Catherine
parent 392ead8d00
commit bc316b41a8

View file

@ -43,7 +43,7 @@ def _pin_signature(width, dir, xdr=0):
for n in range(xdr): for n in range(xdr):
members["o{}".format(n)] = Out(width) members["o{}".format(n)] = Out(width)
if dir in ("oe", "io"): if dir in ("oe", "io"):
members["oe"] = In(1) members["oe"] = Out(1)
return Signature(members) return Signature(members)