Name1:___________________________           Name2:___________________________

Lab Assignment #1, Due October 10, 1997

Due 5:00PM, to be placed under the door of AP&M'4840

Introduction: The main objective of this Lab assignment is to help you get used to the tools you will be using during this course. This lab assignment consists of two parts. In the first part, you will implement the alarm clock in example 1.1 in the textbook by using LogicWorks. In the second part of the experiment, you will measure the characteristics of some logic gates by using an oscilloscope.

There is an example design called ExampleClock . You can download and use it if you want. I also added 2 components to the library, which will make your life much eaiser. The components are alarm, and clock. They have A(adjust), AM(minute adjust), AH(hour adjust) inputs to set the clock and the alarm.

Part 1: Alarm Clock Simulation

The alarm clock that you will implement will measure time in a different scale than the one given in your book. A day consists of 16 hours, each hour consists of 16 minute and each minute consists of 16 seconds. (You will use 4-bit counters for this implementation. You can count up to 15 by using a 4-bit counter, i.e. 0,1,...,14,15.) For the rest of the implementation, follow the structural representation in figure 1.4, page 6, Gajski.

About Logic Works: In order to be able to implement the alarm clock, you will need to use some logic components, such as counters, comparators, display units, etc. There are different libraries provided by LogicWorks. Each library contains components relevant to the name of the library. For example, the library primio contains HeXDisplay, BinarySwitch, BinaryProbe, clock, etc. The library primlogi contains adders, counters, buffers, registers, decoders, etc. The library primgate contains AND, OR, NOR, XOR, NOT, and other gates.

For this design you will need a 4-bit comparator, which is not available in the original libraries. You can download the CSE140L library from the class home page. This library currently contains only a 4-bit comparator. (The CSE140L library will be updated whenever necessary during this course.) Some useful hints:

Part 2: Characteristics of logic gates

Before building the circuit on the breadboard, check the input/output pin connections of the components in the TTL Logic Data Book. Do not forget to connect Ground and VCC (power) pins. VCC should be connected to +5 volts for these gates.

For each of the above gates fill in the following tables:

74LS04 Inverter
Input Output(Logic Level) Output(Volts)
0    
1    

74LS00 Nand Gate
Input1 Input2 Output(Logic Level) Output(Volts)
0 0    
0 1    
1 0    
1 1    

Signature: ____________________________________

74LS00 Nor Gate
Input1 Input2 Output(Logic Level) Output(Volts)
0 0    
0 1    
1 0    
1 1    

Signature: ____________________________________

Requirements
For the first part, you will need to submit a printout of your design in LogicWorks. Be careful while you are designing your circuit, since you will be asked to further improve this design in the next labs. You will need to demonstrate your working circuits to the Lab assistants during their office hours and get your handouts signed. You have to return the signed handouts and the filled tables with your report.