GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - GREAHeaviside/dac10b-r2r-sky130: Design of a 10-bit R-2R DAC using the open-source SkyWater 130nm PDK. Includes schematics, layout files, and a Python environment for metric evaluation (for educational purposes).

BranchesTags
Open more actions menu

Latest commit

 

History

34 Commits
34 Commits

Folders and files

NameName
Last commit message
Last commit date
dac_simulator
dac_simulator
 
 
klayout
klayout
 
 
xschem
xschem
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 

Repository files navigation

10-Bit R-2R DAC in Sky130

License: GPL v3 Python 3.x PDK: Sky130 Tools: IIC OSIC Tools

Currently in its final stage of publishing, this repository contains the analog design, schematics, and a custom Python simulation engine for a 10-bit R-2R Digital-to-Analog Converter (DAC). The hardware design is fully based on the open-source SkyWater 130nm PDK.

Key Achievements

1. Analog Design (Xschem + Ngspice)

  • Completed the full hierarchical schematic of the 10-bit R-2R DAC.
  • Included all base primitives, bit-cells, logic controllers, and ramp testbenches.

2. Custom DAC Simulator Engine (Python)

  • Developed a standalone Python mathematical engine to simulate R-2R mismatch, calculate static metrics (DNL/INL), and perform spectral analysis (ENOB, SNR, THD).
  • Implements Pelgrom's Law for stochastic mismatch modeling.

Planned Optimizations & Known Issues

SPICE Simulation Times: Initially, computing times for the ramp testbench were extremely high due to Ngspice unwrapping all hierarchies into a flattened SPICE file on the fly.

  • Improvement: Developed a Python script that unwraps the hierarchy only once before simulation.
  • Result: Achieved simulation times of 2~3 minutes per code (Tested in the TT corner on an 11th Gen i3 with 12GB RAM).

Roadmap / To-Do

  • GUI for the Simulator: Working on a Graphical User Interface to quickly test and simulate $n$-bit DACs for didactic and academic purposes.
  • Improve Simulation Times: Working on optimization methods to obtain full dynamic range simulation in a reasonable time (currently >2 days for the full range).
  • Sine and Transient Testbench: Facing the same bottlenecks as static simulations. Working on ways to improve computing times for transient/sine simulations in order to obtain settling time and ENOB for a desired frequency.
  • Layout Integration: Publish the physical implementation (GDSII) and post-layout verification steps.

About

Design of a 10-bit R-2R DAC using the open-source SkyWater 130nm PDK. Includes schematics, layout files, and a Python environment for metric evaluation (for educational purposes).

Topics

analog-designanalog-layoutklayoutsky130-pdkxschem

Resources

Readme
GPL-3.0 license
Activity

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.