Hyun Choi
Back to Home홈으로

Digital Circuit Design Course Project디지털 회로 설계 수업 프로젝트

Adder Tree (12-input → 4-bit) — Schematic-to-Layout Integration Adder Tree (12-input → 4-bit) — 회로도-레이아웃 통합 설계

H. Choi

This project documents the design and integration of a tree-based compressor that reduces 12 one-bit inputs (XT0–XT11) into a 4-bit output (bS0–bS3) using a hierarchy of Full Adders (FA: 3:2 compressor) and Half Adders (HA: 2:2 compressor).

Full Adder(FA: 3:2 압축기)Half Adder(HA: 2:2 압축기)의 계층 구조로 12개의 1비트 입력(XT0–XT11)4비트 출력(bS0–bS3)으로 압축하는 트리 기반 압축기의 설계와 통합 과정을 기록한 프로젝트입니다.

DRC PASSED LVS PASSED
Adder Tree Architecture

Overview개요

1. Motivation1. 동기

A straightforward Ripple-Carry style accumulation of 12 inputs would introduce long carry propagation. Instead, this design adopts a Tree-based Compression (Compressor Tree) to reduce critical path length toward O(log N) behavior.

12개 입력을 단순 Ripple-Carry 방식으로 누적하면 캐리 전파가 길어집니다. 대신 이 설계는 트리 기반 압축(Compressor Tree)을 채택해 크리티컬 패스 길이를 O(log N) 수준으로 줄였습니다.

Key goals:핵심 목표:

2. Architecture Overview (Compressor Tree)2. 아키텍처 개요 (Compressor Tree)

Adder Tree Architecture
12-input → 4-bit Compressor Tree Architecture
12입력 → 4비트 압축 트리 아키텍처

2.1 Design Rationale2.1 설계 근거

The compressor tree was selected for:

압축 트리를 선택한 이유:

However, this bottom-up strategy also exposed a classic physical design tradeoff: aggressive per-cell transistor sizing improved local delay, but hurt standard-cell regularity (mismatched cell heights / irregular pin locations), increasing routing complexity and making hierarchical LVS closure harder.

다만 이 상향식 전략은 전형적인 물리 설계 트레이드오프도 드러냈습니다. 셀별로 공격적인 트랜지스터 사이징은 국소 지연을 개선했지만 표준 셀 규칙성을 해쳐 (셀 높이 불일치, 불규칙한 핀 위치) 라우팅 복잡도가 커지고 계층적 LVS 클로저가 어려워졌습니다.

2.2 Functional Correctness (Schematic Level)2.2 기능 정확성 (회로도 수준)

A full tree schematic was built using exported symbols from the chosen FA/HA cells. Schematic simulations confirmed output bits match expected arithmetic results with full swing observed on outputs.

선정된 FA/HA 셀에서 내보낸 심볼로 전체 트리 회로도를 구성했습니다. 회로도 시뮬레이션에서 출력 비트가 기대한 산술 결과와 일치하고 출력에서 풀 스윙이 관찰됨을 확인했습니다.

3. Cell Selection (FA / HA)3. 셀 선정 (FA / HA)

3.1 Full Adder: FA_36p

Multiple FA topologies were evaluated. The final tree uses FA_36p, which reduces transistor count by using:

여러 FA 토폴로지를 평가했고, 최종 트리에는 트랜지스터 수를 줄인 FA_36p를 사용했습니다:

Final sizing (best observed delay point):최종 사이징 (최적 지연 지점):

3.2 Half Adder: HA2 (XOR + NAND + inverter)

HA2 uses XOR + NAND structure with inverter for signal restoration. Best performance in tree was obtained by differentiated sizing per block:

HA2는 신호 복원을 위한 인버터가 포함된 XOR + NAND 구조입니다. 블록별 차등 사이징으로 트리 내 최고 성능을 얻었습니다:

4. Delay & Energy Measurement4. 지연 및 에너지 측정

4.1 Results Summary (Schematic-Level Tree)4.1 결과 요약 (회로도 수준 트리)

Contrary to initial hypothesis, worst delay was not always the falling transition.

초기 가설과 달리 최악 지연이 항상 하강 전이에서 발생하지는 않았습니다.

5. Layout Strategy (Cell → Tree Integration)5. 레이아웃 전략 (셀 → 트리 통합)

5.1 Cell Layout Summary (Completed)5.1 셀 레이아웃 요약 (완료)

Both FA and HA cells were designed with shared diffusion maximization and consistent power rail placement.

FA와 HA 셀 모두 공유 확산 영역 최대화와 일관된 전원 레일 배치를 적용해 설계했습니다.

5.2 Tree Layout (Hierarchical Assembly)5.2 트리 레이아웃 (계층적 조립)

Full verification complete: Both DRC and hierarchical LVS passed at the top level, confirming schematic-to-layout equivalence across the entire compressor tree.

전체 검증 완료: 최상위 수준에서 DRC와 계층적 LVS를 모두 통과해, 전체 압축 트리의 회로도-레이아웃 등가성을 확인했습니다.

6. What This Project Demonstrates6. 이 프로젝트가 보여주는 것

7. Technical Stack7. 기술 스택

FreePDK45 KLayout ngspice Full Custom Layout DRC/LVS Verification Transistor-Level Design