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 - vyges-tools/gds-view: Headless GDS layout viewer: a GDS in, a layered SVG out — with optional violation overlay. · Download Loom: https://vyges.com/products/vyges-cli/#install

BranchesTags
Open more actions menu

Latest commit

 

History

79 Commits
79 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
examples
examples
 
 
src
src
 
 
.gitignore
.gitignore
 
 
Cargo.lock
Cargo.lock
 
 
Cargo.toml
Cargo.toml
 
 
LICENSE
LICENSE
 
 
NOTICE
NOTICE
 
 
README.md
README.md
 
 
rust-toolchain.toml
rust-toolchain.toml
 
 

Repository files navigation

vyges-gds-view

Headless GDS layout viewer: a laid-out GDS in, a single self-contained SVG out — every shape coloured by its layer, with an optional violation overlay that boxes exactly where another engine flagged a problem.

Vyges open EDA tools. Commercial-grade silicon sign-off capability, built on open standards and plain file formats — and meant to be accessible to everyone, not only teams who can license a six-figure tool. vyges-gds-view makes the geometry visible.

Stability: stable, actively developed. Real flatten-and-render with a violation overlay; this is a look at it aid, not an interactive layout editor — see Current state for what is and isn't there.

Why this exists

vyges-drc and vyges-lvs tell you what is wrong with a layout. They don't show you where. vyges-gds-view closes that loop: render the GDS, drop the violation coordinates on top, and open the result in any browser — or commit it to a report, or diff it in CI. No X server, no GUI toolkit, no install beyond the binary.

It's the visual companion to the geometry engines, riding the same vyges-layout GDS/geometry kernel they do — one toolset, one language.

How this is solved today

Looking at a layout today means KLayout or Magic — capable GUIs, but a running display, a heavy install, and Tcl/Ruby/C++ to script. There is no small, embeddable "GDS to a picture, headless" step you can wire into a flow. vyges-gds-view is that step: pure Rust, std-only beyond the shared kernel, output is plain SVG text.

Use it

cargo build --release

vyges-gds-view demo -o demo.svg                                  # built-in sample layout
vyges-gds-view render block.gds -o block.svg                     # flatten top cell -> SVG
vyges-gds-view render block.gds --top mycell --layers 66,68      # pick cell + restrict layers
vyges-gds-view render block.gds --marks viols.txt -o block.svg   # overlay violation boxes
vyges-gds-view render block.gds --masks 15/0=1,15/1=2            # colour a layer by mask
# flags: --top CELL · --layers LIST · --marks FILE · --masks MAP · -o FILE · -h · -V

The marks file is one violation per line — the trivial format any engine can emit (# starts a comment):

# x0 y0 x1 y1  label   (GDS db units)
120 0 200 80   space < min
40 200 360 240 width < min

So a DRC-then-look pass is two commands and a one-line glue: run vyges-drc, turn its violations into x0 y0 x1 y1 label lines, and render --marks them onto the layout.

How it works

  • Flatten the chosen top cell through vyges-layout (SREF/AREF expanded).
  • Fit the design bounding box into a fixed pixel canvas, aspect preserved, the Y axis flipped so up is up.
  • Draw each Boundary/Box as a translucent filled polygon and each Path as a stroked polyline, coloured from a fixed palette indexed by GDS layer number; a legend lists the layers present.
  • Masks: on a multi-patterned layer the mask travels as a datatype. --masks names which layer/datatype is which mask; each mask is drawn in its own shade of the layer colour (mask 1 is the plain colour) and gets its own legend entry (layer 15 mask 2), so same-mask neighbours are visible. Datatypes the map does not name, and every render without --masks, are drawn exactly as before.
  • Overlay each mark as a red outline box (with its label) on top — the where.

Current state

Working & tested: flatten + render of Boundary / Box / Path geometry, the per-layer palette and legend, a --layers filter, the --marks violation overlay (reversed corners normalized, labels escaped), and an empty cell still produces valid SVG. A demo subcommand renders a built-in layout with no input.

Depth reserved (honest):

  • always renders a flattened top cell — per-instance / hierarchical views are a follow-up;
  • datatype is part of the colour key only through --masks; a named layer-map (layer/datatype to name + colour, à la a KLayout layer properties file) is the next step;
  • consumes violations as the simple marks text format — reading a vyges-drc (or -lvs, -extract) JSON report directly is the follow-up once those reports carry coordinates;
  • raster (PNG) output and any interactivity are out of scope — SVG only, by design.

Validation roadmap: render representative open-PDK blocks (sky130, gf180) and eyeball against KLayout — the same layout the rest of Loom already reads.

About

Headless GDS layout viewer: a GDS in, a layered SVG out — with optional violation overlay. · Download Loom: https://vyges.com/products/vyges-cli/#install

vyges.com/products/loom/#gds-view

Topics

analogasicdigitaledaeda-toolsgdsiilayoutmixed-signalopen-siliconopen-source-siliconopendbphysical-designrustsemiconductorsvgvisualizationvygesvyges-loom

Resources

Readme
Apache-2.0 license
Activity
Custom properties

Stars

0 stars

Watchers

0 watching

Forks

2 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.