This first laboratory assignment will help you get familiar with the prototyping board and Aldec's Active-HDL both of which you will be using the entire quarter. We will be using Aldec's Active-HDL as our primary design tool this quarter. In this laboratory assignment, you will learn how to use the tool to create and simulate basic schematic diagrams. In the future we will expect you to use this tool to do part of your written assignments. The goal of this lab is to introduce you to 1) Active-HDL's schematic editor and simulator and 2) the prototyping board you will be using in lab.
Each student should complete this lab individually.
1. Complete the entire introductory tutorial to Aldec's Active-HDL. By the end of the tutorial you should have placed an AND and OR gate in a schematic from the lib370 part library and simulated this circuit for all possible input values. Hand in the printout of your simulation output.
2. Construct and verify the operation of a small circuit (1-2 logic gates) using switches and LEDs as I/O devices.
. Digilent XLA5
prototyping board (including a prototype area consisting of a solderless
breadboard)
. Power supply
. Logic probe
. Bag of pre-cut, pre-stripped wires
. Wire stripper/cutter
. Needle-nose pliers
. Some standard TTL logic chips (all DIP -
dual-in-line pin packages - compatible with the breadboard)
. Chip extractor tool (the only way you will remove chips from the breadboard -
for the safety of your fingers and the chip's pins)
This is a block diagram for the entire XLA board. Note that it highlights a large programmable logic chip on the board. Your kit may or may not have this chip in place right now, but we will use it later in the quarter to provide an environment for your digital circuits. In this class, you will not program this chip; that will happen in CSE 467. For now, your focus will be on the upper right hand corner - the prototyping area. You will also make use of buttons, switches, LEDs, and 7-segment displays as I/O devices except for Switch 8, Pushbutton 4, and LED 8, which are used for special functions. For the final laboratory assignment, we may make use of other features on the board.
Before doing any work on the protoboard such as wiring and inserting/removing chips, be sure the power is OFF. That is, unplug the power connector while you are constructing the circuit. After you have finished wiring up your design and before you turn on the power, double check the power and ground connections.
. Arrange the IC chips on the protoboard so that only short
wire connections are needed. Put tightly connected chips closer together.
. Try to avoid a jungle of wires. Long looping wires that go way into the
air are easy to pull out (a hard bug to find later when the circuit doesn't
work as intended). . Try to maintain a low wiring profile so that you can reach
the pins of the chips and so the chips can be replaced if necessary. The
best connections are those that lie flat on the board.
The logic probe provides a very convenient way to check the value of any signal in your circuit. The probe has two lights, HI and LO, which indicate the value of the signal. The logic probe responds to the input voltage in two ways depending on whether CMOS or TTL is selected. We will use the TTL setting which lights the LO light for voltages <0.8v. and lights the HI light for voltages >2.3v. If neither light is lit, then the signal is floating (i.e. not being driven by any active output) or has some value between 0.8 and 2.3v.
The large black bar just below the white breadboard area is connected to many
of the devices on the XLA board. Connect a wire from the VDD pin in this
black bar to a 5-hole block on the breadboard, and connect another wire from
GND to a different 5-hole block. Place another wire in each of the new
VDD and GND blocks on the board, and leave the other end of the wires dangling.
Make sure they are far apart and don't ever touch, because this will short
the power supply and could cause some smoke or bad odor as parts start to burn
(should this happen, pull out the power cord immediately). Clip the
logic probe's two leads to VDD and GND. The red clip must be connected to VDD
and the black to GND. This is an important color convention to
follow. You have now successfully prepared your logic probe for use.
For now, we will simply use the logic probe to determine which switch positions
correspond to digital high and low signals. Connect a wire from one of the
switches in the black connector bar to a 5-hole block on the breadboard. Remember,
SW8 is already in use, so do not use this switch. You can now
connect power to the board. Now, use the logic probe to "probe" the
signal output by your switch; just (gently) press the tip of the probe in the
same 5-hole block as the wire from your switch. You should see either the
probe's red or green light activate. Flip the switch and note that the
light should change as well. Note which switch position corresponds to
"high."
A TA will "check you off" after you demonstrate
the NOT and NOR gate working.
Hand in the printout of your simulation output of the AND and OR gates from
Active-HDL.