Skip to main content
QUICK REVIEW

[Paper Review] Training a Fully Convolutional Neural Network to Route Integrated Circuits

Sambhav R. Jain, Kye Okabe|arXiv (Cornell University)|Jun 27, 2017
Advancements in Photolithography TechniquesEngineering17 references7 citations
TL;DR

This paper proposes a fully convolutional neural network (FCN) that learns to route integrated circuit nets by predicting optimal metal track and via placements across multiple layers. Trained on a synthetic dataset of 50,000 layouts with predefined design rules, the model achieves 92% F₁ score on validation data, demonstrating strong generalization and implicit learning of routing constraints such as wire class selection, orthogonality, and via placement.

ABSTRACT

We present a deep, fully convolutional neural network that learns to route a circuit layout net with appropriate choice of metal tracks and wire class combinations. Inputs to the network are the encoded layouts containing spatial location of pins to be routed. After 15 fully convolutional stages followed by a score comparator, the network outputs 8 layout layers (corresponding to 4 route layers, 3 via layers and an identity-mapped pin layer) which are then decoded to obtain the routed layouts. We formulate this as a binary segmentation problem on a per-pixel per-layer basis, where the network is trained to correctly classify pixels in each layout layer to be 'on' or 'off'. To demonstrate learnability of layout design rules, we train the network on a dataset of 50,000 train and 10,000 validation samples that we generate based on certain pre-defined layout constraints. Precision, recall and $F_1$ score metrics are used to track the training progress. Our network achieves $F_1\approx97\%$ on the train set and $F_1\approx92\%$ on the validation set. We use PyTorch for implementing our model. Code is made publicly available at https://github.com/sjain-stanford/deep-route .

Motivation & Objective

  • To investigate whether a deep learning model can implicitly learn complex layout design rules for integrated circuit routing.
  • To develop a fully convolutional architecture that maps pin locations to multi-layer routed layouts with minimal architectural bias.
  • To evaluate the model’s ability to generalize across varying net configurations and maintain routing quality under design rule constraints.
  • To demonstrate that end-to-end training on synthetic, rule-based layouts enables the network to learn optimal routing strategies without explicit algorithmic routing logic.

Proposed method

  • The model uses a 15-stage fully convolutional network (FCN) to process encoded layout inputs representing pin locations and design constraints.
  • Inputs are encoded as binary per-pixel, per-layer representations of pins and potential routing tracks across four metal layers and three via layers.
  • The FCN outputs 8-layer binary predictions, which are decoded into visualized RGB layouts for comparison with ground truth.
  • A score comparator layer converts raw FCN outputs into discrete routing decisions per layer, ensuring consistency with routing semantics.
  • The network is trained using binary cross-entropy loss with precision, recall, and F₁ score as evaluation metrics.
  • Training data is synthesized using predefined layout constraints, including wire class selection, track availability, and via placement rules.

Experimental results

Research questions

  • RQ1Can a fully convolutional neural network learn to route a single net in an integrated circuit layout while respecting complex design rules?
  • RQ2To what extent can the network generalize from synthetic training data to unseen validation layouts with similar constraints?
  • RQ3Does the model implicitly learn optimal routing strategies such as wire class selection and via placement without explicit rule-based programming?
  • RQ4How well does the model perform on layouts with increasing pin count and complexity?

Key findings

  • The model achieves an F₁ score of approximately 97% on the training set, indicating strong learning capacity on seen data.
  • On the validation set, the model attains an F₁ score of approximately 92%, showing good generalization with only a 5% gap from training performance.
  • The network successfully learns to assign appropriate wire classes (e.g., M₃ for vertical, M₄ for horizontal) and place vias at intersections between layers.
  • The model learns to use lower metal layers (M₃–M₄) for closely spaced pins and higher layers (M₅–M₆) for widely separated pins.
  • The model demonstrates adaptive routing by choosing optimal branch and leg configurations, such as favoring horizontal branches for symmetric pin layouts.
  • Error rates increase with higher pin counts, suggesting that more complex configurations may require larger or more diverse training data.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.