Digitale techniek

21
Hogeschool van Utrecht / Institute for Computer, Communicati on and Media Technology 3.1 Inleiding computersystemen en netwerken

description

Digitale techniek. logica: Hoog=>‘1’=>true Laag =>‘0’=>false. Logische niveaus. A. Inverter NOT. A. Booleaanse algebra. Functies: OR -functie: f(a,b) is true als a=1 en/of b=1; notatie f = a + b AND -functie: f(a,b) is true als a=1 en b=1; notatie f = a.b - PowerPoint PPT Presentation

Transcript of Digitale techniek

Page 1: Digitale techniek

Hogeschool van Utrecht / Institute for Computer, Communication and Media Technology

3.1Inleiding computersystemen en netwerken

Page 2: Digitale techniek

Hogeschool van Utrecht / Institute for Computer, Communication and Media Technology

3.2Inleiding computersystemen en netwerken

Logische niveaus

logica:

• Hoog => ‘1’ => true

• Laag => ‘0’ => false

AA

Inverter NOT

Page 3: Digitale techniek

Hogeschool van Utrecht / Institute for Computer, Communication and Media Technology

3.3Inleiding computersystemen en netwerken

Booleaanse algebra

Functies:

1. OR-functie: f(a,b) is true als a=1 en/of b=1; notatie f = a + b

2. AND-functie: f(a,b) is true als a=1 en b=1; notatie f = a.b

3. NOT-functie: f(a) is true als a = 0 en false als a = 1; notatie f = a

Page 4: Digitale techniek

Hogeschool van Utrecht / Institute for Computer, Communication and Media Technology

3.4Inleiding computersystemen en netwerken

rekenregels

a + b = f

a b f0 0 00 1 11 0 11 1 1

a . b = f

a b f0 0 00 1 01 0 01 1 1

a = f

a f0 11 0

OR AND NOT

waarheidstabel

Page 5: Digitale techniek

Hogeschool van Utrecht / Institute for Computer, Communication and Media Technology

3.5Inleiding computersystemen en netwerken

Elementaire poortschakelingen

Naam notatie waarheidstabel symbolen

Page 6: Digitale techniek

Hogeschool van Utrecht / Institute for Computer, Communication and Media Technology

3.6Inleiding computersystemen en netwerken

Samengestelde poortschakelingen

Page 7: Digitale techniek

Hogeschool van Utrecht / Institute for Computer, Communication and Media Technology

3.7Inleiding computersystemen en netwerken

Eigenschappen en theorema’s

commutatieve eigenschappen a + b = b + a a . b = b . a

absorptietheorema's a + a . b = a a . (a + b) = a

theorema’s van De Morgan (a + b) = a . b (a . b) = a + b

associatieve eigenschappen a + (b + c) = (a + b) + c a . (b . c) = (a . b) . c

distributieve eigenschappen a + b . c = (a + b) . (a + c) a . (b + c) = a . b + a . c

Page 8: Digitale techniek

Hogeschool van Utrecht / Institute for Computer, Communication and Media Technology

3.8Inleiding computersystemen en netwerken

Poorten combineren

(a . b) + c = f

combinatorische schakelingen

H

Page 9: Digitale techniek

Hogeschool van Utrecht / Institute for Computer, Communication and Media Technology

3.9Inleiding computersystemen en netwerken

Don’t care-condities

Page 10: Digitale techniek

Hogeschool van Utrecht / Institute for Computer, Communication and Media Technology

3.10Inleiding computersystemen en netwerken

Tijdvolgorde diagrammen

Page 11: Digitale techniek

Hogeschool van Utrecht / Institute for Computer, Communication and Media Technology

3.11Inleiding computersystemen en netwerken

Probleem bij combinatorische logica

propagation delay

glitches

Page 12: Digitale techniek

Hogeschool van Utrecht / Institute for Computer, Communication and Media Technology

3.12Inleiding computersystemen en netwerken

Geheugenelementen

flipflop met NOR gates

a b c d0 0 0 10 0 1 00 1 1 01 0 0 11 1 0 0

re-setset

SR-flipflop

race condition

Page 13: Digitale techniek

Hogeschool van Utrecht / Institute for Computer, Communication and Media Technology

3.13Inleiding computersystemen en netwerken

SR-flip flop met NAND-gates

S

R

Q

Q

S R Q Q0 0 1 10 1 1 01 0 0 11 1 0 11 1 1 0

setre-set

Page 14: Digitale techniek

Hogeschool van Utrecht / Institute for Computer, Communication and Media Technology

3.14Inleiding computersystemen en netwerken

Flipflop met stuursignaal (Latch)

S

R

E

Q

Q

DQ

Q

E

E is Enable

S R Q0 0 00 0 10 1 11 0 01 1 0

resetset

Page 15: Digitale techniek

Hogeschool van Utrecht / Institute for Computer, Communication and Media Technology

3.15Inleiding computersystemen en netwerken

Master-slave SR-FF

S

R

Q

Q

CK

negative edge triggered FF

probleem blijft S R => 1 1

Page 16: Digitale techniek

Hogeschool van Utrecht / Institute for Computer, Communication and Media Technology

3.16Inleiding computersystemen en netwerken

JK-FF

J

K

Q

Q

CK

Bij J K => 1 1 toggle

Page 17: Digitale techniek

Hogeschool van Utrecht / Institute for Computer, Communication and Media Technology

3.17Inleiding computersystemen en netwerken

Synchroon werken met de klok (clock)

edge triggered

Page 18: Digitale techniek

Hogeschool van Utrecht / Institute for Computer, Communication and Media Technology

3.18Inleiding computersystemen en netwerken

Tijddiagram; negative edge triggered

Page 19: Digitale techniek

Hogeschool van Utrecht / Institute for Computer, Communication and Media Technology

3.19Inleiding computersystemen en netwerken

D-FlipFlop

Page 20: Digitale techniek

Hogeschool van Utrecht / Institute for Computer, Communication and Media Technology

3.20Inleiding computersystemen en netwerken

Monostabiele multivibrator

TQ

T

Q t

R C

t is afhankelijk van R en C

gevaarlijke schakeling!

Page 21: Digitale techniek

Hogeschool van Utrecht / Institute for Computer, Communication and Media Technology

3.21Inleiding computersystemen en netwerken

Doen

• bestudeer paragraaf 4.1 t/m 4.10

• opgaven 1 t/m 5 van paragraaf 4.15

• practicum