graph LR RTL["RTL Netlist\n1M+ gates"] --> SIM["Simulation\n10^9 cycles"] SIM --> EV["Toggle-Event Stream\n100M+ events"] EV --> SK["Probabilistic Sketches\nO(1) memory"] SK --> HOT["Hot-spot Map ๐ก"] SK --> PWR["Power Estimate ๐"] style RTL fill:#4caf50 style SIM fill:#2196f3 style EV fill:#ff9800 style SK fill:#9c27b0 style HOT fill:#f44336 style PWR fill:#f44336
graph LR X["Event x โ"] --> H["d independent hashes\nh1 ... hd"] H --> C["Increment one counter\nper row"] Y["Query y โ"] --> H2["same d hashes"] H2 --> M["min over d rows\nnever underestimates โ "] style X fill:#4caf50 style H fill:#2196f3 style C fill:#ff9800 style M fill:#f44336
graph LR X["Item"] --> HASH["64-bit hash"] HASH --> IDX["top p bits\nregister j"] HASH --> REM["remaining bits\nrank rho"] IDX --> UPD["M[j] = max(M[j], rho)"] REM --> UPD UPD --> EST["E = alpha_m m^2 / sum 2^-M[j]"] style X fill:#4caf50 style HASH fill:#2196f3 style UPD fill:#9c27b0 style EST fill:#ff9800
graph TD D["Batch of hashes\nup to 1M"] --> GRID["Grid: ceil(n/256) blocks"] GRID --> T["256 threads / block"] T --> A["atomicMax(registers[j], rho) โ"] A --> R["Registers in global memory"] R --> C["copy_to_host()"] C --> E["Harmonic-mean estimate"] style D fill:#4caf50 style GRID fill:#2196f3 style A fill:#ff9800 style E fill:#9c27b0
graph LR N["Netlist + node caps"] --> T["Toggle stream"] T --> CMS["Count-Min Sketch"] CMS --> A["alpha = count / cycles"] A --> P["P = alpha C V^2 f"] P --> R["Hot-spot + power report ๐"] style N fill:#4caf50 style CMS fill:#9c27b0 style A fill:#2196f3 style P fill:#f44336 style R fill:#ff9800
graph LR AI["AI workloads\nLLMs, training"] --> CHIP["Huge AI chips\n100B+ transistors"] CHIP --> DATA["Design data\nsim ยท DRC ยท timing ยท power"] DATA --> ANALYTICS["Streaming analytics\nsketches + GPU"] ANALYTICS --> DECIDE["Real-time\nDSE & sign-off"] DECIDE --> AI style AI fill:#9c27b0 style CHIP fill:#2196f3 style DATA fill:#ff9800 style ANALYTICS fill:#4caf50 style DECIDE fill:#f44336
graph LR RAW["EDA data streams\nnetlist ยท sim ยท DRC"] --> SK["Sketches\nCMS ยท HLL"] SK --> FEAT["Scalable metrics\nhot spots ยท coverage ยท uniqueness"] FEAT --> ML["ML / AI models\nsurrogate ยท RL ยท LLM"] ML --> ACT["Design actions\nplace ยท route ยท optimize"] ACT --> RAW style RAW fill:#ff9800 style SK fill:#9c27b0 style FEAT fill:#4caf50 style ML fill:#2196f3 style ACT fill:#f44336