updated readme
diff --git a/README.md b/README.md
index ef8fa5a..bc6bacb 100644
--- a/README.md
+++ b/README.md
@@ -1,17 +1,41 @@
-# Caravel Analog User - Comparator IP and Coil tests
+# Caravel Analog User - VCO IP, Comparator IP and Coil tests
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0) [![UPRJ_CI](https://github.com/efabless/caravel_user_project_analog/actions/workflows/user_project_ci.yml/badge.svg)](https://github.com/efabless/caravel_user_project_analog/actions/workflows/user_project_ci.yml) [![Caravan Build](https://github.com/efabless/caravel_user_project_analog/actions/workflows/caravan_build.yml/badge.svg)](https://github.com/efabless/caravel_user_project_analog/actions/workflows/caravan_build.yml)
---
-# [Google Skywater 130nm](https://github.com/google/skywater-pdk) Comparator IP and Coil tests
+# VCO
+The VCO is a 7 inverter ring oscillator. It can operate from 120MHz to 350 MHz. It has two tap points for external capacitors that can further reduce the frequence range.
-## Introduction
+## Circuit
+This is a ring oscillator with 7 invertors
+![](docs/VCO_circuit.png)
+
+### Inputs to the circuit
+1. VCC - 3.3 v
+2. GND - Ground
+3. VADJ - Voltage to adjust the frequency output
+4. OUT1 - A tap point to add a capacitor
+5. OUT2 - Second tap point to add a capacitor to lower the frequency range.
+
+### Output of the circuit
+1. OUT - VCO output
+
+## Simulations
+
+With no external capacitors
+![](docs/VCO_no_external_cap.png)
+Frequency range is 120 MHz to 350 MHz.
+
+With 10 picoFarad External Capacitor
+![](docs/VCO_10p_external_cap.png)
+Frequency range is 10 MHz to 40 MHz.
+
+
+# Comparator
A comparator is a device that compares two analog inputs and outputs a digital signal indicating which input is larger. So it has two analog input terminals and one binary digital output.
When the difference between two analog input signals approach zero, noise on the inputs will cause spurious switching of digital output. This rapid change in output due to noise can be prevented by hysteresis. Hysteresis is switching the output high or low at different input signal levels. In place of one switching point, hysteresis introduces two: one for rising edge, and one for falling edge of voltage or current. The difference between the higher-level trip value (VH) and the lower-level trip value (VL) equals the hysteresis voltage (HYST).
-I have also included a coil to test on-chip inductance. FastHenry used for simulation.
-
### Inputs to the circuit
1. VCC - 3.3 v
2. GND - Ground
@@ -25,15 +49,10 @@
### Circuit details
A comparator can be divided into three distinctive pieces – a frontend differential amplifier, amplifier stage and output stage.
+![](docs/Comparator_circuit.png)
-This comparator consists of
-1. Frontend differential amplifier
-2. Amplifier of the output from frontend differential sage
-3. NAND gate to act as buffer as well as incorporate the enable pin
-4. Inverter to act as final buffer before output. The NAND and Inverter improves the slew and provides a little gain.
-5. Positive feedback differential set-up.
-
-This is very similar to set-up on [2] but I have added some modifications to incorporate ENable pin and improve the performance on SKY130 PDK.
+# Coil Tests
+The coil is from the PDK. The fasthenry file is generated. The simulation is ongoing...
## References
1. P. Horowitz,and W. Hill, “The Art of Electronics,” Cambridge Press University, 3rd ed (references)
diff --git a/docs/Comparator_circuit.png b/docs/Comparator_circuit.png
new file mode 100644
index 0000000..fea1445
--- /dev/null
+++ b/docs/Comparator_circuit.png
Binary files differ
diff --git a/docs/VCO_circuit.png b/docs/VCO_circuit.png
new file mode 100644
index 0000000..2c43ece
--- /dev/null
+++ b/docs/VCO_circuit.png
Binary files differ