TKGATE(1)
π NAME π
okay so bestie, meet tkgate β it's a Tcl/Tk based digital circuit editor and simulator. like, you draw circuits AND you simulate them. main character energy fr fr π
π¦ SYNOPSIS π¦
tkgate [-xqs] [-X script] [-l file] [-p file] [-P printer] [files...]
that's it, that's the whole vibe check β¨ (this page lives in the General Commands Manual section, for the record, tkgate(1) iykyk)
πΈ DESCRIPTION πΈ
TkGate is a graphical editor and event driven simulator for digital circuits, with a tcl/tk-based interface. no cap.
The circuit elements it supports? A whole lineup, bestie:
- basic gates (AND, OR, etc.) π
- tri-state gates
- adders
- multipliers
- registers
- memories
- mos transistors
Hierarchical design is supported too, with support for user defined modules π§. And the save files? They're based on the Verilog netlist format. slay.
TkGate documentation can be found at:
https://bitbucket.org/starling13/tkgate
go read it, it's giving reference material π
β¨ OPTIONS β¨
The options are as follows, and yes we're going through every single one:
-Xscript β Automatically start the simulator and execute the specified simulation script. it just goes, no clicking required π₯-pfile β Print circuit to file without starting GUI. headless printing, we love a no-window moment π«Ά-Pprinter β Print circuit to printer without starting GUI. straight to the printer, no screen involved π-lfile β Read the specified file as a library.-xβ Automatically start the simulator.-qβ Suppress startup messages. quiet mode, respect it π€«-sβ Execute with a synchronous X server connection. this one is primarily for debugging, so it's giving "dev tools, not for the group chat" π-Llang β Specify a locality to use if tkgate has been configured for Japanese support. The locality should be either"ASCII"for English, or"ja_JP.EUC"for Japanese. This option can also be set via theLANGenvironment variable.
not me pointing out that -L is real even though it's not in the synopsis line. it's right there in the options, bestie, don't skip it π
π HISTORY & CREDITS π
okay this is the lore and it's actually iconic so sit down π
TkGate began life as an undergraduate project at Carnegie Mellon University (CMU) in 1987. At that time it was called simply 'gate' and ran under the 'wm' window manager β a windowing system developed at CMU before X11 was widely used. In this incarnation it was used by students in the computer architecture course at CMU to develop a simple microprocessor (dubbed "The Bat Computer"). obsessed, honestly π¦
After laying dormant for several years, it was resurrected in 1991 and ported to run under X11 with the Xlib API. In this incarnation it was used several times by students in the introductory digital logic course, but after the author graduated and left CMU, it went into hibernation again π
This Tcl/Tk incarnation was begun in 1998. While there is certainly some cruftyness in the implementation in places due to the multiple reincarnations, many new features have been added since the older wm and X11 versions, and the interface has been made much easier to use. glow-up complete π β¨
π SEE ALSO π
go read those too, bestie, we support the whole friend group π«Ά
π AUTHOR π
- Jeffery Hansen (
hansen@tkgate.org) - Andrey V. Skvortsov (
starling13@gmail.com)
π COPYRIGHT π
- Copyright (c) 1987-2015 by Jeffery Hansen
- Copyright (C) 2015-2018 by Andrey V. Skvortsov
and that's the whole page, bestie π this was TKGATE(1) from the General Commands Manual β go build a Bat Computer of your own. periodt. π
πβ¨
π¦ where this page comes from
- debian bookworm: tkgate 2.1+repack-5 Β· GPL-2.0-or-later
- debian trixie: tkgate 2.1+repack-7 Β· GPL-2.0-or-later
- ubuntu jammy: tkgate 2.1+repack-5 Β· GPL-2.0-or-later
- ubuntu noble: tkgate 2.1+repack-6build2 Β· GPL-2.0-or-later
- ubuntu questing: tkgate 2.1+repack-8
- ubuntu resolute: tkgate 2.1+repack-8build1 Β· GPL-2.0-or-later
- ubuntu stonking: tkgate 2.1+repack-8build1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms