LAB 4 - Relational Operators

# LAB 4 - Relational Operators - CSE 2300W Lab 4 Relational...

This preview shows pages 1–4. Sign up to view the full content.

CSE 2300W: Lab 4 – Relational Operators Section Number: _________ Name: Shayan Rizvi

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
Objectives The purpose of this lab was to design and implement a circuit that compares two binary inputs where each binary input has two bits. These two inputs were compared using the relational operators equal to ( = ), not equal to ( ), greater than ( > ), less than ( < ), greater than or equal to ( and less than or equal to ( . There will be two components to this lab. One component will be designing this circuit digitally on LogicWorks and the second component will be physically building the circuit on the protoboard. There was also a constraint put upon this lab; the constraint was that no more than four chips could be utilized. Background Relational operators are utilized to compare two items; in this case relational operators will be used to compare two binary inputs of two bits each. A great way to express the comparisons made in this lab is through the use of Karnaugh maps (K-maps). A K-map is a graphical representation of a truth table. Each individual box in a K-map represents a row of the truth table and in these boxes’ the minterms from the truth table are displayed (boxes with 1’s are the minterm values). These boxes can be separated into groups and these groups are combined and minimized to display the final logic functions for the specific binary inputs. Figure 1 K-map grouping of a set of 4 and a set of 2 minterms Shows a logic function combining the minterms Specifications There were two components of this lab the digital design using LogicWorks and the physical implementation on the protoboard. The physical hardware that used was one exclusive OR gate called 74LS86, a hex inverter by the name of 74LS04, a quad 2-input AND gate called 74LS08 and a quad 2-input OR gate called 74LS32. Along with every
other lab dealing with protoboard implementation there was an 8 pos DIP switch and six red LED’s for displaying the output. For the digital hardware the chips named above for the physical implementation were found in the LogicWorks library and utilized for the digital schematic. The only chip that was not found in the LogicWorks library was the quad 2-input OR gate, which was the 74LS32 chip. To combat LogicWorks not having

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

### Page1 / 6

LAB 4 - Relational Operators - CSE 2300W Lab 4 Relational...

This preview shows document pages 1 - 4. Sign up to view the full document.

View Full Document
Ask a homework question - tutors are online