efabless / clear

Apache License 2.0
57 stars 6 forks source link

Location constraints in pin.cfg cause OpenLane flow to fail #3

Closed abdullahyildiz closed 2 years ago

abdullahyildiz commented 2 years ago

Some pin location constraints in pin.cfg files seems to have wrong syntax.

make cbx_1__0_ command fails with the following error:

Top-level design name: cbx_1__0_                                                                                                                                                                            
Error: Multiple regexes matched top_width_0_height_0__pin_11_lower . Those are top_width_0_height_0__pin_[1][0-9]_lower.*$ and top_width_0_height_0__pin_11_lower.*$ 

The error message points to pin.cfg file:

https://github.com/efabless/clear/blob/a6a65615c3a0613d304ff9bcca59d5ea8d3336e6/openlane/cbx_1__0_/pin.cfg#L36-L40

abdullahyildiz commented 2 years ago

Flow completes for cbx_1__0_ with the following changes in the respective pin.cfg:

diff --git a/openlane/cbx_1__0_/pin.cfg b/openlane/cbx_1__0_/pin.cfg
index c369a8a..d75187f 100644
--- a/openlane/cbx_1__0_/pin.cfg
+++ b/openlane/cbx_1__0_/pin.cfg
@@ -36,9 +36,6 @@ top_width_0_height_0__pin_[0-9].*_
 top_width_0_height_0__pin_[1][0-9]_lower.*
 top_width_0_height_0__pin_[0-9]_lower.*

-#N
-top_width_0_height_0__pin_11_lower.*
-
 #S
 bottom_grid_pin.*
abdullahyildiz commented 2 years ago

Closing the issue since it is linked to an older commit.