chipflow.packaging.render¶
Renderers for pins.lock — text table and SVG layout.
Used by chipflow pin show. The text view works for any package
type. The SVG view is currently implemented for perimeter-pin packages
(QuadPackageDef, BlockPackageDef); other types raise
ChipFlowError and are expected to fall back to the text view.
Functions¶
|
Render the pin allocation as a sorted text table. |
|
Render the pin allocation as SVG. |
Module Contents¶
- chipflow.packaging.render.render_text(lockfile)¶
Render the pin allocation as a sorted text table.
- Parameters:
lockfile (chipflow.packaging.lockfile.LockFile)
- Return type:
- chipflow.packaging.render.render_svg(lockfile)¶
Render the pin allocation as SVG.
Currently supports
QuadPackageDefandBlockPackageDef. Other package types raiseChipFlowError.- Parameters:
lockfile (chipflow.packaging.lockfile.LockFile)
- Return type: