Skip to content

RoutingGrid::RouteToNet does not correctly handle connecting to layers not on the current wire #12

@growly

Description

@growly

The pink metal 2 vertical wires land on the blue metal 1 pads of the same net, but they should not be able to because there needs to be space for a via from metal 2 down to metal 1 there:

Image

This is correct insofar as finding a vertex that can connect to the given net, but the test must differentiate between inbound wire layers. A metal 1 (blue) wire landing there would be legal, but since the connecting is on metal 2 the via is mandatory.

Searches do not consider the last edge when determining whether an endpoint is viable since that is expensive, but perhaps it is necessary?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions