circuito digital aula3 portas logicas

Post on 04-Jul-2015

4.816 Views

Category:

Documents

0 Downloads

Preview:

Click to see full reader

TRANSCRIPT

___________________________________UESPI – UNIVERSDADE ESTADUAL DO PIAUÍBacharelado em Ciências da Computação

CIRCUITO DIGITAL

Funções e Portas Lógicas– Função AND / Tabela Verdade – Função OR / Tabela Verdade– Função NOT– Função NAND– Função NOR

Tarcísio Franco Jaime

UESPI

–UNIVE

RSIDA

DE ES

TADU

AL DO

PIAU

I - CI

RCUIT

O DIGI

TAL

UESPI

–UNIVE

RSIDA

DE ES

TADU

AL DO

PIAU

I - CI

RCUIT

O DIGI

TAL

Prof.

Tar

císio

Fran

coPr

of. T

arcís

io Fr

anco

Funções e Portas Lógicas

No início os problemas eram resolvidos usando sistemas lineares.

George Boole desenvolveu um sistema matemático de análise lógica. Álgebra de Boole.

Álgebra de Boole usada em problemas de eletrônica digital.

Utilização de blocos básicos para implementar todas expressões geradas pela álgebra de boole

UESPI

–UNIVE

RSIDA

DE ES

TADU

AL DO

PIAU

I - CI

RCUIT

O DIGI

TAL

UESPI

–UNIVE

RSIDA

DE ES

TADU

AL DO

PIAU

I - CI

RCUIT

O DIGI

TAL

Prof.

Tar

císio

Fran

coPr

of. T

arcís

io Fr

anco

Funções e Portas Lógicas

Funções lógicas assumen dois estados: O estado 0(zero): representa não, porta

fechada, aparelho desligado, chave aberta, etc.

O estado 1(um): representa sim, porta aberta, aparelho ligado, chave fechada, etc.

Qual relação entre 0 e 1?

UESPI

–UNIVE

RSIDA

DE ES

TADU

AL DO

PIAU

I - CI

RCUIT

O DIGI

TAL

UESPI

–UNIVE

RSIDA

DE ES

TADU

AL DO

PIAU

I - CI

RCUIT

O DIGI

TAL

Prof.

Tar

císio

Fran

coPr

of. T

arcís

io Fr

anco

Funções e Portas Lógicas

Funções E ou AND Mais conhecida como função AND, faz a

multiplicação de 2 ou mais variáveis booleanas.

Representação algébrica para 2 variáveis: S=A.B

UESPI

–UNIVE

RSIDA

DE ES

TADU

AL DO

PIAU

I - CI

RCUIT

O DIGI

TAL

UESPI

–UNIVE

RSIDA

DE ES

TADU

AL DO

PIAU

I - CI

RCUIT

O DIGI

TAL

Prof.

Tar

císio

Fran

coPr

of. T

arcís

io Fr

anco

Funções e Portas Lógicas

Situações possíveis porta AND:

1º)Chave A aberta(0) e Chave B aberta(0)− S= 0.0 = 0

2º)Chave A aberta(0) e Chave B fechada(1)− S=0.1 = 0

3º)Chave A fechada(1) e Chave B aberta(0)− S=1.0 = 0

4º)Chave A fechada(1) e Chave B fechada(1)− S= 1.1 = 1

UESPI

–UNIVE

RSIDA

DE ES

TADU

AL DO

PIAU

I - CI

RCUIT

O DIGI

TAL

UESPI

–UNIVE

RSIDA

DE ES

TADU

AL DO

PIAU

I - CI

RCUIT

O DIGI

TAL

Prof.

Tar

císio

Fran

coPr

of. T

arcís

io Fr

anco

Funções e Portas Lógicas

Tabela da Verdade de uma Função AND 2 Variáveis:

A B S

0 0 0

0 1 0

1 0 0

1 1 1

UESPI

–UNIVE

RSIDA

DE ES

TADU

AL DO

PIAU

I - CI

RCUIT

O DIGI

TAL

UESPI

–UNIVE

RSIDA

DE ES

TADU

AL DO

PIAU

I - CI

RCUIT

O DIGI

TAL

Prof.

Tar

císio

Fran

coPr

of. T

arcís

io Fr

anco

Funções e Portas Lógicas

O Número de situações possíveis é igual a 2N, onde N é o númro de variáveis de entrada. N=3 .:. 23 = 8 (combinações)

A B C S

0 0 0 0

0 0 1 0

0 1 0 0

0 1 1 0

1 0 0 0

1 0 1 0

1 1 0 0

1 1 1 1

UESPI

–UNIVE

RSIDA

DE ES

TADU

AL DO

PIAU

I - CI

RCUIT

O DIGI

TAL

UESPI

–UNIVE

RSIDA

DE ES

TADU

AL DO

PIAU

I - CI

RCUIT

O DIGI

TAL

Prof.

Tar

císio

Fran

coPr

of. T

arcís

io Fr

anco

Funções e Portas Lógicas

Função OR Representação algébrica: S = A+B

UESPI

–UNIVE

RSIDA

DE ES

TADU

AL DO

PIAU

I - CI

RCUIT

O DIGI

TAL

UESPI

–UNIVE

RSIDA

DE ES

TADU

AL DO

PIAU

I - CI

RCUIT

O DIGI

TAL

Prof.

Tar

císio

Fran

coPr

of. T

arcís

io Fr

anco

Funções e Portas Lógicas

Situações possíveis porta OR:

1º)Chave A aberta(0) e Chave B aberta(0)− S= 0+0 = 0

2º)Chave A aberta(0) e Chave B fechada(1)− S=0+1 = 1

3º)Chave A fechada(1) e Chave B aberta(0)− S=1+0 = 1

4º)Chave A fechada(1) e Chave B fechada(1)− S= 1+1 = 1

UESPI

–UNIVE

RSIDA

DE ES

TADU

AL DO

PIAU

I - CI

RCUIT

O DIGI

TAL

UESPI

–UNIVE

RSIDA

DE ES

TADU

AL DO

PIAU

I - CI

RCUIT

O DIGI

TAL

Prof.

Tar

císio

Fran

coPr

of. T

arcís

io Fr

anco

Funções e Portas Lógicas

Tabela da Verdade de uma Função OR 2 Variáveis:

A B S

0 0 0

0 1 1

1 0 1

1 1 1

UESPI

–UNIVE

RSIDA

DE ES

TADU

AL DO

PIAU

I - CI

RCUIT

O DIGI

TAL

UESPI

–UNIVE

RSIDA

DE ES

TADU

AL DO

PIAU

I - CI

RCUIT

O DIGI

TAL

Prof.

Tar

císio

Fran

coPr

of. T

arcís

io Fr

anco

Funções e Portas Lógicas

Tabela com 4 variáveis, onde N é o númro de variáveis de entrada. N=4 .:. 24 = 16

A B C D S

0 0 0 0 0

0 0 0 1 1

0 0 1 0 1

0 0 1 1 1

0 1 0 0 1

0 1 0 1 1

0 1 1 0 1

0 1 1 1 1

1 0 0 0 1

1 0 0 1 1

1 0 1 0 1

1 0 1 1 1

1 1 0 0 1

1 1 0 1 1

1 1 1 0 1

1 1 1 1 1

UESPI

–UNIVE

RSIDA

DE ES

TADU

AL DO

PIAU

I - CI

RCUIT

O DIGI

TAL

UESPI

–UNIVE

RSIDA

DE ES

TADU

AL DO

PIAU

I - CI

RCUIT

O DIGI

TAL

Prof.

Tar

císio

Fran

coPr

of. T

arcís

io Fr

anco

Funções e Portas Lógicas

Funções NOT Inverte ou complementa o estado da

variável. Se a variável for 0 vai para 1, e se for 1 vai para 0.

Representação algébrica : S=A

UESPI

–UNIVE

RSIDA

DE ES

TADU

AL DO

PIAU

I - CI

RCUIT

O DIGI

TAL

UESPI

–UNIVE

RSIDA

DE ES

TADU

AL DO

PIAU

I - CI

RCUIT

O DIGI

TAL

Prof.

Tar

císio

Fran

coPr

of. T

arcís

io Fr

anco

Funções e Portas Lógicas

Situações possíveis porta NOT:

1º)Chave A aberta(0): S= 1

2º)Chave A fechada(1): S=0

A S

0 1

1 0

UESPI

–UNIVE

RSIDA

DE ES

TADU

AL DO

PIAU

I - CI

RCUIT

O DIGI

TAL

UESPI

–UNIVE

RSIDA

DE ES

TADU

AL DO

PIAU

I - CI

RCUIT

O DIGI

TAL

Prof.

Tar

císio

Fran

coPr

of. T

arcís

io Fr

anco

Funções e Portas Lógicas

Função NAND:– Composição da função NOT com AND (AND

invertida)

– Representação algébrica: S=(A.B)

A B A.B S

0 0 0 1

0 1 0 1

1 0 0 1

1 1 1 0

UESPI

–UNIVE

RSIDA

DE ES

TADU

AL DO

PIAU

I - CI

RCUIT

O DIGI

TAL

UESPI

–UNIVE

RSIDA

DE ES

TADU

AL DO

PIAU

I - CI

RCUIT

O DIGI

TAL

Prof.

Tar

císio

Fran

coPr

of. T

arcís

io Fr

anco

Funções e Portas Lógicas

Função NOR:– Composição da função NOT com OR (OR

invertida)

– Representação algébrica: S=(A+B)

A B A+B S

0 0 0 1

0 1 1 0

1 0 1 0

1 1 1 0

top related