CSE370 Laboratory Assignment 2


Constructing Simple Logic Circuits


Distributed: 17 January 2004
Due: 23 January 2004


Objectives

We will be using Aldec's Active-HDL 6.1 as our primary design tool this quarter. In this laboratory assignment you will learn how to use the tool to enter basic schematic diagram and simulate them. We will expect you to use this tool to generate all the schematics you'll be turning in as part of your written assignments. By the end of this lab you should know feel comfortable you can enter a schematic for a design, set up simulation stimuli, and verify that your circuit is correct.


Tasks

  1. Complete the entire introductory tutorial to the Aldec ActiveHDL 6.1 tool.  You'll be asked to enter a schematic for the full adder circuit in Chapter 2 of the text.  Make sure to complete the entire tutorial.  It is quite long but very informative and thorough.

  2. Create a schematic drawing for the Fibonacci number circuit of exercise 2.20. Here is the solution:
    CLD-II, Chapter 2, problem 2.20a

    2.20.a     Write f(A,B,C,D)=∑m(1,2,3,5,8,13) in canonical minterm form

    A’B’C’D+A’B’CD’+A’B’CD+A’BC’D+AB’C’D’+ABC’D


    Make sure to minimize it first using K-maps.  You should achieve a sum-of-products expression with four terms (two with four literals and two with three literals).

  3. Simulate your circuit for task 2 using the same technique as in the tutorial.  Create stimulators for the inputs A, B, C, and D with D changing every 10 time units, C every 20, B every 40, and A every 80.  Make sure to run your simulation long enough so that the inputs take on all possible combinations.  Your simulation results should clearly show that the output of the function is only true when the inputs correspond to a Fibonacci number (1, 2, 3, 5, 8, or 13). 

Deliverables

Print out  your circuit and the results of your simulation to hand in at the start of Friday's lecture, Jan. 23. Be certain your name and section is on the print-out.


Comments to: cse370-webmaster@cs.washington.edu