Homework 2, The basics of Digital.

Short Description:

Perform some experiments with the DIGITAL software package.

Goals

When you finish this homework, you should have: The purpose of this assignment is to introduce you to the DIGITAL software package. This will help us understand basic gates, logic and electronic circuits. I do not expect you to master this package, but please ask yourself "do I understand what I just did and what the circuit did" at the end of each step. If you are confused at any point, ask a question (in class, by email, in student consultation).

Formal Description

The digital package should be installed in the labs, including the teaching lab, by the assignment start date. You should either use this installation or install this package in your environment. If you need it, the package is available here

You may work alone or in a group on this project. If you work as a group, please include the names of all the participants. If you are in both Logic and Switching Theory and Architecture, you need only do this assignment once. Please turn it in to both dropboxes however.

Please perform the following steps:

  1. Start digital and work through the tutorial. This should take about 5 minutes and you will end with a circuit that contains two inputs, an xor gate and and output.
  2. Add a title and your name(s) to the project.
    1. Move to the top, leftmost corner of your project, just above the circuit you created in the tutorial.
    2. Select components->misc->decoration->text
    3. Place the item.
    4. Right click and add
      • Homework 2
      • A list of the names of the people who worked on this project.
  3. Add a comment box around the tutorial circuit
    1. components->misc->Decoration->Text Rectangle
    2. Right click (on the word text) to set the text and the size.
  4. Manipulating objects
    1. Create an instance of an and element from the logic sections.
      1. Right click and
        • Rotate it 90 degrees (advanced tab)
        • Invert the first input (start tab)
      2. Add two inputs below this
        • Label them A and B
        • Rotate both by 90 degrees.
        • Make the default value of B 1.
        • Connect these to the and gate.
      3. Add a output
        • Put it above and to the right.
        • Connect with a wire that makes a right hand turn.
    2. Below this add another and element.
      • Change the number of inputs to be three.
      • Connect three inputs to the left hand side.
      • Connect a led to the right hand side.
      • In a text below the circuit, explain how to turn the led on.
    3. Add one more and gate below this circuit
      • Change the data bits to be 2.
      • Add two inputs to the left, changing the data bits to be two in each.
      • Connect these.
      • Add a wire splitter
        • Components -> Wires -> Splitter/Merger
        • Configure this so that the input is 2 and the output is 1,1
        • Connect an led to each of the output wires of the splitter.
      • Under this add a text component describing how to
        1. Turn on the top light.
        2. Turn on the bottom light.
        3. What is happening in this circuit.
  5. Explore the not gate
    1. Build a circuit that demonstrates a not gate.
    2. Under this build a not gate from a P-channel FET and an N-Channel FET.
      1. These are under switches.
      2. The ground and voltage supply are under wires.
    3. Drive this by the same input as the not circuit above.
      • Place the two LEDs next to each other so you can compare the results.
    4. Finally add a "not chip", 7404
      • components -> library -> 74xx -> basic -> 7404
      • Add a voltage supply to the Vcc pin and a ground to the gnd pin
      • Hook the input switch to 1A
      • Hook an LED to 1Y and place it by the other three
      • Unfortunately all other A pins need to be connected to something, so hook all of these to the input as well.
    5. Label all of the outputs.
    6. Convince yourself that all three circuits do the same thing logically.
  6. Save your file
  7. My final looks something like

Required Files

The final .dig file.

Submission

Submit the assignment to the D2L folder Homework 2 by the due date.