Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

Large diffs are not rendered by default.

123 changes: 123 additions & 0 deletions VLSI26/submitted_notebooks/IMC_Side_Channel_Analysis/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,123 @@
# πŸ” Power Side-Channel Vulnerability in Analog IMC Arrays
### IEEE SSCS Code-a-Chip β€” VLSI 2026 Submission

**Authors:** Tanay Das, Udisha Singh
**Affiliation:** IIT Gandhinagar, AMD India
**License:** Apache 2.0

---

## πŸ“Œ Overview

This project demonstrates a **power side-channel vulnerability** in **analog in-memory computing (IMC) crossbar arrays**, challenging the common assumption that analog systems are inherently secure.

Using **SkyWater SKY130 PDK** and **Ngspice**, we show that:

> The total supply current (**I_DD**) is strongly correlated with the **Hamming weight of the input vector**, enabling **input inference attacks**.

---

## πŸš€ Key Contributions

- πŸ” **Side-Channel Attack Demonstration**
- Pearson correlation: **ρ β‰ˆ 0.9979**

- πŸ”Š **Noise Robustness Analysis**
- Effective down to **SNR = 3 dB**

- πŸ›‘ **Countermeasure Evaluation**
- Passive techniques β†’ **0% effectiveness**

- βš™οΈ **Process Corner Validation**
- Works across **TT, FF, SS, SF, FS**

- πŸ“ˆ **Scalability Study**
- 8Γ—8 array leakage persists

- 🧠 **Model Extraction Attack**
- Weights inferred from current

- 🧱 **Layout (KLayout)**
- DRC-clean GDSII

- πŸ”Œ **Post-Layout Validation**
- Leakage persists with parasitics

---

## 🧠 Concept

For binary inputs:

I_DD ∝ Σ active rows (Σ conductance)

➑️ Directly maps to **Hamming weight**

---

## πŸ› οΈ Tools & Technologies

- SKY130 PDK
- Ngspice
- KLayout
- Python (NumPy, SciPy, Matplotlib)

---

## πŸ“‚ Project Structure

```
.
β”œβ”€β”€ IMC_SideChannel_VLSI2026_v3.ipynb
β”œβ”€β”€ environment.yml
β”œβ”€β”€ spice/
β”œβ”€β”€ layout/
β”œβ”€β”€ results/
└── README.md
```

---

## βš™οΈ Setup (Colab)

1. Run initialization cell (runtime restarts)
2. Install environment using `environment.yml`
3. Run all cells

---

## ⚠️ Key Insight

Analog IMC is **not inherently secure**.

Leakage arises from:
- NMOS saturation region behavior
- Current dependence on gate voltage

➑️ Passive balancing fails
➑️ Requires active mitigation

---

## πŸ“Š Results Summary

| Metric | Value |
|------|------|
| Correlation | 0.9979 |
| Noise Limit | 3 dB |
| Countermeasure | 0% |
| 8Γ—8 Correlation | 0.9976 |

---

## πŸ“Ž Citation

Tanay Das, Udisha Singh
"Power Side-Channel Vulnerability Analysis of Analog IMC Arrays"
IEEE VLSI 2026

---

## πŸ“¬ Contact

taanayd@gmail.com