Table of Contents
Fetching ...

BoolSkeleton: Boolean Network Skeletonization via Homogeneous Pattern Reduction

Liwei Ni, Jiaxi Zhang, Shenggen Zheng, Junfeng Liu, Xingyu Meng, Biwei Xie, Xingquan Li, Huawei Li

TL;DR

BoolSkeleton addresses the challenge of structural variability in Boolean networks arising from Boolean equivalence by proposing a two-phase skeletonization method that preserves critical functionality while coarsening the graph. The approach converts a Boolean network into a Boolean dependency graph in Phase 1, assigns node statuses, and then applies iterative, fanin-limited homogeneous pattern reductions in Phase 2 to obtain a skeleton that maintains reachability and topological order. Empirical evaluations across compression, classification, critical path analysis, and timing-prediction tasks demonstrate that BoolSkeleton can significantly improve downstream performance, notably achieving over 55% reduction in timing-prediction error on average compared to the original network. This work highlights the potential of functionally informed skeletonization to enhance design-consistency and efficiency in logic synthesis, with adaptable coarsening controlled by the parameter K and room for integration with partitioning-based approaches for large-scale circuits.

Abstract

Boolean equivalence allows Boolean networks with identical functionality to exhibit diverse graph structures. This gives more room for exploration in logic optimization, while also posing a challenge for tasks involving consistency between Boolean networks. To tackle this challenge, we introduce BoolSkeleton, a novel Boolean network skeletonization method that improves the consistency and reliability of design-specific evaluations. BoolSkeleton comprises two key steps: preprocessing and reduction. In preprocessing, the Boolean network is transformed into a defined Boolean dependency graph, where nodes are assigned the functionality-related status. Next, the homogeneous and heterogeneous patterns are defined for the node-level pattern reduction step. Heterogeneous patterns are preserved to maintain critical functionality-related dependencies, while homogeneous patterns can be reduced. Parameter K of the pattern further constrains the fanin size of these patterns, enabling fine-tuned control over the granularity of graph reduction. To validate BoolSkeleton's effectiveness, we conducted four analysis/downstream tasks around the Boolean network: compression analysis, classification, critical path analysis, and timing prediction, demonstrating its robustness across diverse scenarios. Furthermore, it improves above 55% in the average accuracy compared to the original Boolean network for the timing prediction task. These experiments underscore the potential of BoolSkeleton to enhance design consistency in logic synthesis.

BoolSkeleton: Boolean Network Skeletonization via Homogeneous Pattern Reduction

TL;DR

BoolSkeleton addresses the challenge of structural variability in Boolean networks arising from Boolean equivalence by proposing a two-phase skeletonization method that preserves critical functionality while coarsening the graph. The approach converts a Boolean network into a Boolean dependency graph in Phase 1, assigns node statuses, and then applies iterative, fanin-limited homogeneous pattern reductions in Phase 2 to obtain a skeleton that maintains reachability and topological order. Empirical evaluations across compression, classification, critical path analysis, and timing-prediction tasks demonstrate that BoolSkeleton can significantly improve downstream performance, notably achieving over 55% reduction in timing-prediction error on average compared to the original network. This work highlights the potential of functionally informed skeletonization to enhance design-consistency and efficiency in logic synthesis, with adaptable coarsening controlled by the parameter K and room for integration with partitioning-based approaches for large-scale circuits.

Abstract

Boolean equivalence allows Boolean networks with identical functionality to exhibit diverse graph structures. This gives more room for exploration in logic optimization, while also posing a challenge for tasks involving consistency between Boolean networks. To tackle this challenge, we introduce BoolSkeleton, a novel Boolean network skeletonization method that improves the consistency and reliability of design-specific evaluations. BoolSkeleton comprises two key steps: preprocessing and reduction. In preprocessing, the Boolean network is transformed into a defined Boolean dependency graph, where nodes are assigned the functionality-related status. Next, the homogeneous and heterogeneous patterns are defined for the node-level pattern reduction step. Heterogeneous patterns are preserved to maintain critical functionality-related dependencies, while homogeneous patterns can be reduced. Parameter K of the pattern further constrains the fanin size of these patterns, enabling fine-tuned control over the granularity of graph reduction. To validate BoolSkeleton's effectiveness, we conducted four analysis/downstream tasks around the Boolean network: compression analysis, classification, critical path analysis, and timing prediction, demonstrating its robustness across diverse scenarios. Furthermore, it improves above 55% in the average accuracy compared to the original Boolean network for the timing prediction task. These experiments underscore the potential of BoolSkeleton to enhance design consistency in logic synthesis.

Paper Structure

This paper contains 49 sections, 2 theorems, 10 equations, 24 figures, 4 tables, 3 algorithms.

Key Result

Lemma 1

According to Boolean equivalence, given a pair of Boolean networks ($\mathcal{C}_1$, $\mathcal{C}_2$), we can say that $\mathcal{C}_1$ and $\mathcal{C}_2$ are Boolean equivalent under the following two conditions: where $\doteq$ denotes as the Boolean equivalent operator, $\mathcal{C}^{G}$ refers to the DAG structure of Boolean network $\mathcal{C}$, and $\mathcal{C}^{F}$ refers to the functional

Figures (24)

  • Figure 1: The visualization of a Boolean network for a full adder, where the boolean expression of $SUM$ and $C_{out}$ can be formulated by "$SUM=C_{in} \oplus (A \oplus B)$, $C_{out}={(}A \wedge B{)} \vee {(}C_{in} \wedge (A \oplus B){)}$", respectively.
  • Figure 2: The illustration of the Boolean equivalence: the Boolean expression of $f$ in (a) and $g$ in (b).
  • Figure 3: The structural bias example of router design.
  • Figure 4: The motivation of the Boolean network skeleton.
  • Figure 5: The Boolean network visualization of a 4-bit ripple-carry adder in AIG format.
  • ...and 19 more figures

Theorems & Definitions (9)

  • Lemma 1
  • Definition 1: Boolean dependency
  • Definition 2: Boolean dependency graph
  • Definition 3: Pattern
  • Definition 4: Heterogeneous Pattern
  • Definition 5: Homogeneous Pattern
  • Definition 6: Reduction rule
  • Proposition 1
  • Proof 1: Proof of Proposition \ref{['prop:reachability']}