Clone this repo:

Branches

  1. 97f650b final gds oasis by Jeff DiCorpo · 1 year, 1 month ago main
  2. c4dd83f updated more references by chrische · 1 year, 2 months ago
  3. b62f3ad fixed some more missing references by chrische · 1 year, 2 months ago
  4. 5e6e75f fixed some references in testbenches by chrische · 1 year, 2 months ago
  5. 78ca348 merged changes by chrische · 1 year, 2 months ago

8-bit SAR-ADC with offset calibration

This is a mixed-mode project featuring a 8-bit SAR-ADC, with offset calibration. The logic section is synthesized using the openlane digital flow.

Layout

The layout is created using magic as a pcell generator and drc checker, while the connection of the design is done using klayout.

layout

Architecture

The ADC is composed of a differential top-plate sampled dac, which is made from an array of MIM capacitors. The comparator is a regenerative comparator, which is followed by a latch to retain the output state during reset. The latch output is fed into the logic section, which performs the standard binary search algorithm.

layout

Simulation

The simulation is carried out using ngspice using the mixed-mode xspice capabilities. The digital section is synthesized using yosys that can then be bridged to/from the analog section.

The Schematics are created using xschem, which also serves as the simulation framework. testbench

The SAR schematic: testbench

The simulation output can then be viewed in both analog and digital domain.

Digital waveforms displayed using GTKWave gtkwave

Analog waveforms displayed using Gnuplot in interactive mode. gtkwave