Docsity

Binary Systems-Digital Logic Design-Lecture Slides, Slides of Digital Logic Design and Programming

Partial preview of the text

Download Binary Systems-Digital Logic Design-Lecture Slides and more Slides Digital Logic Design and Programming in PDF only on Docsity!

FHN_DLD_CASE_SU08Binary Systems

Digital Logic Design

One Binary Systemsdocsity.com

FHN_DLD_CASE_SU08Binary Systems

zAnalog system zDigital system

docsity.com

FHN_DLD_CASE_SU08Binary Systems Digital System zUses discrete voltage levels to representthe signal zUsually two voltage levels: one near 0Vand other near some higher value like 5V

docsity.com

FHN_DLD_CASE_SU08Binary Systems Number Systems zDecimal zBinary zOctal zHexadecimal

docsity.com

FHN_DLD_CASE_SU08Binary Systems Conversion from base r to decimal

docsity.com

FHN_DLD_CASE_SU08Binary Systems Decimal System z^ Radix or base 10 z^ 10 digits (0,1,2,…9) z^ Coefficients are multiplied by powers of 10 z^ Example:

docsity.com

FHN_DLD_CASE_SU08Binary Systems Hexadecimal (base-16) to decimal system z^ Radix or base 16 z^ 16 digits (0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F) z^ Coefficients are multiplied by powers of 16 z^ Example:

docsity.com

FHN_DLD_CASE_SU08Binary Systems Binary (base-2) to decimal System z^ Radix or base 2 z^ 2 digits (0,1) z^ Coefficients are multiplied by powers of 2 z^ Example:

docsity.com

FHN_DLD_CASE_SU08Binary Systems Conversion from decimal to base r

docsity.com

FHN_DLD_CASE_SU08Binary Systems Convert Decimal to Binary (Integer Part) Example: 50^ (divide by 2)

docsity.com

FHN_DLD_CASE_SU08Binary Systems Convert Decimal to Binary (Integer andfraction ) Example: Task: (41)^ to (bbbb)^10

2 (0.6875)^ to (bbbb)^10

2 (41.6875)^ to (bbbb)^10

2 (101001.1011) to (ddd)

(101001)^2 (0.1011)^2 (101001.1011)^2

docsity.com

FHN_DLD_CASE_SU08Binary Systems Octal and hexadecimal numbers

docsity.com

  • Convert from Decimal to Octal and back z Example: (120)to (ooo)^10
    • divide by
      • (170)to (ddd)^8
      • multiply by powers of
        • (0.521)to (ooo)^10
        • mulitply by
          • (0.4126…)to (ddd)
          • multiply by powers of
  • Convert from Decimal to Hexadecimaland back Example: (450)to (hhh)^10 FHN_DLD_CASE_SU08Binary Systems
    • divide by
      • (1C2)to (ddd)^16
      • multiply by powers of
        • (0.521)to (hhh)^10
        • mulitply by
          • (0.8560…)to (ddd)
          • multiply by powers of

FHN_DLD_CASE_SU08Binary Systems Why octal and hexadecimal ??^3 4 z^2 = 8 and 2^ =16 z3 digits required for octal z4 digits required for hexadecimal^ (10 110 001 101 011.111 100 000 110)

=(26153.7406)^28 2 6 1 5 3 7

4 0 6 (10 1100 0110 1011.1111 0000 0110)

=(2C6B.F06)^2 2 C^6 B^ F^

0 6

docsity.com