flowchart TD LS[Logic Synthesis] --> TM[Technology Mapping] TM --> PK[Packing] PK --> PL[Placement] PL --> RT[Routing] style LS fill:#c8e6c9,stroke:#2e7d32,stroke-width:3px style TM fill:#e3f2fd,stroke:#1565c0,stroke-width:3px,color:#2e3440 style PK fill:#fff3e0,stroke:#e65100,stroke-width:3px,color:#2e3440 style PL fill:#f3e5f5,stroke:#7b1fa2,stroke-width:3px,color:#2e3440 style RT fill:#ffcdd2,stroke:#c62828,stroke-width:3px,color:#2e3440
graph TD subgraph "Cells C" C1((C1)) C2((C2)) C3((C3)) end subgraph "L Elements" L1[L1] L2[L2] L3[L3] end subgraph "F Elements" F1[F1] F2[F2] F3[F3] end C1 --> L1 C1 --> F1 C2 --> L2 C2 --> F2 C3 --> L3 C3 --> F3 style C1 fill:#e3f2fd,stroke:#1565c0,stroke-width:3px,color:#2e3440 style C2 fill:#e3f2fd,stroke:#1565c0,stroke-width:3px,color:#2e3440 style C3 fill:#e3f2fd,stroke:#1565c0,stroke-width:3px,color:#2e3440 style L1 fill:#fff3e0,stroke:#e65100,stroke-width:3px,color:#2e3440 style L2 fill:#fff3e0,stroke:#e65100,stroke-width:3px,color:#2e3440 style L3 fill:#fff3e0,stroke:#e65100,stroke-width:3px,color:#2e3440 style F1 fill:#c8e6c9,stroke:#2e7d32,stroke-width:3px style F2 fill:#c8e6c9,stroke:#2e7d32,stroke-width:3px style F3 fill:#c8e6c9,stroke:#2e7d32,stroke-width:3px
graph LR subgraph "Stage 1" Q1[Q] --> QF1[QF] F1[F] --> QF1 Q2[Q] --> QF2[QF] F2[F] --> QF2 end subgraph "Stage 2" QF1 --> C1[Cell] L1[L] --> C1 QF2 --> C2[Cell] L2[L] --> C2 end style Q1 fill:#fff3e0,stroke:#e65100,stroke-width:3px,color:#2e3440 style Q2 fill:#fff3e0,stroke:#e65100,stroke-width:3px,color:#2e3440 style F1 fill:#c8e6c9,stroke:#2e7d32,stroke-width:3px style F2 fill:#c8e6c9,stroke:#2e7d32,stroke-width:3px style L1 fill:#f3e5f5,stroke:#7b1fa2,stroke-width:3px,color:#2e3440 style L2 fill:#f3e5f5,stroke:#7b1fa2,stroke-width:3px,color:#2e3440 style QF1 fill:#e3f2fd,stroke:#1565c0,stroke-width:3px,color:#2e3440 style QF2 fill:#e3f2fd,stroke:#1565c0,stroke-width:3px,color:#2e3440 style C1 fill:#ffcdd2,stroke:#c62828,stroke-width:3px,color:#2e3440 style C2 fill:#ffcdd2,stroke:#c62828,stroke-width:3px,color:#2e3440
graph LR subgraph "Cell Types" C1["Cell Type 1\n L1 + F"] C2["Cell Type 2\n L2 + F"] end subgraph "Elements" L1[L1] L2[L2] F[F] end C1 --> L1 C1 --> F C2 --> L2 C2 --> F style C1 fill:#e3f2fd,stroke:#1565c0,stroke-width:3px,color:#2e3440 style C2 fill:#c8e6c9,stroke:#2e7d32,stroke-width:3px style L1 fill:#fff3e0,stroke:#e65100,stroke-width:3px,color:#2e3440 style L2 fill:#f3e5f5,stroke:#7b1fa2,stroke-width:3px,color:#2e3440 style F fill:#ffcdd2,stroke:#c62828,stroke-width:3px,color:#2e3440