Skip to main content
v2026.11,986 entries · CC-BY 4.0

Magic VLSI: Open-Source Layout Tool Explained

Magic VLSI is an open-source IC layout editor from 1980s Berkeley. See what it does, its DRC and extraction role in SKY130, and its release history.

Written and maintained by CASRAI Editorial Board

Published

On this page

Magic is an open-source VLSI layout editor: software for drawing the physical geometry of an integrated circuit, checking it against design rules and extracting a circuit description from it. It was written at Berkeley in the 1980s by John Ousterhout, and its current maintained release line is version 8.3, stewarded by Tim Edwards of Open Circuit Design. This guide explains what Magic does, how it fits into an open-source verification flow, and what its own release notes say about its capabilities.

Short answer: what is Magic VLSI?

“Magic VLSI” refers to Magic, a layout tool for very-large-scale integration (VLSI) design. The maintainer’s information page describes it as “a venerable VLSI layout tool” and says it is widely cited as the easiest tool to use for circuit layout, even among engineers who rely on commercial tools for their product design flow. It is distributed under a permissive Berkeley-style license, which the same page credits for its continued popularity with universities and small companies.

In practice a designer uses Magic to draw mask layers, run design rule checking (DRC) on that drawing, extract devices and parasitics into a SPICE-style netlist, and read or write standard interchange formats such as GDS, CIF, LEF and DEF. It is a layout and physical-verification tool, not a circuit simulator and not a hardware description language compiler.

Definition and scope

Magic sits at the physical end of integrated circuit design: the stage where a circuit is turned into the polygons that a fabrication process will pattern onto silicon. For the wider picture of how a chip moves from specification to layout, see the CASRAI guide to integrated circuit design. Magic covers only the layout and physical-verification slice of that picture.

Origin and licensing

According to the maintainer’s page (last updated 28 October 2025), Magic was written in the 1980s at Berkeley by John Ousterhout, who is now known mainly as the author of the Tcl scripting language. The license file in the source repository carries a University of California copyright notice dated 1985 and 1990 and grants permission to use, copy, modify and distribute the software for any purpose without fee, provided the copyright notice appears in all copies. The software is provided “as is”.

Who maintains it today

The repository README states that the current distribution version of Magic is maintained by Tim Edwards and asks users to report bugs through the GitHub issue tracker. It also points to developer Rajit Manohar’s Magic page at Yale and to an archived page from the original Compaq research lab, the latter described as being of mainly historical interest. The information page says version 8.3 is the official current release, a combined effort of the “Magic Development Team”, and that development has moved to git branches. The VERSION file in the repository’s default branch read 8.3.705 when it was checked on 20 November 2026.

How Magic is used in practice

The README’s release notes, which run from the 6.5 series to 8.3, are the most complete primary description of what the program does. They show five working areas that matter to a layout designer.

Layout editing and scripting

Version 7.2 added the ability to run Magic from a Tcl interpreter with graphics handled by Tk, plus a GUI for the Tcl version and a command for managing multiple wrapper windows. This is why Magic can be scripted with Tcl, the language its original author created. Earlier, version 7.1 (contributed by Rajit Manohar of Cornell University) added an implementation of Scheme, a subset of Lisp, for generating complex layout functions. Version 7.3 added a “polygon” command, an interactive wire tool and a pick tool for interactive selection, move and copy.

Design rule checking

Design rules are held in a technology file. Release notes describe several DRC refinements: “widespacing” rules (7.2), “widespacing” and “maxwidth” algorithms (7.3), and a scale factor in version 7.5.1 that lets rules be declared in fractions of lambda so that they can match a vendor’s rule distances while Magic keeps its own lambda-based grid. Version 8.0 added a DRC method that ignores errors in subcells that are masked by the parent cell, and version 8.2 (October 2017) corrected the handling of child-cell errors that geometry in the parent cell effectively fixes.

Circuit extraction

Magic can extract a netlist from layout. The notes list extraction of transistors and resistors (improved in 7.3), inductance extraction (7.2), non-Manhattan device extraction (7.3), hierarchical SPICE output for layout-versus-schematic (LVS) comparison (8.0) and, in 8.2, multiple extracted device types per Magic layer depending on context such as connecting layers and substrate. The 8.3 release added a “bplane” cell-plane implementation that, per the README, speeds up operations such as extraction by a factor of 3 to 5 or so, depending on how much hierarchy the design has. The same notes say the “extresist” resistance-extraction method still depends on “.sim” format files and needs fundamental work.

Interchange formats

Version 7.2 added LEF and DEF readers and a LEF writer, and CIF and GDS input and output support for deep submicron technologies. Version 7.3 added vendor GDS read and write capability and handling of path records and cell scaling in GDS input. Version 7.5 added a “gds merge true” option that writes polygons rather than tiles, which the notes say produces much smaller output files at the expense of processing time.

Platforms and building

The repository includes a configure script, an INSTALL file, a separate INSTALL_MacOS.md and directories for Windows and AppImage packaging. The README tells readers to consult the opencircuitdesign.com site for download, compile and install information. Version 7.2 introduced a Cygwin compile option and GNU autoconf-based building.

Where Magic sits in an open-source verification flow

The SkyWater SKY130 open process design kit (PDK) documentation lists the tools that can perform each physical-verification step. The table below restates that listing; it is the clearest sourced answer to “which software is used for VLSI design” in an open-source flow, because it shows Magic alongside the other tools rather than in isolation.

Verification step Tools named in the SKY130 PDK documentation Magic involved?
Design rule checking (DRC) Mentor Calibre, Magic, KLayout Yes
Layout versus schematic (LVS) Mentor Calibre, netgen Not listed (Magic can write the extracted SPICE netlist; see the extraction notes above)
Parasitic extraction (PEX) Calibre xRC, Magic Yes

The same documentation states that the PDK provides automated physical and design rule checking decks and that some design rules cannot be verified with those decks. Those rules are marked in the SKY130 design rules documentation and “should be manually verified by the designer”. For circuit-level simulation of an extracted netlist, a separate simulator is needed; the CASRAI guide to ngspice covers one open-source option.

Magic is one tool in a layered toolchain, and the sources above name the other pieces that commonly appear with it.

  • KLayout. Listed in the SKY130 documentation as an alternative DRC tool alongside Magic and Calibre.
  • netgen. Listed as the open-source LVS option in the same documentation; Calibre is the commercial alternative.
  • Mentor Calibre and Calibre xRC. Commercial physical-verification and extraction tools named in the same listing. The Magic information page notes that Magic is cited as easy to use even by people who rely on commercial tools for their product design flow.
  • Tcl. The scripting language that Magic can be driven from (version 7.2 onward) and whose author also wrote the original program.
  • Cadence Virtuoso. A commercial layout environment that searchers often compare with Magic. This guide does not rate it; the sources read here do not compare the two.

The data table below the page body lists capabilities by release, taken from the README release notes, so you can see when each layout, DRC, extraction and format feature arrived.

Where it matters for labs and research groups

Magic matters most where a team needs to lay out and check a chip without a commercial licence: university courses, research groups and small companies, the groups the information page names as its core users. The practical significance for a research lab is reproducibility. Because the source, the license text and the release notes are public, a group can record exactly which Magic version and which PDK checks produced a tape-out, and another group can rerun them. Pairing a pinned Magic version with the PDK’s DRC and extraction decks also makes explicit which rules were machine-checked and which, per the SKY130 documentation, were left to manual verification.

For a research office or lab manager weighing software for a teaching or research fabrication project, the sourced facts are modest: the license is permissive, the program runs from source builds on several platforms, and development continues in the open on GitHub. Anything beyond that, such as staffing, training time or comparison with a commercial licence, depends on local circumstances and is not stated in these sources.

Common misunderstandings

  • “Magic is a simulator.” It is not. It draws and checks layout and extracts netlists; simulation happens in a separate tool.
  • “Magic is abandoned because its original author moved on.” The maintainer page lists version 8.3 as the current release, last updated October 2025, and the repository is actively versioned. Ousterhout wrote the original program, but he is not the current maintainer.
  • “Magic does everything in the verification flow.” In the SKY130 documentation Magic appears under DRC and PEX only; LVS lists Calibre and netgen.
  • “Passing DRC means the design is rule-clean.” The same PDK documentation says some rules cannot be verified with the decks and must be checked manually.
  • “Magic and Magic 8.3 are different programs.” They are the same tool; 8.3 is simply the current release line.

Frequently asked questions

Is VLSI very tough?

VLSI design is a demanding field because a chip spans circuit design, physical layout and verification, but the sources read for this page do not measure difficulty, so this is an editorial view. What they do say is that Magic is widely cited as the easiest tool to use for circuit layout, which is why it is a common first layout editor in courses.

Which software is used for VLSI design?

The SKY130 open PDK documentation names Magic, KLayout and Mentor Calibre for design rule checking, netgen and Calibre for layout versus schematic, and Calibre xRC and Magic for parasitic extraction. Magic is the layout editor in that list; commercial flows use other editors that are not described in these sources.

What are the 5 levels in VLSI design?

The sources read for this page do not define a five-level scheme, and different textbooks divide the process differently, so no fixed count is asserted here. What the Magic release notes show is that Magic works at the physical level: layout geometry, design rules, extraction and GDS or LEF/DEF interchange. For the full path from specification to layout, see the guide to integrated circuit design.

Yes, in the sense that an architecture, such as an instruction set, is eventually implemented as a physical circuit that a layout tool like Magic helps realize. Magic itself does not define or evaluate architectures; the CASRAI guide to the instruction set architecture covers the architectural side.

Where can I download Magic VLSI and find a tutorial?

The README directs users to the opencircuitdesign.com Magic pages for download, compile, install, “Using Magic” and technology-file documentation, and to the GitHub repository for source and issue reports.

Sources

Data: Magic VLSI layout tool: capabilities by release version

Capabilities of the Magic VLSI layout tool listed by the release in which the project's README release notes introduce them, grouped by working area. Compiled from the README of the maintained GitHub repository.

Period covered: 1990/2025.

Magic VLSI layout tool: capabilities by release version
ReleaseAreaCapability as stated in the release notes
7.1ScriptingScheme (a Lisp subset) implementation for generating complex layout functions
7.2ScriptingTcl interpreter extension with Tk graphics and a GUI
7.2InterchangeLEF and DEF readers and a LEF writer
7.2ExtractionInductance extraction
7.3InterchangeVendor GDS read and write capability
7.3DRCNew widespacing and maxwidth DRC algorithms
7.5Interchangegds merge true option writes polygons, giving much smaller GDS files at the expense of processing time
7.5DRCScale factor lets DRC rules be declared in fractions of lambda to match vendor distances
8.0ExtractionHierarchical SPICE output for LVS
8.0DRCDRC method that ignores errors in subcells masked by the parent cell
8.2ExtractionMultiple extracted device types per Magic layer depending on context
8.3Performancebplane cell-plane implementation speeds extraction by a factor of 3 to 5 or so, depending on hierarchy

Sources

Compiled by CASRAI from the sources above. Free to reuse under CC BY 4.0 with attribution.

Follow CASRAI

Research-administration guidance, standards updates and independent tool reviews.

Ask CASRAI · full access

Ask about Magic VLSI: Open-Source Layout Tool Explained

Full access: large monthly usage, up to 10 source passages behind each answer, and MCP and API access for Claude Code, Codex and other CLIs. Cancel any time.

An AI assistant for research: funder rules, compliance, methods and publishing. It links the sources behind its answers and labels answers that come from a web search.

Answers draw on CASRAI's guides and dictionary plus the federal and funder documents we index: Federal Register, Grants.gov, Regulations.gov and UKRI.

Works on this site and inside Claude, Cursor and the AI tools you already use.

Everything CASRAI publishes — this page, the dictionary, the guides and the news — stays open to read, with no account and no card.

Referenced across the research world

University of Cambridge logoColumbia University logoCrossref logoUniversity of Edinburgh logoHarvard University logoUniversity of Oxford logoPrinceton University logoStanford School of Medicine logoUniversity College London logoORCID logoUniversity of Cambridge logoColumbia University logoCrossref logoUniversity of Edinburgh logoHarvard University logoUniversity of Oxford logoPrinceton University logoStanford School of Medicine logoUniversity College London logoORCID logo
  • University of Cambridge logo
  • Columbia University logo
  • Crossref logo
  • University of Edinburgh logo
  • Harvard University logo
  • University of Oxford logo
  • Princeton University logo
  • Stanford School of Medicine logo
  • University College London logo
  • ORCID logo

View CASRAI adoption →