Course: Digital Logic Design

School Of Electrical Engineering And Computer Sciences National University Of Sciences And Technology - Pakistan

School Of Electrical Engineering And Computer Sciences – NUST (PAKISTAN)

Page 1

Project Report (Scientific Calculator)

Course: Digital Logic Design

PROJECT REPORT

DIGITAL LOGIC DESIGN

School Of Electrical Engineering And Computer Sciences – NUST (PAKISTAN)

Page 2

Project Report (Scientific Calculator)

Course: Digital Logic Design

Scientific Calculator

(Sin, Cos & Tan Functions Using Digital Logic!!)

School Of Electrical Engineering And Computer Sciences – NUST (PAKISTAN)

Page 3

Project Report (Scientific Calculator)

Course: Digital Logic Design

Group Members: 1. 2. Waqas Maqsud (2008-nust-bee-432) M. qumar zaman (2008-nust-bee-375) Submitted To: Mr. Abdullah mansoor (Department of Electrical Engineering)

Date Of Submission: June 03, 2010

School Of Electrical Engineering And Computer Sciences – NUST (PAKISTAN)

Page 4

Project Report (Scientific Calculator)

Course: Digital Logic Design

Acknowledgments: Our heartiest acknowledgments are for Sir Abdullah Mansoor whose motivation and believe in our potential gave us courage to design our own project.

School Of Electrical Engineering And Computer Sciences – NUST (PAKISTAN)

Page 5

Project Report (Scientific Calculator)

Course: Digital Logic Design

This Project is dedicated to our parents whose prayers have made us successful in our life.

Between the idea & the achievement there is one word HOW & it’s HOW which makes the difference

School Of Electrical Engineering And Computer Sciences – NUST (PAKISTAN)

Page 6

Project Report (Scientific Calculator)

Course: Digital Logic Design

Table Of Content Introduction …………………………….. Page 08 Designing of Calculator ……………. Page 09 1. Functionality 2. Truth Tables 3. Minterms using K-maps Selection Switches ………………….. Page 15 Block Diagram …………………….. Page 16 Calculator Manual ………………… Page 17 Hardware Used ……………………. Page 18 Product Image …………………….. Page 19 Special Thanks …………………….. Page 22 Data Sheets

School Of Electrical Engineering And Computer Sciences – NUST (PAKISTAN)

Page 7

Project Report (Scientific Calculator)

Course: Digital Logic Design

Introduction:

Our Project of Scientific Calculator is implementation of basic Trigonometric Functions using the knowledge of Truth Tables, K-maps, Boolean Algebra and Various Integrated Circuits of Demultiplexers, Decoders, MUX etc. We have The functions implemented in the calculator can be switched using two switch buttons and input to the calculator can be given in the binary equivalent of decimal in four bits that is input of up to 15 can be given to the calculator. The functions are designed in such a manner that these trigonometric functions will cover π- radians (1800). The input will be considered as multiple of 150 or π / 12 radians. Output display on 7- segment. There are 5 seven segment displays out of which the left most will tell the sign of function value.

School Of Electrical Engineering And Computer Sciences – NUST (PAKISTAN)

Page 8

Project Report (Scientific Calculator)

Course: Digital Logic Design

Designing:

Functionality:

Input to the calculator is given in the multiples of 150 that is if 0011 is the input given by user its binary equivalent is 3 so output will be value of (sin/cos/tan) (3 times 150) that is at 450.

Truth Tables:

1. Truth Table Of Sin

A B C D +/a b c d e f g h I j k l M n o p

0 1 2 3 4 5 6 7 8 9 10 11 12

0 0 0 0 0 0 0 0 1 1 1 1 1

0 0 0 0 1 1 1 1 0 0 0 0 1

0 0 1 1 0 0 1 1 0 0 1 1 0

0 1 0 1 0 1 0 1 0 1 0 1 0

0 0 0 0 0 0 0 0 0 0 0 0 0

0 0 0 0 0 0 0 0 0 0 0 0 0

0 0 0 0 0 0 0 0 0 0 0 0 0

0 0 0 0 0 0 0 0 0 0 0 0 0

0 0 0 0 0 0 1 0 0 0 0 0 0

0 0 0 0 1 1 0 1 1 0 0 0 0

0 0 1 1 0 0 0 0 0 1 1 0 0

0 1 0 1 0 0 0 0 0 1 0 1...