A method to convert a wire layout geometry to a filament topology for
determination of chip resistance is provided. The method includes
resolving overlap of layout segments of the wire layout geometry and
inserting a vertical filament into each of the layout segments. The
method further includes connecting vertical filaments using lateral
connections and merging connected parallel filaments. The method also
includes removing open filaments and modifying the filament structure in
a bend region based on relative dimensions of the vertical filaments
within the bend region.