# muhammadaldacher/analog-design-of-asynchronous-sar-adc architecture

> Architecture diagram of the GitHub repository muhammadaldacher/analog-design-of-asynchronous-sar-adc, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-09). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/muhammadaldacher/analog-design-of-asynchronous-sar-adc
- Repository: https://github.com/muhammadaldacher/analog-design-of-asynchronous-sar-adc

## Overview

This repository documents an 8-bit asynchronous SAR ADC design in 45 nm CMOS, with ideal Verilog-A models and circuit-level design artifacts. Its conversion flow samples an analog input, iteratively compares the DAC voltage and updates the SAR code, then presents the completed digital result. The README describes these block relationships; source excerpts were unavailable, so implementation-level calls and connections are not inferred.

Main entry points: [`VerilogA_files/Ideal_Asynchronous/Gate_1ns_delaycell.va`](https://github.com/muhammadaldacher/analog-design-of-asynchronous-sar-adc/blob/main/VerilogA_files/Ideal_Asynchronous/Gate_1ns_delaycell.va) (Internal Clock Generator), [`VerilogA_files/Ideal_Asynchronous`](https://github.com/muhammadaldacher/analog-design-of-asynchronous-sar-adc/tree/main/VerilogA_files/Ideal_Asynchronous) (SAR Logic), [`VerilogA_files/Ideal_Asynchronous/DAC_8bit.va`](https://github.com/muhammadaldacher/analog-design-of-asynchronous-sar-adc/blob/main/VerilogA_files/Ideal_Asynchronous/DAC_8bit.va) (Capacitive DAC), [`VerilogA_files/Ideal_Asynchronous/ClockedComparator.va`](https://github.com/muhammadaldacher/analog-design-of-asynchronous-sar-adc/blob/main/VerilogA_files/Ideal_Asynchronous/ClockedComparator.va) (Dynamic Comparator)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_timing["Conversion Timing"]
  node_clock["Internal Clock Generator"]
end

subgraph group_analog["Analog Front End"]
  node_sample["Sample-and-Hold<br/>[SampleAndHold.va]"]
  node_dac["Capacitive DAC<br/>[DAC_8bit.va]"]
end

subgraph group_logic["Conversion Logic"]
  node_comparator["Dynamic Comparator"]
  node_sar["SAR Logic"]
end

subgraph group_output["Digital Output"]
  node_register["Output Register<br/>[Register_8bit.va]"]
end

node_analog_input(("Analog Input"))
node_digital_consumer(("Digital Consumer"))

node_clock -->|"clocks"| node_sample
node_clock -->|"clocks"| node_dac
node_clock -->|"clocks"| node_comparator
node_clock -->|"clocks"| node_sar
node_analog_input -->|"samples"| node_sample
node_sar -->|"sets code"| node_dac
node_dac -->|"provides voltage"| node_comparator
node_comparator -->|"provides result"| node_sar
node_sar -->|"final code"| node_register
node_register -->|"outputs code"| node_digital_consumer

click node_clock "https://github.com/muhammadaldacher/analog-design-of-asynchronous-sar-adc/blob/main/VerilogA_files/Ideal_Asynchronous/Gate_1ns_delaycell.va"
click node_sample "https://github.com/muhammadaldacher/analog-design-of-asynchronous-sar-adc/blob/main/VerilogA_files/Ideal_Asynchronous/SampleAndHold.va"
click node_dac "https://github.com/muhammadaldacher/analog-design-of-asynchronous-sar-adc/blob/main/VerilogA_files/Ideal_Asynchronous/DAC_8bit.va"
click node_comparator "https://github.com/muhammadaldacher/analog-design-of-asynchronous-sar-adc/blob/main/VerilogA_files/Ideal_Asynchronous/ClockedComparator.va"
click node_sar "https://github.com/muhammadaldacher/analog-design-of-asynchronous-sar-adc/tree/main/VerilogA_files/Ideal_Asynchronous"
click node_register "https://github.com/muhammadaldacher/analog-design-of-asynchronous-sar-adc/blob/main/VerilogA_files/Ideal_Asynchronous/Register_8bit.va"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_clock toneBlue
class node_sample,node_dac toneAmber
class node_comparator,node_sar toneMint
class node_register toneRose
class node_analog_input,node_digital_consumer toneIndigo
```

## Components

### Conversion Timing

- [Internal Clock Generator](https://github.com/muhammadaldacher/analog-design-of-asynchronous-sar-adc/blob/main/VerilogA_files/Ideal_Asynchronous/Gate_1ns_delaycell.va): `VerilogA_files/Ideal_Asynchronous/Gate_1ns_delaycell.va`

### Analog Front End

- [Sample-and-Hold](https://github.com/muhammadaldacher/analog-design-of-asynchronous-sar-adc/blob/main/VerilogA_files/Ideal_Asynchronous/SampleAndHold.va): `VerilogA_files/Ideal_Asynchronous/SampleAndHold.va`
- [Capacitive DAC](https://github.com/muhammadaldacher/analog-design-of-asynchronous-sar-adc/blob/main/VerilogA_files/Ideal_Asynchronous/DAC_8bit.va): `VerilogA_files/Ideal_Asynchronous/DAC_8bit.va`

### Conversion Logic

- [Dynamic Comparator](https://github.com/muhammadaldacher/analog-design-of-asynchronous-sar-adc/blob/main/VerilogA_files/Ideal_Asynchronous/ClockedComparator.va): `VerilogA_files/Ideal_Asynchronous/ClockedComparator.va`
- [SAR Logic](https://github.com/muhammadaldacher/analog-design-of-asynchronous-sar-adc/tree/main/VerilogA_files/Ideal_Asynchronous): `VerilogA_files/Ideal_Asynchronous`

### Digital Output

- [Output Register](https://github.com/muhammadaldacher/analog-design-of-asynchronous-sar-adc/blob/main/VerilogA_files/Ideal_Asynchronous/Register_8bit.va): `VerilogA_files/Ideal_Asynchronous/Register_8bit.va`

### Other components

- **Analog Input**
- **Digital Consumer**

## Connections

- Internal Clock Generator → Sample-and-Hold: clocks (evidence: `README.md`)
- Internal Clock Generator → Capacitive DAC: clocks (evidence: `README.md`)
- Internal Clock Generator → Dynamic Comparator: clocks (evidence: `README.md`)
- Internal Clock Generator → SAR Logic: clocks (evidence: `README.md`)
- Analog Input → Sample-and-Hold: samples (evidence: `README.md`)
- SAR Logic → Capacitive DAC: sets code (evidence: `README.md`)
- Capacitive DAC → Dynamic Comparator: provides voltage (evidence: `README.md`)
- Dynamic Comparator → SAR Logic: provides result (evidence: `README.md`)
- SAR Logic → Output Register: final code (evidence: `README.md`)
- Output Register → Digital Consumer: outputs code (evidence: `README.md`)
