

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


CEG/EE 260 Lab 1 Dr. Doom
The purpose of this laboratory project is to introduce students to the synthesis of a digital device consisting exclusively of combinational functionality. In this lab, we will start with a natural lan- guage description of a device for which will then be designed, simulated, tested, and imple- mented. In week one of this lab, students will implement a simple 2-bit priority selector and im- plement the device using a multi-level AND-OR-NOT logic implementation. In week two of this lab, students will implement this same device using a multi-level NAND implementation.
2-BIT PRIORITY SELECTOR Consider a simple device that takes two 2-bit binary inputs representing two values ranging from zero to three. The 2-bit value A is represented by two input variables A1 and A0. Values of A and A0 will be used to encode numeric values (in binary) as described below. 2-bit values for the second 2-bit input B and the 2-bit output C are encoded similarly. The 2-bit output C of the de- vice will be the greater of the two values presented on the 2-bit inputs A and B.
A1A B1B C1C0 Value 00 Zero 01 One 10 Two 11 Three
Figure 1: The 2-bit priority selector and value encoding table
Consider a case in which the 2-bit value A encoded the value “One” and the 2-bit value B en- coded the value “Two”. In this case, the 2-bit value C should encode the greater of these two values “Two”. At the digital level, the value A would be represented by two input variables A and A0 which would have the values 0 and 1, respectively. The value B would be represented by two input variables B1 and B0 which would have the values 1 and 0 respectively. The output value C would be represented by two output variables C1 and C0 which should have the values 1 and 0 respectively.
WEEK ONE: Two-level implementation (15 pts.) The goal of the first week is to design a two-level solution for this device, simulate the device (and test your design), then to physically realize the device using TTL SSI components. Please document all of your work in your lab notebook.
Design (5 pts)
Simulation (5 pts)
A A
B B
C C
CEG/EE 260 Lab 1 Dr. Doom
Implementation (5 pts)
WEEK TWO: NAND implementation (15 pts.) The goal of the second week is to implement the device constructed in week one of this lab using only 2-input NAND gates. Your task is to:
Design (5 pts)
Simulation (5 pts)
Implementation (5 pts)
Note: Lab projects will often take more than 2 hours to complete. During the laboratory your TA will provide you with the tools and help to get you started. You are expected to complete the laboratory at your own pace. Your labbook is due prior to the start of the next laboratory (check with your TA for details). You can demonstrate your laboratory to the TA during the week after the laboratory is assigned without penalty. For example, you may find it necessary to demonstrate your physical implementation of lab2 week 1 at the start of the lab2 week 2 lab pe- riod or the lab2 week 2 implementation at the start of lab 3.