??????????? Logic Gates ??? 2 - PowerPoint PPT Presentation

1 / 19
About This Presentation
Title:

??????????? Logic Gates ??? 2

Description:

Title: Logic Gates 2 Author: rawin Last modified by: Rawin Created Date: 7/28/2004 3:25:27 AM Document presentation format – PowerPoint PPT presentation

Number of Views:15
Avg rating:3.0/5.0
Slides: 20
Provided by: rawin
Category:
Tags: full | gates | logic | subtractor

less

Transcript and Presenter's Notes

Title: ??????????? Logic Gates ??? 2


1
??????????? Logic Gates ??? 2
  • ????? 7

2
????????
  • ??????????????????????????????????????
  • ???????????
  • ????? ??????????????????? 2s complement
  • ?????????????????????

?????? 2s complement
??????? ??????????? 1
3
?????? 2s complement
0111
1000
7
1
1001
0011
12
1100
1
0100
4
????????????????
12 - 7
???????????????????????
1100

1001
10101
???????
??? 1 ??????? ???????
????? 5
5
????????????????
7 - 12
????????????????????????
0111

0100
1011
0
??? 0 ??????? ??????? -
?? 2s complement
0100

1
101
????? -5
6
??????????????
  • ????????????????????????? 2s complement

?????????? ???????????????????? (Full Subtractor)
7
??????????? 2s complement
  • ?????????????????????????????????????????????????
    RAM
  • ??? signed bit

0 ?????
1 ??????
signed bit
??????????????????????????????? 4 ??? ????? 24
16 ??????? ??????? 3 ?????????????
????????????????????????? 23 8
0/1 xxx
8
24 16 ??????? 16 ???, 23 8 ??? ??? -
0111 0110 0101 0100 0011 0010 0001 0000 1111 1110
1101 1100 1011 1010 1001 1000
7 6 5 4 3 2 1 0 -1 -2 -3 -4 -5 -6 -7 -8

2s complement
-
9
?????????????? 8 ?????????????????????
  • ???????????? byte
  • 28 256
  • ??? 2 ??? 128
  • ??????? ??????????? 0 ??? 127
  • ?????????? 1 ??? -128

127
01111111 00000001 00000000 11111111 100000
01 10000000
int 16 ??? float 32 ???
-128
10
???? BCD
  • Binary coded decimal
  • ???????????? 10
  • ?????? 10 ????? 1 ??? ????????????????? 2 ????? 4
    ???
  • ????????
  • 0100 0101
  • 0101 0010
  • 27 0010 0111
  1. 5

0100 0101
11
???????????????????????? BCD code
  • ?????????? 9 ?? ERROR (??? 0-9)
  • ?????????????????? 6
  • ????

72 44
0111 0010 0100 0100

1011 0110
1011 0110
6 ???
10001
1 1
6
12
Multiplexer ??? 2 ??????
  • ?????????????????????????????????????????????????
    Output ???????? ???????? ??? Multiplex
  • ?????????????????? Multiplexer
  • ?????????????????????????? ??????????????????

1
MUX
2
321
3
13
???? Multiplexer ??? 2 ??????
  • A ????????? Address Input ???????????? Input
    ???????????????????

14
????????
  • ??????????????????? Multiplex ?? 2 ??? ?????? x1
    ??? x2
  • A ????????????????????????????????? Output
  • ??????? ???????????????????? A ??????? (0,1)
    ????????? x1 ??? x2 ?????????????????
  • ???????????????????????????? A ???????????????????
    ?
  • ??????????????????????????????????? (Synchronize)

15
?????? Clock
  • ?????????????????????????????? ???????????????????
  • ?????? 0 ??? 1 ???????

16
???? Multiplexer ??? 4 ??????
??? A, B ????????????????
17
2-to-4 Demultiplexer
18
??????????
  • ????????????? Multiplexer ??? Demultiplexer
    ???????????????????

19
????????
  • ??????????????? IN
  • A ??? B ???????????????????????????? Output
    ??????
  • A ??? B ????????? Synch ??? A ??? B ??????
    Multiplexer
Write a Comment
User Comments (0)
About PowerShow.com