ECEN 248 Lab 2: Logic Minimization and Karnaugh Maps names Dept. of Electrical and Computer Engineering
Lab 2 in Brief Use logic to perform real tasks Use K-maps to be efficient Learn how to use the 7-segment display
7-Segment Display Has 7 inputs, one for each “bar” of the 8 Assert inputs to light up the corresponding bars 3
BCD to 7-Segment Driver Takes BCD digit as input (like 0100 for the number 4) and decodes it into 7 outputs These 7 outputs are used as inputs for the 7-segment display 4
Connecting the Circuit You will design the Profit Computer The inputs H, C, S, and I will be turned on and off using DIP switches
Designing the Profit Computer Draw 3 K-maps, one for each output of the profit computer (P0, P1, and P2). Use the conditions in the farm problem! Pay attention to which is MSB and LSB! Minimize each K-map to reduce the number of gates used
Example K-Map HC SI 00 01 11 10 00 01 11 10 Fill in with 0’s, 1’s, and X’s. Then minimize!!
Deadlines Today Next Week Work on Lab 2 Lab 2 Post-Lab due Lab 3 Pre-Lab due at the beginning of class