Studio #7
Name of Students in Team (max 3) / Student ID Number / Section7.0 Getting to know the Logic Analyzer Tool
Studio 7.0 – Getting to know a measurement tool for hardware exercises.
7.1. Building Counters Using Flip-Flops
Studio 7.1 – All steps from paper-design through LogicWorks simulation through implementation on a protoboard
7.2 Summarize Your Reading
Summarize key points from Sections 6.1, 6.3, 7.1, 7.2 and 7.3 from Katz textbook.
Hand in for Grading to your Studio TA:
At the end of today’s session: Studio 7.1 signed off
- one per group of students: at most 3 per group.
7.0 / 7.1 / 7.2 / TotalCorrect working (20 pts)
TA signoff (5pts) / a-g
(45 points) / Correct circuit
(20 points) / Clean wiring
(5 points)
Clean work area (5 points) / Consistent wiring color conventions
(5 points) / Reading
(20 points) / 125 points
Grader’s Signature :______
Studio 7.0
Step 1: Obtaining the equipment
a. Check out your universal protoboard, and a toolbox using your Rensselaer ID as you did in your last studio. Check out a 74F109 (or 74LS109) J-K flip flop chip and any other AND/OR/NOT gates you need. The chips are stored in the cabinet on the left end of the studio in labeled boxes. You must return the chips to the proper boxes after use. You should check out these chips from your TAs.
b. Make a list of parts needed to implement your circuits. This would include the 74F109 JK flip flops, and any auxiliary chips that may be needed to implement your circuit. Usually, it helps to cast your design using only one kind of gate (NAND or NOR). You are encouraged to discuss your design with your TAs before building it. If you have changed your design from last class, you may want to check its operation by LogicWorks simulation to make sure it is OK.
c. Check out the cables for the Hewlett-packard Logic State Analyzer. The cables are in a cabinet behind the lab screens. Ask your TAs to help you check out these cables and probes. Please handle them carefully since they are delicate.
Step 2: Getting to know the equipment
Get to know the various dials and switches on the HP logic state analyzer. A few copies of the manual for these analyzers are in the lab cabinets. Share them with your neighbors. Ask your TAs for help as needed. There is another powerpoint file online (linked through the WebCT calendar tool on the studio date) which has nicer pictures walking you through the use of the Logic Analyzer. We recommend you download it and review it.
Front-Panel Functions:
The front panel has several functional groups as shown in the figure below:
d. Display: Shows measurement results and some instrument configurations settings (see figure 7).
e. Channel Controls: Move or rearrange channels, turn them on or off and add descriptive labels to them.
f. General Controls: Includes various measurement functions, configuration and measurement result save/recall, printing and autoscale functions.
g. Horizontal controls: Adjusts the time base, horizontal mode and delayed sweep functions.
h. Storage Keys: Controls start and stop of acquisition, persistent acquisition and screen erasure.
i. Trigger Keys: Sets up analyzer trigger mode and trigger conditions.
j. Softkeys: Sets up various options for each major function, varying dynamically depending on the required function.
k. Signal Inputs: Connects the HP 54620A acquisition system to the probes.
1. First, test your logic state analyzer on known signals, such as the outputs of the switches on your universal protoboard (after you have wired them up properly). Convince yourself that the analyzer works as expected.
2. Wire up the Timer board and the LED display board by inserting the pins carefully into the protoboard. Connect Pins 1 and 2 to +5V and Ground, respectively. Pin #3 of the timer board is designed to produce a clock waveform. The small switch on this board can be toggled to set the clock to 1 Hz or 10 Hz (1 Hz is one cycle per second). You can place a logic probe on this pin to verify its operation. Below are diagrams showing the structure of the LED display board and the timer board.
3. Then, connect the output of Pin 3 of the timer board to one of pins 3 through 8 of the LED display board. The lamps should blink at 1 or 10 cycles per second, depending upon the switch setting.
4. Connect the logic state analyzer to Pin3 of the timer board, and make sure that you get the expected display on the screen.
· Show the results of items 1-4 above to you TA, and get it signed off.
TA’s signature:______
(This is worth 5 points)
Question: Did you notice anything strange in item 1 above. Specifically, if you capture the output of a switch as it is toggled, do you observe anything unexpected or interesting. Comment on it.
Studio 7.1
Following the design procedure, design, simulate and build (using JK flip flops) a 2-bit counter that starts at 0 and counts in the following sequence:
0 -> 2 ->3 -> 0 ... and repeats.
To make the counter self-starting, make the state 1 transition to state 2.
a) (5 points) Draw the State Transition Diagram
b) (10 points) Setup the Next State Table with columns for the flip-flop inputs. Setup the Excitation table for the J-K flip-flop on the side. Complete the Flip-flop input table.
Current Next Flip FlopState State Inputs
B / A / B+ / A+ / JB / KB / JA / KA
Q / Q+ / J / K
e) (5 points) Use K-maps for each of the flip-flop input functions and derive a simplified expression
f) (10 points) Draw the circuit diagram using the following template.
g) (10 points) Setup a LogicWorks simulation and verify this circuit. Submit your printout and get the circuit signed off by your TA before you build the circuit in hardware.
TA Signature (5 points) :______
h) Build the circuit on your protoboard, and verify the functioning using the LogicAnalyzer. You need to check out the 74LS109 (Positive Edge-triggered Dual J-K flip flop chip) or the 74LS112 (negative edge triggered Dual J-K flip flop chip). Be sure to wire the Set and Clear inputs correctly as you did in class for the D- or T-flip flops. The attached TTL data sheet gives details regarding the pin numbers etc. Remember that there are points for a clean implementation/wiring and cleaned up workspace.
7.2 Summarize Your Reading (20 points)
1. (10 points) Summarize key points from Section 6.1 and 6.3 from Katz textbook in the space below
2. (10 points) Summarize key points from Section 7.1, 7.2, 7.3 from Katz textbook in the space below
ECSE-2610 Computer Components and Operations, Fall 2000 Page 1 of 9