diff --git a/tcltk/magic.tcl.in b/tcltk/magic.tcl.in index acfa73d8..dfc9755c 100755 --- a/tcltk/magic.tcl.in +++ b/tcltk/magic.tcl.in @@ -263,6 +263,14 @@ if {[file exists ${CAD_ROOT}/magic/tcl/toolkit.tcl]} { set Opts(toolkit) 0 } +#---------------------------------------------------------------------- +# Check for presence of the readspice script and include it + +if {[file exists ${CAD_ROOT}/magic/tcl/readspice.tcl]} { + source ${CAD_ROOT}/magic/tcl/readspice.tcl + set Opts(readspice) 0 +} + #---------------------------------------------------------------------- # Magic start function drops back to interpreter after initialization & setup diff --git a/tcltk/wrapper.tcl b/tcltk/wrapper.tcl index 71e6530c..cacc5b27 100644 --- a/tcltk/wrapper.tcl +++ b/tcltk/wrapper.tcl @@ -392,10 +392,6 @@ catch {source ${CAD_ROOT}/magic/tcl/drcmgr.tcl} catch {source ${CAD_ROOT}/magic/tcl/texthelper.tcl} -# Add the readspice command for port annotation - -catch {source ${CAD_ROOT}/magic/tcl/readspice.tcl} - # Create or redisplay the technology manager proc magic::techmanager {{option "update"}} {