home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fresh Fish 9
/
FreshFishVol9-CD2.bin
/
bbs
/
util
/
dbb-1.1.9.lha
/
DBB
/
DBB.doc
< prev
next >
Wrap
Text File
|
1994-03-30
|
27KB
|
814 lines
Digital Breadboard
Version 1.1.9
Copyright 1992-1993
Danny L. Griffin
Abstract
Digital Breadboard is a full GUI sequential-solving digital
logic circuit simulator that will allow you to design, build,
and test digital logic circuits in software.
Preface
Introduction
Ever since the Amiga's introduction, there has been a
steadily increasing number of scientific applications
available, but one application that many people have been
asking for that is not currently available (that I know of) is
a digital logic circuit simulator. So, rather than just talk
about it, I decided to write one.
What it is
Digital Breadboard is a full GUI sequential-solving digital
logic circuit simulator that will allow you to design, build,
and test digital logic circuits in software. In this release,
there are some limitations put on the type of circuits that you
can build, the primary one being the size of the circuit. No
more than forty elements are allowed in this version.
Still, this release does incorporate many useful tools,
allowing Digital Breadboard some small measure of power. Among
these are support for:
- multiple input AND, OR, NAND, and NOR gates
- XOR and NOT gates
- D, JK, and SR flip flops
- multiple user-definable clocks
- switched and pulsed inputs
- event counters
- outputs
- independant four-channel trace scope
- preferences printing
Circuits can, of course, be saved, recalled, and edited at
any time.
Getting Started
Requirements
Digital Breadboard requires:
- AmigaOS 2.04 (V37 or higher)
- reqtools.library (V37 or higher)
...that's it!
Installation
NOTE: we will use the symbol [DBBdir] throughout this manual
to represent the directory in which the executable program `DBB'
resides. Digital Breadboard will produce a fully qualified
path for this location whether it was started from the Workbench
or CLI, even if it is not the current directory (DBB may be
`path'ed, for example), e.g. [DBBdir]Circuits might represent
DF0:Circuits as well as DH4:Breadboard/Circuits. The user does
not have to do any `assign's.
If you don't already have reqtools.library in your libs:,
move it there. There are no other requirements of Digital
Breadboard. You may wish to install the hpcalc font in your
fonts: directory:
copy fonts fonts: all
However, this is not necessary. Since hpcalc is not a full
font, some people may not want to install it in fonts:. DBB
will first look in [DBBdir]fonts for the hpcalc font, then
in fonts: If Digital Breadboard doesn't find the font it will
still run, but the Timer window will use Topaz 8 and it will
look goofy. This font will also be used for the 7-segment display
element in the next rev. This is the order in which Digital
Breadboard looks for files:
Fonts - [DBBdir]fonts, fonts:
DBB.prefs - [DBBdir]
DBB.guide - [DBBdir]
Design files - [DBBdir]Circuits, [DBBdir]
All icons are saved with a fully qualified Tool path.
Start
Digital Breadboard can be started from the CLI by typing DBB
or by double-clicking on the icon. Digital Breadboard will
attempt to open up an overscan interlaced hires screen (682 x
440 or greater) while taking into account the user preferences,
and two windows will initially appear: the design window and
the tools (Elements) window. However, some people don't use an
overscan display, and so for both of you Digital Breadboard
will limit the horizontal screen size to match the user
preferences rather than have the screen autoscroll left every
time the mouse is moved to the right edge. The Elements window
will overlap the design window. This, however, will be fixed
when a resizeable window is implemented to support the larger
virtual work area in the next revision. PAL screens are
supported.
Digital Breadboard accepts a single command-line argument--
the name of a design file. If given, Digital Breadboard will
load the file upon startup. All other arguments will be
ignored.
To begin placing objects, simply click on the desired element
with the mouse, move your pointer to where you wish to place
the element, and click the left mouse button to drop it. Then,
click on another element and do the same.
When you're ready to connect the elements, choose the menu
option EDIT/CONNECT. The design window's titlebar will change
to read:
Connect - Select output element
Using the mouse, click on the output element to start with.
When selected, a highlight box will appear around the element.
You do not have to click on a specific output. If an element
has more than one output, as in a D flip flop, a requester
will appear asking you which one you wish to use. Simply select
the appropriate response (see Section 4.1). If you change your
mind, press ESC and the requester will go away and you can
select a different output element.
After you've selected an output, you need to select an input.
The window's titlebar will again prompt you.
Connect - Select input element
Again, you do not need to click on a specific input, just the
element. An element with multiple inputs will respond with a
requester asking you which input you wish to use. Select the
appropriate response, or press ESC to cancel.
When you have completed wiring your design, you may save it
to disk with PROJECT/SAVE or begin simulation with CONTROL/RUN.
You may at any time return to any of the editing screens (Add,
Connect, Cut, Delete, etc.)
To quit Digital Breadboard, select the menu option
PROJECT/QUIT or press RAmiga-Q. If your work isn't saved, you
will be asked if you wish to save your work before exiting.
These are the basics of operation, but there are many more
features that are described in the following pages. Try loading
one of the sample project files.
Menus
Project
New
Start a new design. This will replace the current design, and
if you try to overwrite a modified design, a security
requester will pop up giving you a chance to save the current
file before proceeding.
Open
Open an existing Digital Breadboard design file. A
filerequester will appear in which you select the new design
file to load. This file will replace the current one, and if
you try to overwrite a modified design, a security requester
will pop up giving you a chance to save the current file before
proceeding.
Save
Save the current circuit under the current name. If there is
no current filename, a filerequester will appear.
Save As
Save the current circuit under a new name. A filerequester
will appear.
Print
Print the circuit using the preferences printer. Digital
Breadboard will attempt to determine the maximum resolution of
your printer, as selected in Preferences, and print the design
circuit currently displayed. Due to the ability of the user to
select his own screen colors, and to keep as much control in
the hands of the user as possible, Digital Breadboard provides
control of the printer from within the program. This will not
modify the user PrinterGfx Preferences settings. It is
normally a good idea to print with `Black & White' shading, a
reasonable threshold, and the correct Image settings. For the
default WB2.x colors (grey, black, white, and blue), a
Positive image with a threshold of 7 is fine. See Section 3.4,
the Settings menu.
About
Display some useful (?) information.
Quit
Quit
Edit
Delete Device
Remove digital logic elements from the circuit. The window
titlebar will prompt you with:
Delete - Select element to remove
Click on the element to remove from the circuit, and it,
along with any associated connections, will be removed. Press
ESC to cancel.
Cut Connection
Cut a connection between two elements. Use the mouse to click
on the first (output) element, then the second (input)
element. Again, Digital Breadboard responds with positive
feedback by highlighting the first element with a box. The
connection between the two elements will be removed. Press ESC
to cancel.
Move Device
Move an