书签 分享 收藏 举报 版权申诉 / 17
上传文档赚钱

类型数字设计基础双语课件(第1章).ppt

  • 上传人(卖家):三亚风情
  • 文档编号:3523798
  • 上传时间:2022-09-11
  • 格式:PPT
  • 页数:17
  • 大小:389.50KB
  • 【下载声明】
    1. 本站全部试题类文档,若标题没写含答案,则无答案;标题注明含答案的文档,主观题也可能无答案。请谨慎下单,一旦售出,不予退换。
    2. 本站全部PPT文档均不含视频和音频,PPT中出现的音频或视频标识(或文字)仅表示流程,实际无音频或视频文件。请谨慎下单,一旦售出,不予退换。
    3. 本页资料《数字设计基础双语课件(第1章).ppt》由用户(三亚风情)主动上传,其收益全归该用户。163文库仅提供信息存储空间,仅对该用户上传内容的表现方式做保护处理,对上传内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知163文库(点击联系客服),我们立即给予删除!
    4. 请根据预览情况,自愿下载本文。本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
    5. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007及以上版本和PDF阅读器,压缩文件请下载最新的WinRAR软件解压。
    配套讲稿:

    如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。

    特殊限制:

    部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。

    关 键  词:
    数字 设计 基础 双语 课件
    资源描述:

    1、 1.Digital systems&representation 1.1 Digital systems 1.2 Numbers representation1.3 Performing arithmetic with binary numbers1.4 Representation of alphanumeric symbols1 1.1 Digital Systems1.The realm of digital systemsA digital system is often designed to satisfy two kinds of tasks:(1)To control app

    2、aratus(2)To perform calculationsA digital system can perform some calculations and on the basis of the result,take certain control actions.2 1.1 Digital Systems2.Two-valued logic signals The input and output signals have only two values.Hence,the digital systems might use 5 volts and 0 volts to repr

    3、esent the two values.3.Positive and negative logic representation(1)Positive logic representationThe higher voltage represents a logic 1,and the lower voltage represents a logic 0.3 1.1 Digital Systems(2)Negative logic representationThe higher voltage represents a logic 0,and the lower voltage repre

    4、sents a logic 1.(3)Mixed logic representationUsing both positive and negative representations in the same system.4 1.1 Digital Systems4.Logic functionsIn order to develop the algorithm or logic function for a digital system,logic signals must be represented by names as in algebra.Logic function can

    5、be written in a two-valued algebra called Boolean algebra.5.Three fundamental logic operationsAND,OR,and NOT are three fundamental logic operations,from which any complicated logic function can be created.5 1.2 Numbers Representation1.Decimal numbersDecimal number system has ten digits 0,1,2,3,4,5,6

    6、,7,8 and 9.It is a positional number system,which uses digits multiplied by powers of 10 that depend upon the position of the digit.10 is the base of the number system.(235)10=2102+3101+5100Ten different voltages are needed for each possible value of the digit in the decimal number system.Then elect

    7、ronic circuits will have to be designed which can accept ten different voltages and produce ten different voltages,one for each digit of the number.6 1.2 Numbers Representation2.Binary numbersBinary number system has only two digits 0 and 1.They are called bits(binary digits).2 is the base of the bi

    8、nary system.Binary number can be represented as:(110001)2=125+124+023+022+021+120Numbers can be a fraction or have a fractional part.(0.101)2=12-1+02-2+12-3The binary number system fits in well with digital systems.There are only two digits used,0 and 1,in all numbers,so only two different voltages

    9、are needed for each digit.7 1.2 Numbers Representation3.Hexadecimal and octal numbersThe positional number system using the base of 16 is called the hexadecimal number system.The 16 different numbers are 0,1,2,3,4,5,6,7,8,9,A,B,C,D,E and F.The positional number system using the base of 8 is called t

    10、he octal number system.The 8 different numbers are 0,1,2,3,4,5,6 and 7.8 1.2 Numbers Representation4.Number conversionNumbers are likely to be entered using the decimal representation,but dealt in binary within the digital systems.Therefore,there needs to be some way of converting from binary to dec

    11、imal and vice versa.Small decimal numbers can be easily converted into binary by considering the values of powers of 2.Exp1:Convert the decimal number 25 into binary.(25)10=16+8+1=10000+01000+00001=(11001)2(1)Decimal to binary9 1.2 Numbers Representation(2)Binary to decimalExp2:Convert the binary nu

    12、mber 110001 to decimal.(110001)2=125+124+023+022+021+120=(49)10(3)Binary to hexadecimalTo convert a binary number into hexadecimal is a matter of dividing the binary number into groups of four digits and converting each group into one hexadecimal digit.Exp3:Convert the binary number 110001 to hexade

    13、cimal.(110001)2=(31)1610 1.2 Numbers Representation(4)Hexadecimal to binaryExp4:Convert the hexadecimal number 1AC to binary.(1AC)16=(0001 1010 1100)2(5)Binary to octalExp5:Convert the binary number 001010011 to octal.(001010011)2=(123)8(6)Octal to binaryExp6:Convert the octal number 456 to binary.(

    14、456)8=(100 101 110)2 11 1.3 Performing arithmetic with binary numbers1.AdditionThe rules are essentially the same for decimal and binary.Pairs of digits are added together,starting with the least significant digits.When a result digit is equal to or greater than the base,a carry is generated which i

    15、s added to the next pair of digits.12 1.3 Performing arithmetic with binary numbers2.Negative numbers and subtractionBinary subtraction use the similar approach to the decimal approach of borrowing from the next column of digits.In decimal,we have to borrow a digit from the next column if the subtra

    16、hend is greater than the minuend.For implementation reasons,subtraction is usually done by the“addition of complements”.Such method can be applied to any number system.13 1.3 Performing arithmetic with binary numbersThe 2s complement of a binary number N is defined by:2s complement2n-NPositive numbe

    17、rs always start with a leading 0;Negative numbers with a leading 1.Negative numbers are represented within most digital systems and computers in 2s complement because it simplifies addition and subtraction.14 1.3 Performing arithmetic with binary numbersSubtractionTo perform subtraction of Y from X,

    18、the 2s complement of Y is formed to create Y,then we add Y to X.The method to create the 2s complement of any number is to invert the digits and add 1.1s complementInverting the digits of a binary number is called forming the 1s complement which is defined as:-X=(2n-1)-Y15 1.3 Performing arithmetic

    19、with binary numbers3.Binary-coded decimal numbersIn BCD,each decimal digit of a number is represented by a 4-bit binary code.The 4-bit codes of each digit are simply concatenated.Exp7:Represent the decimal number 2345 in BCD form.(2345)10=(0010 0011 0100 0101)BCD16 1.4 Representation of alphanumeric

    20、 symbolsApart from numbers,computers must have a way to represent letters of the alphabet and other symbols that can be entered at a keyboard or output on a display or to a printer.A standard code for alphanumeric symbols has been defined in the American Standard Coded for Information Interchange(ASCII).It defines a 7-bit code by reading the bits across the top concatenated with the bits reading down the side.17

    展开阅读全文
    提示  163文库所有资源均是用户自行上传分享,仅供网友学习交流,未经上传用户书面授权,请勿作他用。
    关于本文
    本文标题:数字设计基础双语课件(第1章).ppt
    链接地址:https://www.163wenku.com/p-3523798.html

    Copyright@ 2017-2037 Www.163WenKu.Com  网站版权所有  |  资源地图   
    IPC备案号:蜀ICP备2021032737号  | 川公网安备 51099002000191号


    侵权投诉QQ:3464097650  资料上传QQ:3464097650
       


    【声明】本站为“文档C2C交易模式”,即用户上传的文档直接卖给(下载)用户,本站只是网络空间服务平台,本站所有原创文档下载所得归上传人所有,如您发现上传作品侵犯了您的版权,请立刻联系我们并提供证据,我们将在3个工作日内予以改正。

    163文库