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:
- Demonstrated your ability to use the Digital software package.
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:
- 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.
- Add a title and your name(s) to the project.
- Move to the top, leftmost corner of your project, just above the circuit you created in the tutorial.
- Select components->misc->decoration->text
- Place the item.
- Right click and add
- Homework 2
- A list of the names of the people who worked on this project.
-
- Add a comment box around the tutorial circuit
- This might be a bit tricky, especially selecting the box after it is created.
- You might want to create the box first, then move it over the circuit
- Drag and surround an object to highlight it
- Then click and drag.
-
- components->misc->Decoration->Text Rectangle
- Right click (on the word text) to set the text and the size.
- Manipulating objects
- Create an instance of an
and
element from the logic sections.
- Right click and
- Rotate it 90 degrees (advanced tab)
- Invert the first input (start tab)
- 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.
- Add a output
- Put it above and to the right.
- Connect with a wire that makes a right hand turn.
-
- 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.
-
- 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
- Turn on the top light.
- Turn on the bottom light.
- What is happening in this circuit.
-
- Explore the not gate
- Build a circuit that demonstrates a not gate.
- Under this build a not gate from a P-channel FET and an N-Channel FET.
- These are under switches.
- The ground and voltage supply are under wires.
- 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.
- 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.
- Label all of the outputs.
- Convince yourself that all three circuits do the same thing logically.
-
- Save your file
- Filetype circuit
- Add a name, it will add the .dig extension.
- 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.