OpenROAD icon indicating copy to clipboard operation
OpenROAD copied to clipboard

Make antenna checker understand global route format

Open eder-matheus opened this issue 2 years ago • 4 comments

Description

When evaluating the global routing results for antenna violations, we translate the global route format (i.e., global segments) to actual wires, having to create local connections with the pins.

This translation sometimes has issues, leading to crashes, specifically on the odb::orderWires function.

Suggested Solution

The antenna checker tool should be able to understand the global route format, removing the necessity of translating the global route to wires. This would remove a large piece of code that performs the translation, remove the calls for odb::orderWires, and basically would simplify the process of checking antenna violations on the global route results.

A suggested approach is to use boost::polygon to create the routing topology from the wires. With that, orderWires would not be needed at all, and the antenna checker would traverse only through the boost::polygon structure.

Additional Context

I'm not 100% sure if supporting the global route format in the antenna checker is possible. Any input on potential problems this could lead will be appreciated.

eder-matheus avatar Aug 22 '23 18:08 eder-matheus

I think this is possible. Antenna checking just needs a topology and metal area attached.

maliberty avatar Aug 22 '23 20:08 maliberty

@eder-matheus are you planning to look at the antenna code change?

maliberty avatar Aug 24 '23 15:08 maliberty

@maliberty : We discussed it in the weekly meeting and I was going to take a look since @eder-matheus has some other higher priority items on his list.

openroadie avatar Aug 24 '23 15:08 openroadie

In https://github.com/The-OpenROAD-Project/OpenROAD/pull/4673 I've accepted some degradation in sky130hs/aes that originates from a new detour leading to more antenna fixing. Once the antenna fixing is improved please see if this design is improved. Currently there are some odd antennas on the driver side.

maliberty avatar Mar 13 '24 21:03 maliberty