Replies: 3 comments 7 replies
-
@maliberty mentioned in our discussion yesterday that the routing grid is defined in the tech lef for the PDK. For ASAP7 we have to look at the generated tech lef in ORFS which should be
From this we can indeed see that M4 is horizontal and M5 is vertical (not shown above but the definitions for M5 are below those for M4 in the file). We can also see that the pitch is Some specific questions:
"Bonus" question: What's the difference between the 1x and 4x .lef files in the PDK? |
Beta Was this translation helpful? Give feedback.
-
In the LEF you can see the preferred routing direction from:
If you look at M1 you'll see it has an offset of 0 which makes the first track unusable (a wire would be half outside the bounds if that track were used). So in make_tracks it was setup to make the first track usable by using a 1/2 width offset. Similarly the other layers need adjusting. Its mostly a matter of style and either could have been used. M2 has a track pattern too complex to express in the LEF format so make_tracks.tcl is required in any case. If you place a macro a (0,0) the tracks should align since they would be built the way way. Moving the macro by a multiple of the pitch should keep it aligned. You would use the m4 pitch vertically and the m5 pitch horizontally. You can check your work by turning on m4 & m5 visibility in the GUI, turning on the display of the preferred tracks and look at your pins to see that the tracks go through the center. |
Beta Was this translation helpful? Give feedback.
-
Bonus: 1X and 4X can be ignored as OR is only using 1X. The origin is that some academic users may not have the advanced node licenses for proprietary tools required to use a 7nm process. The 4X library makes it appear like a 28nm library by making all dimensions 4X larger as a workaround. Since OR has no licensing 4X is not required. |
Beta Was this translation helpful? Give feedback.
-
I'm trying to find out valid coordinates to put macros onto. The pins of the macros must align on the routing grid.
From ASAP 7 LEF files, I see that pins are on M4 and M5 layer. From make_tracks.tcl, I see offsets and pitches.
From that information, I should be able to come up with some formulae of valid macro positions....
I just seem to be unable to connect the dots here to what the formulae should be:
M4 is horizontal pins and M5 is vertical pins (or vice versa, I could see in the GUI, but I don't know how to tell from the LEF file):
The pins are from a macro, so I know the pin coordinates below are correct:
from make_tracks.tcl:
Beta Was this translation helpful? Give feedback.
All reactions