Presentation is loading. Please wait.

Presentation is loading. Please wait.

Building Blocks CS 1308 Computer Literacy and the Internet.

Similar presentations


Presentation on theme: "Building Blocks CS 1308 Computer Literacy and the Internet."— Presentation transcript:

1 Building Blocks CS 1308 Computer Literacy and the Internet

2 Problem statement: The circuit should return true (the light should come on) if both inputs are equal. Example problem: Compare- for-equality Circuit (1 Bit CE)

3 Designing the circuit from truth table abOutput 001 010 100 111 We ignore the outputs that result in 0.

4 Problem statement: The circuit should return true (the light should come on) if both inputs are equal. Example problem: Compare-for-equality Circuit (1 Bit CE)

5 Open this webpage: http://www.course. com/downloads/co mputerscience/aeo nline/7/1/index.htmlOpen this webpage: http://www.course. com/downloads/co mputerscience/aeo nline/7/1/index.html http://www.course. com/downloads/co mputerscience/aeo nline/7/1/index.html http://www.course. com/downloads/co mputerscience/aeo nline/7/1/index.html How to create this design?

6 How to create this design? (cont.) Switches are inputs. Drag two of them to the drawing area. Drag the needed AND, OR, and NOT gates

7 How to create this design? (cont.) Light is output, drag one. Use the wire to connect gates in the circuit. Use this tool to remove wires or gates

8 Test your design Run your circuit. Specify the input by turning the switches on (1) and off (0). Click on the switches to turn them on and off. The picture is showing a=0, b=1, and as expected the light is off (0). a b

9 Creating the Not Equals  Now that you have seen how the tool works on the example “equals” problem. Create a circuit that will decide if two bits are Not Equals.  The light should come on if the two inputs are different.

10 Save your Design 1.After you have created the circuit and tested it, press "Save As..." and save the file as "NotEquals.DAT". (You can save it to the desktop.) 2. Copy the file to a flash drive or use SSH to move it to the network for safe keeping.


Download ppt "Building Blocks CS 1308 Computer Literacy and the Internet."

Similar presentations


Ads by Google