TKGate

From CSWiki
Jump to: navigation, search

TkGate is a event driven digital circuit simulator with a tcl/tk-based graphical editor. TkGate supports a wide range of primitive circuit elements as well as user-defined modules for hierarchical design.

[edit] Installing TKGate

Installing TKGate requires compiling from command line; installing using Yum has caused problems with saving work within TKGate in our lab running Fedora 13 x64. Installing TKgate is fairly easy, but requires some extra flags for the package to be compiled properly. Below are a list of steps to run as root to install TKGate from source on Fedora 13 x64.

  • Remove yum installed version of TKGate (if necessary)
# yum -y erase tkgate
  • Install 32 and 64 bit TCL and Tk libraries and development packages (some of these packages may not be necessary)
# yum -y install tcl-devel.{i686,x86_64} tk-devel.{i686,x86_64}
# tar zxvf tkgate-2.0-b10.tar.gz
# cd tkgate-2.0-b10
  • Export necessary LDFLAGS
# export LDFLAGS="$LDFLAGS -lm -lcrypto"
  • Configure, make and make install
# ./configure
# make
# make install

You should now have tkgate installed and ready to run! Execute tkgate from the command line.

You can optionally create an application menu item for tkgate by putting the following text into the file /usr/share/applications/tkgate.desktop.

[Desktop Entry]
Version=1.0
Encoding=UTF-8
Name=TKGate
Exec=tkgate
Comment=TKGate is a event driven digital circuit simulator
Terminal=false
Type=Application
Icon=/usr/local/share/tkgate/images/smalllogo.xbm
Categories=Science;Engineering;X-Fedora;
X-Desktop-File-Install-Version=0.13

You should now have a menu item for TKGate inside the Other folder within the Applications menu. You may need to restart X for the item to become visible.


Personal tools