mirror of
https://github.com/RTimothyEdwards/magic.git
synced 2026-09-08 03:41:33 +02:00
Rename *-magic.tcl scripts to *-tcl.tcl to match the -tcl.js test naming convention. Delete the old bare-command pcell.tcl (used cellname create, no magic:: prefix) and promote pcell-magic.tcl to pcell.tcl. Fix misleading comment in magicWasm.c: Tclmagic_Init only bootstraps the interpreter; magic:: commands are registered separately by TclmagicRegisterCommands after magicMainInit. Align comment block dashes in TclmagicRegisterCommands to match tclmagic.c style (62 dashes). Replace intubun/tcl references in build scripts and CI with tcltk/tcl to match the actual pinned repo in npm/tcl.ref. Also run both test suites when build.sh is invoked with --test.
12 lines
292 B
Tcl
12 lines
292 B
Tcl
magic::tech load __TECH__
|
|
magic::load /work/__CELL__
|
|
magic::extract path /work
|
|
magic::extract do resistance
|
|
magic::extract all
|
|
magic::select top cell
|
|
magic::extresist all
|
|
magic::ext2spice format ngspice
|
|
magic::ext2spice extresist on
|
|
magic::ext2spice cthresh 0
|
|
magic::ext2spice /work/__CELL__
|