image.png,image.png
# xschem
d
image.png,image.png
t
The "missing text" is all coming from the embedded waveforms; that might mean that your version of xschem is out of date?
Copy code
xschem -version
XSCHEM V3.4.5
Copyright (C) 1998-2023 Stefan Schippers
d
Oh, yeah, looks way out of date. V2.8.1. I just realized magic is out of date, too. The .magicrc file requires 8.3.411 and I downloaded 8.3.105. Thanks Tim!
s
@David Lindley Likely you have an ancient xschem installed with your linux (I guess Ubuntu) package manager. Remove the apt installed xschem:
sudo apt purge xschem
and reinstall xschem from sources. https://xschem.sourceforge.io/stefan/xschem_man/install_xschem.html
d
Thanks Stefan!
t
Make sure you get both apps from source and compile (xschem as Stefan mentioned above, magic from https://github.com/RTimothyEdwards/magic).
d
Thanks Tim. I thought I downloaded 8.3.105 from http://opencircuitdesign.com/ but I see 8.3.460 there now. I'll download from the github and go from there.
@Stefan Schippers I purged the xschem version I had and download from Sourceforge. Two weeks ago I had an off the shelf Windows 11 machine so I've been having to install tools as I go. I had to add flex, bison, and xpm as I worked through configure. At xpm I now get this. Any suggestions?
t
@David Lindley: You're doing this on Windows using WSL (which is an Ubuntu environment)?
If so, you want to do
sudo apt install libxpm-dev
.
d
That's right, Tim. Thanks, I'll do that.
s
@David Lindley the complete list of packages is in the install page:
Copy code
libX11-6              libx11-dev
  libxrender1           libxrender-dev
  libxcb1               libx11-xcb-dev        
  libcairo2             libcairo2-dev
  tcl8.6                tcl8.6-dev
  tk8.6                 tk8.6-dev
  flex                  bison
  libxpm4               libxpm-dev
                        libjpeg-dev
# terminal program and editor used by default by xschem:
# alternative programs can be specified in xschemrc by 
# setting tcl variables 'terminal' and 'editor', respectively.
  xterm vim-gtk3
# tools that should be available on all systems by default:
  gawk or mawk
# Suggested (not mandatory for using xschem) packages:
  tcl-tclreadline
In particular libcairo2 and libcairo2-dev allow xschem to use much better looking antialiased fonts and handle png exports.
d
@Stefan Schippers the only two packages I did not have or could not install were libX11-6 and libX11-dev. Neither apt nor apt-get could find the packages.
t
@David Lindley:
libx11-dev
, no capital "X".
d
Alright. Thanks Tim. It was already installed.
Thanks @Tim Edwards and @Stefan Schippers. I was able to get both magic and xschem installed and running!