Due: See class webpage
For example, if the input signals are a = 1, b = 0, c = 1, d = 1 and e = 1, then the output signals xyz = 100 representing the number 4 in the binary system.
If the input signals are a = 1, b = 1, c = 1, d = 1 and e = 1, the output signals should also be xyz = 101 (= 5).
And if the input signals are a = 1, b = 1, c = 0, d = 0 and e = 1, then the output signals should be xyz = 011, representing the number 3 in the binary system, and so on.
Here is another example and shows what the ciruit should do when the input signals are a = 1, b = 0, c = 0, d = 1 and e = 1:
Note: if you need a refresher on binary numbers, the CS255 online notes on this subject is here: click here
Write a EDiSim "program" that implement the above circuit.
Put the switches on the left (you will need 5 switches), the probes on the right (you need 3 probes) and the digital circuit between the switches and the probes.
Use the following coordinates for the components:
|
This is what your circuit should look like:
![]() |
Note:
|
|
To do project 1, you must be familiar with the items 1 and 3 in the above list
Consult item 4 on how to use a built-in component.
(Item 5 will be needed in project 2)
gedit pj1.h (or use your favorite editor) |
and write the EDiSim circuit program that implement the above circuit.
|
To run your circuit use this command:
cs355sim pj1.h |
Toggle keys '0', '1', '2', '3' and '4' to interact with the circuit.
Verify correct circuit behavior
/home/cs355001/Solutions/pj1-sol |
/home/cs355001/turnin pj1.h pj1 |
(A 4th extension request will be automatically denied --- personal emergencies and illiness with documentation will receive a "free" extension)
/home/cs355001/req-ext pj1 |
The list of commonly asked questions/answers is accessible through the following hyperlink: click here
Students will be graded partially on the basis of their programming assignments. These programming assignments are to be treated as examinations, and are expected to be your individual work. While discussions with other students in the course may be permitted or encouraged by your instructor, you should write your program yourself. The mathlab representatives are available to explain error messages, discuss briefly technical details with which you may not be familiar, and give short suggestions as to how you might detect logic errors. The reps should not, however be asked to write part or all of your program. Your instructor (and any teaching assistants assigned to the course) will be glad to help you to the extent that he or she feels reasonable.
Submissions based on other students solutions in prior offerings of the course specifically violate these guidelines, as do submissions prepared with the help of an outside "tutor".
You should take precautions to protect the confidentiality of your work: preserve the secrecy of your password, do not make files or directories sharable, pick up your printouts promptly and dispose of printouts where they will not tempt other students. All work should be done either in the class directory of your ITD account (preferred) or in your "priv" directory (only if you do not have a class directory).
All submissions should include a comment statement near the top of the program of the form:
THIS CODE IS MY OWN WORK, IT WAS WRITTEN WITHOUT CONSULTING A TUTOR OR CODE WRITTEN BY OTHER STUDENTS - your name
Cases of apparent plagiarism or collusion will be referred to the Honor Council.