[工学]四川大学数字逻辑课件chapter1

上传人:油条 文档编号:44377336 上传时间:2018-06-09 格式:PDF 页数:53 大小:516.39KB
返回 下载 相关 举报
[工学]四川大学数字逻辑课件chapter1_第1页
第1页 / 共53页
[工学]四川大学数字逻辑课件chapter1_第2页
第2页 / 共53页
[工学]四川大学数字逻辑课件chapter1_第3页
第3页 / 共53页
[工学]四川大学数字逻辑课件chapter1_第4页
第4页 / 共53页
[工学]四川大学数字逻辑课件chapter1_第5页
第5页 / 共53页
点击查看更多>>
资源描述

《[工学]四川大学数字逻辑课件chapter1》由会员分享,可在线阅读,更多相关《[工学]四川大学数字逻辑课件chapter1(53页珍藏版)》请在金锄头文库上搜索。

1、CHAPTER 1: Number CHAPTER 1: Number Systems and CodesSystems and CodesIntroductionIntroductionDigital circuits, processing discrete information, Digital circuits, processing discrete information, are found in an astonishingly wide rang of electronic are found in an astonishingly wide rang of electro

2、nic systems. They have provided system designers with systems. They have provided system designers with more functions contained in less space, thereby more functions contained in less space, thereby improving system reliabilityimproving system reliability and and increasing speedincreasing speed. .

3、 Digital systems operate on numbers that represent some Digital systems operate on numbers that represent some real logical or arithmetic function. It is the designerreal logical or arithmetic function. It is the designer s s task to establish the relationship between the numbers task to establish t

4、he relationship between the numbers and the task being performed. This chapter develops and the task being performed. This chapter develops the use of numbers and how they represent real world the use of numbers and how they represent real world conditions in digital system.conditions in digital sys

5、tem.P1P11.1 Digital and Analog: Basic 1.1 Digital and Analog: Basic ConceptsConceptsP1P1 ContinuousContinuous: Without breaks, smooth, no interruptions; a range of values forming a line or curve without gaps or discontinuities DiscreteDiscrete: Broken down into pieces; opposite of continuous; a sing

6、le part or point that can unambiguously be defined AnalogAnalog: Refer to something that is analogous, has a likeness, or is similar to something else. Analog electronic signals are continuous, whereas voltage(电压), current(电流), or some other electrical parameter is used to represent a physical param

7、eter. For instance, voltage changes may represent changes in temperature. DigitalDigital: Refer to digits or numbers in any radix; digital electronics usually involves binary or base-2 number systems. Digital signals are discrete, not continuousP1P11.1 Digital and Analog: Basic 1.1 Digital and Analo

8、g: Basic ConceptsConceptsP2P21.1 Digital and Analog: Basic 1.1 Digital and Analog: Basic ConceptsConceptsVc(0)=0V, Initial voltage at t0 is 0VVc=Va(1-e-t/RC)P2P21.1 Digital and Analog: Basic 1.1 Digital and Analog: Basic ConceptsConcepts(a) Analog representation(b) Discrete representationDiscrete vo

9、ltage values for time intervalP3P31.1 Digital and Analog: Basic 1.1 Digital and Analog: Basic ConceptsConceptsAnalog volt meterDigital volt meterP9P91.2 Digital Systems Overview1.2 Digital Systems OverviewSSI (small-scale integration) contains 0-9 gatesMSI (medium-scale integration) contains 10-99ga

10、tesLSI (large-scale integration) contains 100 or more gatesVLSI (very large-scale integration ) contains more than 1000 gatesP9P91.3 Introduction to Number System1.3 Introduction to Number System Digital systems represented information in a discrete form, and Number systems provide the means of quan

11、tifying information for processing by digital system.Positional Number Systems Number system conversion Binary Codes ArithmeticNumber Systems Number Systems - - DecimalDecimal “base” 10 (radix is 10) 10 digits: 0.9536.15910=(5102)+(3101)+(6100)+(110-1)+(510-2)+(910-3)WeightWeightRadix or BaseRadix o

12、r BaseNumber Systems Number Systems Decimal (cont.)Decimal (cont.) In general, a decimal number with n digits to the left of the decimal point, and m digits to the right of the decimal point is written as:An-1An-2 A1A0. A-1A-2 A-m+1A-mwhere Aiis a coefficient between 0.9, and i denotes the weight (=

13、10i) of Ai.Number Systems Number Systems GeneralGeneral “base” r (radix r) r digits N = An-1 rn-1 + An-2 rn-2+ + A1 r +A0+ A-1 r-1+ A-2 r-2+ + A-m r-mMost Significant Bit (MSB)Least Significant Bit (LSB)Let r=radix or base of a number system; Let c=character from the character set of the radix; Let

14、N=number to be represented in radix; Let n=the number of digits in the integer portion of N Let m=the number of digits in the fractional portion of N( (N)N)r r=(c=(cn n- -1 1r rn n- -1 1+c+cn n- -2 2r rn n- -2 2+ +c+c1 1r r1 1+c+c0 0r r0 0+c+c- -1 1r r- -1 1+c+c- -2 2r r- -2 2+ + +c c- -mmr r- -mm)

15、)( (N)rN)r= = c ci ir ri iPositional Number SystemsPositional Number SystemsP11P11Number Systems Number Systems General (cont.)General (cont.) e.g. let r = 6(312.4)6= 3 62 + 1 61 + 1 60 + 4 6-1 = (116.66)10 Conversion from n-radix (any system with radix n) to decimal follows similar process as aboveNumber Systems (cont.)Number Systems (cont.) Most common number systems for computers:Binary (r = 2) Octal (r = 8) Hexadecimal (r = 16)Binary NumbersBinary Numbers- -Base 2Base 2 Computers represent all data as “strings

展开阅读全文
相关资源
正为您匹配相似的精品文档
相关搜索

最新文档


当前位置:首页 > 行业资料 > 其它行业文档

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号