Open
Description
Currently, DiffPairs and Pins can be either inverted completely or not at all.
This is a problem in corner cases where the hardware inverts some parts of a logical Bundle of ios (for example to ease routing in case of differential pairs; see #386).
I hereby propose to extend the Platform DSL in the following way:
- Add a
invert=
kwarg to the constructor ofDiffPairs
- Allow Tuples of booleans of the width of the pin list to be passed to the
invert=
kwarg of bothDiffPairs
andPins
. Each bool in the tuple then controls the inversion of one pin / differential pair.