Closed daveshah1 closed 5 years ago
This is a special case situation and is less common. I can add an API such as List<String> Cell.getAllPhysicalPinMappings(String logicalPinName)
if that helps.
Yes, I would find that a useful addition.
Thanks, I can confirm Cell.getAllPhysicalPinMappings(String logicalPinName)
in RapidWright 2019.1 is working for me.
When using a RAMB36E2, control inputs to the cell map to two physical bel pins (for the upper and lower halves) - see the below screenshot.![Screenshot from 2019-06-19 17-01-22](https://user-images.githubusercontent.com/5521177/59781542-ec228f80-92b3-11e9-9262-eb8131e34d9d.png)
Cell.getPhysicalPinMapping
only returns a single String, and therefore only returns one of the physical pins that the cell pin maps to. It is possible to work around this by iterating overgetPinMappingsP2L
and looking for all the physical pins with a given logical pin mapping, but it would be nice to have a function that returned all the physical pins a logical pin maps to.