电子科技大学:《VHDL语言与数字集成电路设计》数字逻辑2-3

Codes in binary system BCD codes: for decimal digit; Gray code: for numbers in binary system; AsCII code: for characters; Key point Use n bits, we can make 2n different words; To make n code-words you must use log, n bits
Codes in binary system BCD codes: for decimal digit; Gray code: for numbers in binary system; ASCII code: for characters; Key point : Use n bits, we can make 2n different words; To make n code-words, you must use bits. log 2 n

BCD codes Binary codes for decimal digits Table 2-9) Decimal digit BCD(8421) 2421 Excess-3 Biquinary 1-out-of-10 0 0000 0000 0011 0100001 1000000000 0001 0001 0100 0100010 0100000000 0010 10 0100100 0010000000 oOlI 0110 0101000 0001000000 0100 0110000 0000100000 0101 1000 1000001 0000010000 6 0l10 1100 1000010 0000001000 1101 1010 1000100 0000000100 1000 110 1011 1001000 0000000010 l001 I10 1010000 000000000l Unused code words 010 0l01 0000 0000000 0000000000 0110 0001 0000001 1100 0010 0000010 0000000101 110l 1000 l101 0000011 0000000110 l110 1001 0000101 0000000111 1010
BCD codes Binary codes for decimal digits ( Table 2-9 )

BCD codes Express 10 digit(0-9): use 4 or more bits, many different way for coding Decimal digit BCD(8421) 8421 code 0000 0123 Natural code, just la ke 4-bit 0001 0010 binary numbers 0100 0101 Each digit is weighted 0110 6789 0111 It has 10 valid code words 000 1001 and 6 invalid code words
BCD codes Express 10 digit ( 0—9) : use 4 or more bits, many different way for coding 8421 code Natural code , just lake 4-bit binary numbers; Each digit is weighted; It has 10 valid code words and 6 invalid code words

BCD codes 2421 codes Decimal digit 2421 Each digit is weighted 0000 0123 0001 Self-complementing 0010 Use Msb to express 0100 1011 higher/lower part 1100 It has 10 valid codes and 110 6 invalid codes
BCD codes Each digit is weighted; Self-complementing; Use MSB to express higher/lower part; It has 10 valid codes and 6 invalid codes. 2421 codes

BCD codes Excess-3 code Decimal digit Excess-3 0 0100 Its digit is not weighted; 010l 0110 Self-complementing 3456789 01l1 1000 1001 8421code+“0011 1010 1011
BCD codes Excess-3 code Its digit is not weighted; Self-complementing ; 8421 code + “0011”

BCD codes 1-out-of-10 code Decimal digit 1-out-of-10 1000000000 0100000000 One hot code 0010000000 0001000000 It is very useful in 0000100000 0000010000 567 0000001000 control systems 0000000100 0000000010 0000000001
BCD codes 1-out-of-10 code One hot code; It is very useful in control systems

BCD codes Examples: use bcd code for decimal numbers a=19, 46 8421code:A=00011001.01000110 2421code:A=00011111.01001100 Excess-3code:A=01001100.01111001 Key point Each decimal digit is coded by a 4-bits string
BCD codes Examples: use BCD code for decimal numbers A = 19.46 8421 code : A = 0001 1001. 0100 0110 2421 code : A = 0001 1111. 0100 1100 Excess-3 code: A = 0100 1100. 0111 1001 Key point Each decimal digit is coded by a 4-bits string!

BCD codes Biquinary code: 7-bits first 2 bits for higher/lower range last 5 bits is one hot code in the range error-detecting property
BCD codes Biquinary code : 7-bits; first 2 bits for higher/lower range; last 5 bits is one hot code in the range. error-detecting property !

G ray codes Target: 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 codes Target: 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

G ray codes From binary number to gray code The length is same the msb is same; From left to right, if a bit in binary system is same as its left bit, the gray code is 0, if it is different, the gray code is 1 Examples: binary number: 10010010 01100011 Gray codes: 1101101101010010
Gray codes From binary number to Gray code The length is same, the MSB is same; From left to right, if a bit in binary system 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 0010
按次数下载不扣除下载券;
注册用户24小时内重复下载只扣除一次;
顺序:VIP每日次数-->可用次数-->下载券;
- 电子科技大学:《VHDL语言与数字集成电路设计》数字逻辑2-2.ppt
- 电子科技大学:《VHDL语言与数字集成电路设计》数字逻辑2-1.ppt
- 电子科技大学:《VHDL语言与数字集成电路设计》数字逻辑1-1.ppt
- 电子科技大学:《VHDL语言与数字集成电路设计》VHDL作业安排.doc
- 电子科技大学:《VHDL语言与数字集成电路设计》第九章 用户定义数据类型.ppt
- 电子科技大学:《VHDL语言与数字集成电路设计》第八章 VHDL的构造体:architecture.ppt
- 电子科技大学:《VHDL语言与数字集成电路设计》第七章 VHDL硬件描述语言.ppt
- 电子科技大学:《VHDL语言与数字集成电路设计》第六章 逻辑综合.ppt
- 电子科技大学:《VHDL语言与数字集成电路设计》第五章 数字集成电路的设计流程.ppt
- 电子科技大学:《VHDL语言与数字集成电路设计》第四章 数字集成电路的设计流程.ppt
- 电子科技大学:《VHDL语言与数字集成电路设计》第三章 数字集成电路的设计形式.ppt
- 电子科技大学:《VHDL语言与数字集成电路设计》第二十章 VHDL 与 Verilog HDL 的对比.ppt
- 电子科技大学:《VHDL语言与数字集成电路设计》第二章 数字集成电路的结构特点.ppt
- 电子科技大学:《VHDL语言与数字集成电路设计》第十九章 存储器模块的VHDL设计.ppt
- 电子科技大学:《VHDL语言与数字集成电路设计》第十八章 有限状态机FSM的设计.ppt
- 电子科技大学:《VHDL语言与数字集成电路设计》第十七章 时序运算模块的ⅥHDL设计.ppt
- 电子科技大学:《VHDL语言与数字集成电路设计》第十六章 组合运算模块的ⅥHDL设计.ppt
- 电子科技大学:《VHDL语言与数字集成电路设计》第十五章 数字电路模块的VHDL设计.ppt
- 电子科技大学:《VHDL语言与数字集成电路设计》第十四章 VHDL中的资源:库和包集合.ppt
- 电子科技大学:《VHDL语言与数字集成电路设计》第十三章 VHDL中的子结构.ppt
- 电子科技大学:《VHDL语言与数字集成电路设计》数字逻辑3-1.ppt
- 电子科技大学:《VHDL语言与数字集成电路设计》数字逻辑3-2.ppt
- 电子科技大学:《VHDL语言与数字集成电路设计》数字逻辑3-3.ppt
- 西安电子科技大学:《光纤通信》课程电子教案(PPT课件)第1章 概论.ppt
- 西安电子科技大学:《光纤通信》课程电子教案(PPT课件)第2章 光纤和光缆.ppt
- 西安电子科技大学:《光纤通信》课程电子教案(PPT课件)第3章 通信用光器.ppt
- 西安电子科技大学:《光纤通信》课程电子教案(PPT课件)第4章 光端机.ppt
- 西安电子科技大学:《光纤通信》课程电子教案(PPT课件)第5章 数字光纤通信系统.ppt
- 西安电子科技大学:《光纤通信》课程电子教案(PPT课件)第6章 模拟光纤通信系统.ppt
- 中国矿业大学:《数字电子技术》课程教学资源(PPT课件讲稿)第一章 数制与编码.ppt
- 中国矿业大学:《数字电子技术》课程教学资源(PPT课件讲稿)第三章 逻辑门电路.ppt
- 中国矿业大学:《数字电子技术》课程教学资源(PPT课件讲稿)第九章 半导体存储器.ppt
- 中国矿业大学:《数字电子技术》课程教学资源(PPT课件讲稿)第二章 逻辑代数基础.ppt
- 中国矿业大学:《数字电子技术》课程教学资源(PPT课件讲稿)第五章 集成触发器.ppt
- 中国矿业大学:《数字电子技术》课程教学资源(PPT课件讲稿)第八章 脉冲波形的产生与整形.ppt
- 中国矿业大学:《数字电子技术》课程教学资源(PPT课件讲稿)第六章 时序逻辑电路.ppt
- 中国矿业大学:《数字电子技术》课程教学资源(PPT课件讲稿)第十章 模数和数模转换.ppt
- 中国矿业大学:《数字电子技术》课程教学资源(PPT课件讲稿)第四章 组合逻辑电路.ppt
- 中国矿业大学:《数字电子技术》课程教学资源(PPT课件讲稿)绪论(曹国清).ppt
- 南京邮电大学:《信号与系统》课程教学资源(PPT课件)第一章 信号与系统的基本概念(沈元隆、周井泉).ppt