Skip to content

iaakash47/avsddac28nm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 

Repository files navigation

POTENTIOMETRIC 10BIT DIGITAL-TO-ANALOG CONVERTER(DAC)

  • The project aims to design a 10-bit Potentiometric Digital to Analog Converter using end-to-end Synopsys Commercial EDA tool(Custom Complier). The target is to design 10-bit potentiometric DAC with 1.8v digital voltage and 1 off-chip external voltage reference using SAED_PDK 28_32nm technology node

Table of Content

  1. Introduction
  2. EDA tools used to implement Potentiometric DAC
  3. Architecture
  4. IP Design Specifications
  5. Implementation of 10Bit Potentiometric DAC
  6. Pre-layout Designs
  7. References
  8. Contributor
  9. Acknowledgments

Introduction

DAC

  • In real world, most of the data available is in the form of analog in nature. We have two types of converters analog to digital converter and digital to analog converter. These two converting interfaces are essential to obtain the required operations of a processor to manipulate the data of digital electronic equipment and an analog electric equipment. Digital to Analog Converter (DAC) is a device that transforms digital data into an analog signal in order to interact with the real world. The digital signal is represented with a binary code, which is a combination of bits 0’s and 1’s. The digital data can be produced from a microprocessor, Field Programmable Gate Array (FPGA), or Application Specified Integrated Circuit (ASIC). There are two commonly used DAC conversions – Weighed resistors method and R-2R ladder network method. Applications of a DAC: audio amplifier, video encoder, display electronics, data acquisition systems, calibration, Digital potentiometer.

  • A n-bit Digital to Analog Converter (DAC) takes a n-bit digital word and converts it into a proportional analog voltage with respect to the reference voltage. The potentiometric DAC uses the concept of Voltage Divider. In an N-bit DAC, the analog voltage range, i.e. the Vref (here 1.8 V) is equally divided into 2^N voltage values. This is achieved by a series on 2^N equal resistors and taps are provided across each R. The combination of switches to tap the values is designed using the N-bit digital word as input. An example of N-bit potentiometric DAC is shown in the figure below.

  • Two types of DACs :

    • Weighted Resistor DAC
    • R-2R Ladder DAC

Weighted Resistor DAC

  • A weighted resistor DAC produces an analog output, which is almost equal to the digital (binary) input by using binary weighted resistors in the inverting adder circuit. In short, a binary weighted resistor DAC is called as weighted resistor DAC.

Weighted Resistor DAC Design

166871259-dc9be251-84f7-4ac6-a7bb-7aed601f6f59

R-2R Ladder DAC

  • The R-2R Ladder DAC overcomes the disadvantages of a binary weighted resistor DAC. As the name suggests, R-2R Ladder DAC produces an analog output, which is almost equal to the digital (binary) input by using a R-2R ladder network in the inverting adder circuit.

R-2R Ladder DAC Design

166871272-ec5a78ad-90d0-40e3-b2f7-2d93ae7eedcf

Switch Reference Design

switch circuit

The switches are designed as shown in the figure above. The digital voltage of 1.8V or 0V is given at the digital input port for logic 1 and 0 respectively. If the digital input is logic 1, then Vin1 appears at the output port, else Vin2 appears at the output. Hence this switch circuit replaces two switches in same level as it takes into account both the swiches of complemented and uncomplemented bit.

EDA tools used to implement Potentiometric DAC

  • The design has been built using Commericial EDA tools like Synopsys Custom Compiler. The library used is SAED32_28nm.
  • This design is implemented using
    • Custom Compiler
    • Prime wave
    • IC validator
    • HSPICE

Terminal Functions

Name I/O Description
D [0:9] I Digital inputs
VOUT O DAC analog voltage output
VDDA I Analog voltage supply (1.8)
VSSA I Analog ground 0V
VREFH I Reference voltage low for DAC

Architecture

  • dac

IP Design Specifications

dac

Implementation of 10Bit Potentiometric DAC

The basic idea is to divide the voltage into N different voltage values in the range of VREFH and VREFL- for an N-Bit DAC. The design used here to achieve this is the simple resistor string DAC which consists of resistors in series. These resistors are then connected to various switches in such a fashion that it routes the exact voltage to the output. The problem of the largeness of the circuit is reduced by building hierarchical subcircuits of 10-Bit potentiometric DAC – Switch, 2-bit, 3-bit, 4-bit, 5-bit, 6-bit, 7-bit, 8-bit, 9-bit and 10-bit.

Pre-layout Designs

Switch

Terminal Functions

Name Value Description
D_in v1 = 0V, v2 = 1.05V, tr = 0.1us Digital inputs
Capacitor 1pf DAC analog voltage output
VDDA 1.8v Analog voltage supply (1.8v)
VSSA 0v Analog ground 0V
VREFH 1.2v Reference voltage High for DAC
VREFL 0.8v Reference voltage low for DAC

Switch design and simulation

DAC_switch_new_schematic

Switch Symbol

DAC_switch_new_symbol

Switch Testbench

DAC_switch_new_tb_schematic

Switch Waveform

switch-waveform

Postlayout

switch

DAC_switch_new_layout

2-Bit DAC

specification

Name Value Description
D_in v1 = 0V, v2 = 1.05V, tr = 0.1us Digital inputs
Resistor 200ohms Resistance
Capacitor 5pf Capacitance
VDDA 1.8v Analog voltage supply (1.8v)
VSSA 0v Analog ground 0V
VREFH 1.2v Reference voltage High for DAC
VREFL 0.8v Reference voltage low for DAC
  • 2-Bit DAC is implemented using 3 switch instances. 2-Bit circuitry and waveform are shown below

2-Bit DAC design and simulation:

  • For the 2 bit DAC, switch circuit was included as a subcircuit. After creating the schematics, the spice netlist was extracted. The necessary model files of SAED32nm tt transistors were included in the netlist and transient analysis was performed.

DAC_2bit_DAC_schematic

Symbol

DAC_2bit_DAC_symbol

2-Bit DAC Testbench

DAC_2bit_DAC_tb_schematic

2-Bit DAC Waveform

dac_2bit

Post Layout

2bit DAC

DAC_2bit_DAC_layout

3-Bit DAC

  • 3Bit DAC is implemented using 2 2-Bit DACs and 1 switch instances. 3-Bit circuitry and waveform are shown below

3-Bit DAC design and simulation:

DAC_3bit_DAC_schematic

Symbol

DAC_3bit_DAC_symbol

3-Bit DAC Testbench

DAC_3bit_DAC_tb_schematic

3-Bit DAC Waveform

dac_3bit 3bit_DAC

Post Layout

3Bit DAC

DAC_3bit_DAC_layout

4-Bit DAC

  • 4Bit DAC is implemented using 2 and 3-Bit DACs and 1 switch instances. 4-Bit circuitry and waveform are shown below

4-Bit DAC design and simulation:

DAC_4bit_DAC_schematic

Symbol

DAC_4bit_DAC_symbol

4-Bit DAC Testbench

DAC_4bit_DAC_tb_schematic

4-Bit DAC Waveform

dac_4bit 4bit_DAC

Post Layout

4bit DAC

DAC_4bit_DAC_layout

5-Bit DAC

  • 5Bit DAC is implemented using 2 and 4-Bit DACs and 1 switch instances. 5-Bit circuitry and waveform are shown below

5-Bit DAC design and simulation:

DAC_5bit_DAC_schematic

Symbol

DAC_5bit_DAC_symbol

5-Bit DAC Testbench

DAC_5bit_DAC_tb_schematic

5-Bit DAC Waveform

dac_5bit 5bit_DAC

Post Layout

5bit DAC

DAC_5bit_DAC_layout

6-Bit DAC

  • 6Bit DAC is implemented using 2 and 5-Bit DACs and 1 switch instances. 6-Bit circuitry and waveform are shown below

6-Bit DAC design and simulation:

DAC_6bit_DAC_schematic

Symbol

DAC_6bit_DAC_symbol

6-Bit DAC Testbench

DAC_6bit_DAC_tb_schematic

6-Bit DAC Waveform

dac_6bit 6bit_DAC

Post Layout

6Bit DAC

DAC_6bit_DAC_layout

7-Bit DAC

  • 7Bit DAC is implemented using 2 and 6-Bit DACs and 1 switch instances. 7-Bit circuitry and waveform are shown below

7-Bit DAC design and simulation:

DAC_7bit_DAC_schematic

Symbol

DAC_7bit_DAC_symbol

7-Bit DAC Testbench

DAC_7bit_DAC_tb_schematic

7-Bit DAC Waveform

dac_7bit

7bit_DAC

Post Layout

7Bit DAC

DAC_7bit_DAC_layout

8-Bit DAC

  • 8Bit DAC is implemented using 2 and 7-Bit DACs and 1 switch instances. 8-Bit circuitry and waveform are shown below

8-Bit DAC design and simulation:

DAC_8bit_DAC_schematic

Symbol

DAC_8bit_DAC_symbol

8-Bit DAC Testbench

DAC_8bit_DAC_tb_schematic

8-Bit DAC Waveform

8bitwf_dac

8bit_DAC

Post Layout

8Bit DAC

DAC_8bit_DAC_layout

9-Bit DAC

  • 9Bit DAC is implemented using 2 and 8-Bit DACs and 1 switch instances. 9-Bit circuitry and waveform are shown below

9-Bit DAC design and simulation:

DAC_9bit_DAC_schematic

Symbol

DAC_9bit_DAC_symbol

9-Bit DAC Testbench

DAC_9bit_DAC_tb_schematic

9 bit DAC waveform

9bit_DAC 10bit_DAC

Post Layout

9Bit DAC

DAC_9bit_DAC_layout

10-Bit DAC

  • 10Bit DAC is implemented using 2 and 9-Bit DACs and 1 switch instances. 10-Bit circuitry and waveform are shown below

10-Bit DAC design and simulation:

DAC_10bit_DAC_schematic

Symbol

DAC_10bit_DAC_symbol

10-Bit DAC Testbench

DAC_10bit_DAC_tb_schematic

10 bit DAC waveform

10bitDAC 10bit_DAC

Post Layout

10Bit DAC

168643602-a5eb1fac-02c0-46d9-847d-ce4947dadf7d

10Bit DAC

DAC_10bit_DAC_layout

Note

  • For 3 Bit DAC : D0, D1 and D2
  • For 4 Bit DAC : D0, D1, D2 and D3 and so on.
  • For 10 Bit DAC : D0, D1, D2...., D9.
  • Other Inputs value remains the same as 2 Bit DAC until 10 Bit DAC.
  • For 2 Bit DAC, Number of steps in the output graph = 2^N, i.e, 2^2 = 4 steps
  • For a 10 Bit DAC, Number of steps in the output graph = 2^N, i.e, 2^10 = 1024 steps.
  • The graph value for DAC ranges from VrefH (1.8V) to VrefL (0V).

Further Work

  • Need to start with custom layout stimulations for DAC Layout

References

  • Sammer Duroji VSD team
  • Kanna Shalini VSD team
  • Skandha Deepsita VSD team

Contributor

Acknowledgments

  • Kunal Ghosh, Co-founder, VLSI SYSTEM DESIGN (VSD) Corp Pvt.Ltd - [email protected]
  • Muthukrishnan Chinnasamy, CEO of Semiconductor Fabless Accelerator Lab(SFAL)
  • Montu Makadia - Semiconductor Fabless Accelerator Lab (SFAL)

About

POTENTIOMETRIC DIGITAL-TO-ANALOG CONVERTER

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published