Topic 5 Digital Technique basic computer structure

29
Malaysian Institute of Aviation Technology Revision 00 Issue 01 Module 5.4 DIGITAL TECH (MECH) AKD 21102 CHAPTER 5 BASIC COMPUTER STRUCTURE

Transcript of Topic 5 Digital Technique basic computer structure

Page 1: Topic 5 Digital Technique basic computer structure

Malaysian Institute of Aviation Technology

Revision 00 Issue 01 Module 5.4

DIGITAL TECH (MECH)

AKD 21102

CHAPTER 5

BASIC COMPUTER

STRUCTURE

Page 2: Topic 5 Digital Technique basic computer structure

Malaysian Institute of Aviation Technology

Upon completion of this topic, student will be able to:

1.Define the computer terminology

2.Distinguish various type of memory devices

3.Recognised the operation and advantages and disadvantages of

various data storage systems

4.Recognised the operation, layout and interface of major component

5.Differentiate between single and multi-address instruction word

6.Explained computer technology as applied in aircraft system

Revision 00 Issue 01 Module 5.4

LEARNING OUTCOMES

Page 3: Topic 5 Digital Technique basic computer structure

Malaysian Institute of Aviation Technology

• Bit – a binary digit (Binary digiT)

• Byte – term of 8 bits word

• Address – numbers indicate the location of a word in

the computer memory

• Nibble – word size of 4 bits word (or half byte)

• Word – the number of bits that constitute a common unit

of information as designated by the computer system

• Software – a program or instruction used to control a

computer

• Operand – data that is operated on the computer as it

executes an instruction

Revision 00 Issue 01 Module 5.4

COMPUTER TERMINOLOGY

Page 4: Topic 5 Digital Technique basic computer structure

Malaysian Institute of Aviation Technology

• Op Code – an instruction word that tell the computer what

to do with the operand

• Hardware – component of a computer

• Firmware – program permanently embedded/program in

computer hardware

• CPU (Central Processing Unit) – the portion of a computer

that interprets and executes program instruction

• Accumulator – a register that collect the results of

computation

• IC (Integrated Circuit) – combination of electronics

component built onto a single substrate of semiconductor

materialRevision 00 Issue 01 Module 5.4

COMPUTER TERMINOLOGY

Page 5: Topic 5 Digital Technique basic computer structure

Malaysian Institute of Aviation Technology

• Consist of :

1. CPU

2. Memory

3. Interface

4. Input / Output (I/O)

Revision 00 Issue 01 Module 5.4

BASIC COMPUTER

STRUCTURE

Page 6: Topic 5 Digital Technique basic computer structure

Malaysian Institute of Aviation Technology

Revision 00 Issue 01 Module 5.4

BASIC COMPUTER LAYOUT

Page 7: Topic 5 Digital Technique basic computer structure

Malaysian Institute of Aviation Technology

Revision 00 Issue 01 Module 5.6

Components inserted into circuit board

Page 8: Topic 5 Digital Technique basic computer structure

Malaysian Institute of Aviation Technology

• Consist of

1. Register• Consist of a number of storage location where a piece of data is kept

OR

• A special memory in microprocessor called as Status Register which

normally made of a single bit called Flags

2. ALU (Arithmetic Logic Unit)• Perform the arithmetic and logical operations

• All calculation are performed in binary

3. Control unit• Coordinate the internal operation of the microprocessor

• Control the operation of ALU

• Generate instruction to execute/perform for each program instruction

Revision 00 Issue 01 Module 5.4

CPU

Page 9: Topic 5 Digital Technique basic computer structure

Malaysian Institute of Aviation Technology

• A device which stored data or information

• Storage can be divided into 2 groups

1. Main Memory (Internal)

• Also known as Working Memory which in constant communication with the

CPU

• Fast in operation

2. Auxiliary Memory (External)

• Also known as Mass Storage

• Huge storage capacity and non-volatile

• Slower than main memory

• 2 types of memory

1. ROM (Read Only Memory)

2. RAM (Random Access Memory)

Revision 00 Issue 01 Module 5.4

MEMORY

Page 10: Topic 5 Digital Technique basic computer structure

Malaysian Institute of Aviation Technology

• Memory cell – A device or electrical circuit used to store a single bit

• Memory word – A group of bits in a memory that represent

instructions or data

• Capacity/density – specifies the number of bits that can be store in

a computer memory

• Read operation – the operation whereby the binary word stored at

a specific memory address is sense and transferred to another

device

• Write operation – the operation whereby a new word is loaded into

a particular memory address

• Access time – a measure of memory devices operating speed

• Cycle time – a measure of the entire time required to performed

read and write operation

• Non-volatile – keep storing data when electrical power is removedRevision 00 Issue 01 Module 5.4

MEMORY: Terminology

Page 11: Topic 5 Digital Technique basic computer structure

Malaysian Institute of Aviation Technology

1. ROM (Read Only Memory)

a) PROM

b) EPROM

c) EEPROM

2. RAM (Random Access Memory)

a) Static RAM

b) Dynamic RAM

Revision 00 Issue 01 Module 5.4

TYPE OF MEMORY

Page 12: Topic 5 Digital Technique basic computer structure

Malaysian Institute of Aviation Technology

Revision 00 Issue 01 Module 5.6

• Used to store data and information that are

not change during the normal operation.

• Major used in storage of programs in microcomputers

• The process of entering data is called programming

or burning in the ROM

• Non-volatile

ROM

Page 13: Topic 5 Digital Technique basic computer structure

Malaysian Institute of Aviation Technology

Revision 00 Issue 01 Module 5.6

Malaysian Institute of Aviation Technology

• Programmable ROM

- Manufactured with fusible

links used as electrical

connection in the chip

- User programmable by burning the desiredprogram.

- Once programmed, can not bereprogrammed again.

ROM-PROM

Page 14: Topic 5 Digital Technique basic computer structure

Malaysian Institute of Aviation Technology

Revision 00 Issue 01 Module 5.6

Malaysian Institute of Aviation Technology

• Erasable Programmable ROM

- Can be reprogrammed

as often as desired.

- Can be erased by exposingthe EPROM to ultraviolet

light through a window on the chip- Erasure time is 15 to 30 minutes

- Erasing operation will erase the entire memory.

ROM-EPROM

Page 15: Topic 5 Digital Technique basic computer structure

Malaysian Institute of Aviation Technology

Revision 00 Issue 01 Module 5.6

Malaysian Institute of Aviation Technology

• Electrical Erasable PROM

- Ability to electrically erased and programindividual words.

- Erasing and programming are carried out by setting the polarities of a charge between the MOSFET gate and drain.

ROM-EEPROM

Page 16: Topic 5 Digital Technique basic computer structure

Malaysian Institute of Aviation Technology

Revision 00 Issue 01 Module 5.6

Malaysian Institute of Aviation Technology

• Can write and read from RAM

• Temporary storage of program or data

• RAM address constantly changing as

computer executes a program

•Volatile

•Often used as internal memory

RAM

Page 17: Topic 5 Digital Technique basic computer structure

Malaysian Institute of Aviation Technology

Revision 00 Issue 01 Module 5.6

Malaysian Institute of Aviation Technology

• Can store data as long as power is supplied. • They are flip-flops that will stay in a given state. •Available in BJT or MOSFET•BJT are faster than MOSFET•MOSFET have greater capacity and used less power than BJT•Required 6 transistor to store 1 bit data

STATIC RAM

Page 18: Topic 5 Digital Technique basic computer structure

Malaysian Institute of Aviation Technology

Revision 00 Issue 01 Module 5.6

Malaysian Institute of Aviation Technology

• Constructed using MOS technology.

• Required 1 transistor and 1 capacitor to

store 1 bit data

•Required refresh logic for its operation• The capacitor can be either charged or discharged; these two

states are taken to represent the two values of a bit,

conventionally called 0 and 1. Since capacitors leak charge, the

information eventually fades unless the capacitor charge is

refreshed periodically.

DYNAMIC RAM

Page 19: Topic 5 Digital Technique basic computer structure

Malaysian Institute of Aviation Technology

Revision 00 Issue 01 Module 5.6

Malaysian Institute of Aviation Technology

• Joining of dissimilar devices in a way to allow compatibility and coordination or synchronization of digital data between the computer and the input/output devices.

• Characteristic that should take into consideration: - Operation speed- Data format- Serial or parallel- Logic signal and etc

INTERFACE

Page 20: Topic 5 Digital Technique basic computer structure

Malaysian Institute of Aviation Technology

Revision 00 Issue 01 Module 5.6

Malaysian Institute of Aviation Technology

• BUS SYSTEM (GENERAL)

- Consists of 3 Buses that carry all data andsignal involved in computer’s operation

• ADDRESS BUS

• DATA BUS

• CONTROL BUS

BUS SYSTEM

Page 21: Topic 5 Digital Technique basic computer structure

Malaysian Institute of Aviation Technology

Revision 00 Issue 01 Module 5.6

BUS SYSTEM

Page 22: Topic 5 Digital Technique basic computer structure

Malaysian Institute of Aviation Technology

Revision 00 Issue 01 Module 5.6

Malaysian Institute of Aviation Technology

• When CPU need to communicate with certain memory location of input/output device, it place an appropriate 16 bits address code on its 16 bits address output

• Address bus is unidirectional

ADDRESS BUS

Page 23: Topic 5 Digital Technique basic computer structure

Malaysian Institute of Aviation Technology

Revision 00 Issue 01 Module 5.6

Malaysian Institute of Aviation Technology

• Data bus is bidirectional with data to andfrom CPU

• During READ, the data bus acts as aninput to the CPU.

• During WRITE, the data bus acts as anoutput from the CPU.

DATA BUS

Page 24: Topic 5 Digital Technique basic computer structure

Malaysian Institute of Aviation Technology

Revision 00 Issue 01 Module 5.6

Malaysian Institute of Aviation Technology

• The control bus synchronizes the activitiesof the microcomputer.

- RES: When LOW, causes the CPU toRESET at a particular start state.

- INT: Comes from input/output device, telling

the computer that it wants to ‘butt in’ (interrupt).

- R/W: Read don’t write.

CONTROL BUS

Page 25: Topic 5 Digital Technique basic computer structure

Malaysian Institute of Aviation Technology

Revision 00 Issue 01 Module 5.6

When it is desired to read the contents of a particular

memory location :

• CPU sends out the address of that location on the address bus and a ‘memory read’ control signal on the control bus.

• The memory responds by outputting data stored in the addressed memory location onto the data bus.

• ‘Interrupt’ from control bus tells the CPU that an external device needs to be read or serviced.

OPERATION OF BUS SYSTEM

Page 26: Topic 5 Digital Technique basic computer structure

Malaysian Institute of Aviation Technology

Revision 00 Issue 01 Module 5.6

INSTRUCTION WORDS

• There are 2 main types of instruction Words:

a) Single Address Instruction Word

- Consist of an OP CODE and an OPERAND address.

Example :

Page 27: Topic 5 Digital Technique basic computer structure

Malaysian Institute of Aviation Technology

Revision 00 Issue 01 Module 5.6

INSTRUCTION WORDSb) Multi address Instruction Word

• Consist of an OP CODE and more than 1 OPERAND address

• A two address instruction word has an OP CODE and addresses for both OPERANDS needed to take part in the operation

• Example : 2+3 ; • ADD = Op Code, 2 = First Operand, 3 = Second Operand

• If we display the result 2+3 = 5 (total of 3 address instruction

word)

Page 28: Topic 5 Digital Technique basic computer structure

Malaysian Institute of Aviation Technology

Revision 00 Issue 01 Module 5.6

Example of instructions for OPCODE

• Arithmetic such as add and subtract

• Logic instructions such as and, or, and

not

• Data instructions such as move, input,

output, load, and store

INSTRUCTION WORDS

Page 29: Topic 5 Digital Technique basic computer structure

Malaysian Institute of Aviation Technology

• FMC (Flight Management Computer)

• EFIS (Electronic Flight Instrument System)

• EICAS (Engine Indication and Crew Alerting

System)

• Autopilot

Revision 00 Issue 01 Module 5.6

COMPUTER APPLICATIONS

ON AIRCRAFT