数字逻辑2-3n.ppt

上传人(卖家):saw518 文档编号:5714351 上传时间:2023-05-05 格式:PPT 页数:15 大小:239KB
下载 相关 举报
数字逻辑2-3n.ppt_第1页
第1页 / 共15页
数字逻辑2-3n.ppt_第2页
第2页 / 共15页
数字逻辑2-3n.ppt_第3页
第3页 / 共15页
数字逻辑2-3n.ppt_第4页
第4页 / 共15页
数字逻辑2-3n.ppt_第5页
第5页 / 共15页
点击查看更多>>
资源描述

1、Chapter 2 Number systems and codes u Decimal and Binary u Unsigned and Signed u Code for Numbers and CharactersCodes in binary systemWord:a digital string to represent an object;Use n bits,we can make 2n different words;To make n different words,you must use bits.n2logBinary codes for decimal digits

2、:use 4 or more bits express 10 digit(09)8421 code2421 codes Excess-3 codeBiquinary code 1-out-of-10 codeBCD codesBCD codesBinary codes for decimal digits (Table 2-9)8421 codeNatural code,just lake 4-bit binary numbers;Each digit is weighted;It has 10 valid code words and 6 invalid code words.BCD cod

3、esEach digit is weighted;Self-complementing;Use MSB to express higher/lower part;It has 10 valid codes and 6 invalid codes.2421 codesBCD codesBCD codesExcess-3 codeIts digit is not weighted;Self-complementing;8421 code+“0011”.Examples:use BCD code for decimal numbers A=19468421 code :A=0001 1001 010

4、0 01102421 code :A=0001 1111 0100 1100Excess-3 code:A=0100 1100 0111 1001 BCD codes1-out-of-10 codeOne hot code:It is very useful in control systems.BCD codesBCD codesBiquinary code 7-bits;two hot code;First 2 bits is one hot code for higher/lower range;Last 5 bits is one hot code in the range.Error

5、-detecting property!Gray codesTarget:code for continues changed numbers(in binary system)to prevent wrong code happened in transition time;Property:In each pair of successive code words,only one bit changes.Gray codesFrom binary number to Gray code The width is same,the MSB is same;From left to righ

6、t,if a bit in binary number is same as its left bit,the gray code is 0,if it is different,the gray code is 1.Examples:binary number:1001 0010 0110 0011 Gray codes:1101 1011 0101 0010Codes for charactersCharacter codes:ASCII,7-bits string,128 code words;(p.54 Table 2-11)Example:How are you!1001000 11

7、01111 1110111 0100000 1100001 1110010 1100101 0100000 1111001 1101111 1110101 0100001 Codes for other thingsCodes for actions,conditions or states:Use n bits,we can make 2n different words;To make n different words,we must use bits.p.55 Table 2-12n2logCodes transmit way in digital circuitParallel codes use n-line to transmit an n-bits code words;transmit an n-bits code words in one time period;Serial codes use one line to transmit an n-bits code words;transmit an n-bits code words in n time period;

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 办公、行业 > 各类PPT课件(模板)
版权提示 | 免责声明

1,本文(数字逻辑2-3n.ppt)为本站会员(saw518)主动上传,163文库仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。
2,用户下载本文档,所消耗的文币(积分)将全额增加到上传者的账号。
3, 若此文所含内容侵犯了您的版权或隐私,请立即通知163文库(发送邮件至3464097650@qq.com或直接QQ联系客服),我们立即给予删除!


侵权处理QQ:3464097650--上传资料QQ:3464097650

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


163文库-Www.163Wenku.Com |网站地图|