initial commit
454 files changed
tree: e250425c603fd5b8073d1bc9b8a5db953fe694e7
  1. docs/
  2. gds/
  3. mag/
  4. netgen/
  5. openlane/
  6. precheck_results/
  7. verilog/
  8. xschem/
  9. info.yaml
  10. LICENSE
  11. Makefile
  12. README.md
README.md

CMOS Rail-To-Rail Comparator

This project is the implementation of a simple rail-to-rail comparator with its bias circuitry using Skywater 130nm technology. The purpose of this project is to test the open source tools provided with the PDK and to go through all the steps of the analog design flow. Two different circuits are instantiated in the analog version of the caravel:

  • A CMOS push-pull comparator with 2 differential pairs (NMOS and PMOS).
  • A bootstrap current reference.

CMOS Comparator

The schematic of the comparator was deisgned as follows : Comparator

Bias circuit

The schematic of the bias circuit was deisgned as follows : Comparator Bias

Simulation

We simulated the comparator with a voltage ramp at the negative input and a sinusoidal signal at the positive input. The output is a digital signal that triggers at the intersection of the 2 analog input signals. Simulation