Git Product home page Git Product logo

parasgidd / avsdpll_3v3 Goto Github PK

View Code? Open in Web Editor NEW
15.0 1.0 6.0 4.63 MB

This repository contains simulation files and other relevant files on the On-chip clock multiplier (PLL) (Fclkin—5MHz to 12MHz, Fclkout—40MHZ to 100MHZ at 1.8v)IP worked on in the VSD Online Internship.

License: Apache License 2.0

SourcePawn 62.27% AGS Script 34.72% Gnuplot 3.00%
pll chip-clock-multiplier frequency-divider processor-chip hactoberfest

avsdpll_3v3's Introduction

1. Introduction to On-chip clock multiplier

This repository contains simulation files and other relevant files on the On-chip clock multiplier using PLL (Fclkin—5MHz to 12MHz, Fclkout—40MHZ to 100MHZ at 1.8v) IP worked on in the VSD Online Internship.

The target is to design a On-chip clock multiplier using the osu180nm technology node. The specifications are provided from VSD Corporation Pvt. Ltd. The On-chip clock multiplier is present in almost all synchronous processor chips (Integrated circuits).

Table of Contents

2. Theory

The clock generator is one of the most crucial part in synchronous processor & probably most susceptible after power lines which can cause failure of entire circuitry if not designed properly.

The phase locked loop or PLL is a circuit block that is widely used in radio frequency or wireless applications.

In view of its usefulness, the phase locked loop or PLL is found in many wireless, radio, and general electronic items from mobile phones to broadcast radios, televisions to Wi-Fi routers, walkie talkie radios to professional communications systems etc.

the circuit simulated here uses PLL block to get desired frequency at it’s output (which is 8 times to that of input frequency provided). This IP block can be used for clock distribution for processor chip.

3. Specification List

Parameter Description Min Type Max Unit Condition
VDD Digital supply voltage 1.8 V T=-40 to 150C
FCLKREF Reference clock frequency 5 10 12.5 MHz
FCLKOUT Output clock frequency 39.7 80.91 99.81 MHz PLL mode, T=27C, VDD=1.8
FCLKOUT Output clock frequency MHz VCO mode, T=27C, VDD=1.8
DC Duty Cycle 48 52 % T=-40 to 150C
IBCP Bias current for VCO uA
VVCO Oscillatror control input voltage .557 0.62 V Vin_vco = 0V at t = 0 (.uic)
JRMS Jitter (rms) future work ps PLL mode, FCLKREF = 10MHz
TSET Settlng Time 5.2 5 4.6 us start from EN_CP and report 2 values; one at FCLKOUT=40MHz and one at FCLKOUT=100MHz
CL Load Capacitance pF
IDDA Analog Supply current ua VVCO=0.8V, VCO mode
IDDA Analog Supply current ua FCLKREF=10MHz, PLL mode
IDDA Analog Supply current pa EN_VCO=0, EN_CP=0, FCLKREF=0
IDDD Digital Supply Current uA VVCO=0.8V, VCO mode
IDDD Digital Supply Current uA FCLKREF=10MHz, PLL mode
IDDD Digital Supply Current uA EN_VCO=0, EN_CP=0, FCLKREF=0

4. EDA Tools Used

The design has been built using open-source EDA tools. The library used is osu180nm.

  1. Ngspice
  2. Magic

5. Pre-layout Simulations

The complete circuit of PLL is built hierarchically using the following subcircuit blocks.

Alt Text

Fig: Block Diagrm of PLL Design.

Alt Text

Fig: Input-Output waveforms from Pre-layout Simulation.

Fin - Input Frequency. (Red)

up - Up signal (Blue)

down - Down signal (Yellow)

Vcp - Input Voltaage of VCO (Green)

fout - Output Frequency (Pink)

Pre-layout Simulation Results

Input Frequency Output Frequency
5MHz 39.73MHz
10MHz 80.91MHz
12MHz 96.1MHz
12.5MHz 99.81MHz

6. Post-Layout Simulations

A. Phase Frequency Detector

Alt Text

Fig: Layout of Phase Frequency Detector (PFD) or Phase Detector (PD)

Alt Text

Fig: Input-Output waveforms of Phase Frequency Detector (PFD) or Phase Detector (PD)

Inputs - Fin (Input Frequency) & Fvco_8 (Output Frequency divide by 8)

Outputs - Up Signal & Down Signal

B. Voltage Controlled Oscillator

Alt Text

Fig: Layout of Voltage Controlled Oscillator (VCO).

Alt Text

Fig: Input-Output waveforms of Voltage Controlled Oscillator (VCO).

Vin - Input Voltage

Fout - Output Frequency

C. Frequency Divider by 2

Alt Text

Fig: Layout of Frequency Divider by 2.

Alt Text

Fig: Input-Output waveforms of Frequency Divider by 2.

clk - Input Freqency.

q - Output Freqency (Input Freq. by 2).

D. Frequency Divider by 8

Alt Text

Fig: Layout of Frequency Divider by 8.

Alt Text

Fig: Input-Output waveforms of Frequency Divider by 8.

clk - Input Freqency.

q - Output Freqency (Input Freq. by 8).

E. 2:1 MUX

Alt Text

Fig: Layout of 2:1 MUX.

Alt Text

Fig: Input-Output waveforms of of 2:1 MUX.

i1 - Input 1

i2 - Input 2

sel - Select

out - Output

F. Phase lock Loop

Alt Text

Fig: Layout of Phase Lock Loop (Combining all the Sub-circuits of PLL).

a. Input frequency = 5MHz

Alt Text

Fig: Input-Output waveforms of PLL.

Fin - Input Frequency. (Top Red)

Fvco_8 - Output Frequency divide by 8. (Blue)

up - Up signal (Yellow)

down - Down signal (Green)

Vcp - Input Voltaage of VCO (Pink)

fout - Output Frequency (Bottom Red)

Alt Text

Fig: Input-Output waveforms of PLL.

Fin - Input Frequency. (Red)

fout - Output Frequency (Blue)

b. Input frequency = 10MHz

Alt Text

Fig: Input-Output waveforms of PLL.

Fin - Input Frequency. (Top Red)

Fvco_8 - Output Frequency divide by 8. (Blue)

up - Up signal (Yellow)

down - Down signal (Green)

Vcp - Input Voltaage of VCO (Pink)

fout - Output Frequency (Bottom Red)

Alt Text

Fig: Input-Output waveforms of PLL.

Fin - Input Frequency. (Red)

fout - Output Frequency (Blue)

c. Input frequency = 12.5MHz

Alt Text

Fig: Input-Output waveforms of PLL.

Fin - Input Frequency. (Top Red)

Fvco_8 - Output Frequency divide by 8. (Blue)

up - Up signal (Yellow)

down - Down signal (Green)

Vcp - Input Voltaage of VCO (Pink)

fout - Output Frequency (Bottom Red)

Alt Text

Fig: Input-Output waveforms of PLL.

Fin - Input Frequency. (Red)

fout - Output Frequency (Blue)

Note: As there were limitaions for for layout of capacitor in OSU180 tech file, I'm unable to make layout of Low Pass Filter. However, using more mature & advanced nodes & PDK tech file, it can be made on silicon.

7. Future work

  1. Porting this IP on lower technology nodes using advance PDK's where capacitor fabrication is realizable
  2. Area Efficient Design Improvements.
  3. Improvements for Power Reduction.
  4. Improvements of accuracy, jitter & dead zone.

8. Author

  • Paras Gidd, M.Tech.( Microelectronics ), Manipal Institute of Technology,(MAHE), [email protected]

9. Contributors

  • Paras Gidd
  • Kunal Ghosh
  • Philipp Gühring

10. Acknowledgments

And Last but not least, I would like to thank my Parents & Teachers who directly & indirectly helped me & their contribution is of great value for me.

11. Contact Information -

avsdpll_3v3's People

Contributors

parasgidd avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

avsdpll_3v3's Issues

Ngspice Simulations

Hi Paras ,
It will be helpful if there are different .cir files for 3 frequencies instead of editing in the same one . Steps for ngspice simulations requires little more clarity.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.