ScholarQuill logoScholarQuillUniversity Notes
  • Notes
  • Past Papers
  • Blogs
  • Todo
Login
ScholarQuill logoScholarQuillUniversity Notes
Login
NotesPast PapersBlogsTodo
More
SubjectsDiscussionCGPA CalculatorGPA CalculatorStudent PortalCourse Outline
About
About usPrivacy PolicyReportContact
Notes
Past Papers
Blogs
Todo
Analytics
    Current Subject
    🧩
    Digital Logic Design
    CC-110
    Progress0 / 63 topics
    Topics
    1. Introduction to Digital Systems2. Number Systems3. Introduction to Boolean Algebra4. Basic theorems and properties of Boolean Algebra5. Boolean Functions6. Logic Gates7. NAND and NOR Implementation8. Representation of Function in Sum of Minterms or Product of Maxterms9. Simplification of Boolean function using Karnaugh Map10. Don't care Conditions11. The Tabulation Method12. Introduction to Combinational Logic13. Design of Adders14. Design of Subtractors15. Code Convertors16. Analysis Procedure of Combinational Circuits17. Binary Parallel Adders18. Decimal Adders19. Magnitude Comparator20. Decoders and its applications21. Multiplexers22. Demultiplexers23. Encoders24. ROM25. Programmable Logic Array (PLA)26. Introduction to Sequential Circuits27. Basic Flip Flop28. Clocked RS Flip Flop29. Clocked D Flip Flop30. Clocked JK Flip Flop31. Clocked T Flip Flop32. Analysis of Clocked Sequential Circuits33. State Reduction and Assignment34. Flip Flop Excitation tables35. Design Procedure36. Design of Counters37. Design with State Equations38. Introduction to Registers39. Shift Registers40. Ripple Counters41. Synchronous Counters42. Timing Sequences43. Memory Unit44. Random Access Memory45. Introduction to Programmable Logic Devices (CPLD, FPGA)46. Lab Assignments using tools such as Verilog HDL/VHDL, MultiSim47. Familiarization with Digital Electronic Trainer48. Logic gates operations49. Half Adder Operation50. Full Adder Operation51. Half Subtractor Operation52. Full Subtractor Operation53. 7-Segment Display Operation54. Decoder Operation55. BCD To 7-Segment Display56. Multiplexer Operation57. Using Multiplexer and Demultiplexer/Decoder58. Multiplexing 7-Segment Displays59. Comparator Operations60. D Latch and Flip-Flop Operation61. Latching BCD Data for Displaying On 7-Segment Display62. JK Flip-Flop Operation63. Random Access Memories
    CC-110›Number Systems
    Digital Logic DesignTopic 2 of 63

    Number Systems

    8 minread
    1,382words
    Intermediatelevel

    Number systems are a way of expressing numbers in different notations based on different bases. In the context of digital logic design and computing, number systems are used to represent data and instructions in a format that computers can understand. The primary number systems commonly used are the binary, decimal, octal, and hexadecimal systems.

    1. Binary Number System (Base 2)

    The binary system is the most fundamental number system in digital electronics, as it is directly related to the binary states of electrical signals (on/off, high/low, true/false, etc.). It uses two digits: 0 and 1, representing the two possible states in digital circuits.

    • Representation:

      • Each digit in a binary number is called a bit (binary digit).
      • Binary numbers are based on powers of 2. For example:
        • 10112=(1×23)+(0×22)+(1×21)+(1×20)=8+0+2+1=11101011_2 = (1 \times 2^3) + (0 \times 2^2) + (1 \times 2^1) + (1 \times 2^0) = 8 + 0 + 2 + 1 = 11_{10}10112​=(1×23)+(0×22)+(1×21)+(1×20)=8+0+2+1=1110​.
      • Binary numbers are used internally by almost all modern computers and computer-based devices because digital circuits can easily implement binary logic.
    • Example:

      • Binary 1101 represents 1×23+1×22+0×21+1×20=8+4+0+1=13101 \times 2^3 + 1 \times 2^2 + 0 \times 2^1 + 1 \times 2^0 = 8 + 4 + 0 + 1 = 13_{10}1×23+1×22+0×21+1×20=8+4+0+1=1310​ in decimal.

    2. Decimal Number System (Base 10)

    The decimal system is the standard system for denoting integer and non-integer numbers. It is the number system most commonly used by humans for everyday counting and calculation. The decimal system is base 10, which means it uses ten digits: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9.

    • Representation:

      • Each digit in a decimal number represents a power of 10. For example:
        • 34510=(3×102)+(4×101)+(5×100)=300+40+5=345345_{10} = (3 \times 10^2) + (4 \times 10^1) + (5 \times 10^0) = 300 + 40 + 5 = 34534510​=(3×102)+(4×101)+(5×100)=300+40+5=345.
    • Example:

      • Decimal 157 represents 1×102+5×101+7×100=100+50+7=1571 \times 10^2 + 5 \times 10^1 + 7 \times 10^0 = 100 + 50 + 7 = 1571×102+5×101+7×100=100+50+7=157.

    3. Octal Number System (Base 8)

    The octal system uses eight digits: 0, 1, 2, 3, 4, 5, 6, 7. It is often used as a shorthand for binary numbers, as each octal digit corresponds to exactly three binary digits (bits).

    • Representation:

      • Each octal digit represents a power of 8. For example:
        • 2578=(2×82)+(5×81)+(7×80)=128+40+7=17510257_8 = (2 \times 8^2) + (5 \times 8^1) + (7 \times 8^0) = 128 + 40 + 7 = 175_{10}2578​=(2×82)+(5×81)+(7×80)=128+40+7=17510​.
      • Octal is often used in computing to represent groups of binary digits because it's more compact than writing long binary numbers.
    • Example:

      • Octal 143 represents 1×82+4×81+3×80=64+32+3=99101 \times 8^2 + 4 \times 8^1 + 3 \times 8^0 = 64 + 32 + 3 = 99_{10}1×82+4×81+3×80=64+32+3=9910​.

    4. Hexadecimal Number System (Base 16)

    The hexadecimal system is a base 16 number system, using 16 symbols: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F. The letters A through F represent the values 10 through 15, respectively. Hexadecimal is frequently used in computing as a more compact way of expressing binary numbers. Every four binary digits can be represented by one hexadecimal digit.

    • Representation:

      • Each hexadecimal digit represents a power of 16. For example:
        • 1A316=(1×162)+(10×161)+(3×160)=256+160+3=419101A3_{16} = (1 \times 16^2) + (10 \times 16^1) + (3 \times 16^0) = 256 + 160 + 3 = 419_{10}1A316​=(1×162)+(10×161)+(3×160)=256+160+3=41910​.
    • Example:

      • Hexadecimal 2F4 represents 2×162+15×161+4×160=512+240+4=756102 \times 16^2 + 15 \times 16^1 + 4 \times 16^0 = 512 + 240 + 4 = 756_{10}2×162+15×161+4×160=512+240+4=75610​.

    5. Converting Between Number Systems

    Converting between different number systems is an essential skill in digital logic design. Below are the general steps for converting between commonly used number systems:

    • Binary to Decimal:

      • Multiply each bit of the binary number by the corresponding power of 2 and sum them up.
    • Decimal to Binary:

      • Divide the decimal number by 2, noting the remainder. Continue dividing the quotient by 2 until you reach 0, then read the remainders in reverse order.
    • Binary to Hexadecimal:

      • Group the binary digits in sets of four (starting from the right). Convert each group into its hexadecimal equivalent.
    • Hexadecimal to Binary:

      • Convert each hexadecimal digit into its 4-bit binary equivalent.
    • Binary to Octal:

      • Group the binary digits in sets of three (starting from the right). Convert each group into its octal equivalent.
    • Octal to Binary:

      • Convert each octal digit directly into its 3-bit binary equivalent.

    6. Applications of Number Systems in Digital Logic Design

    • Memory and Storage: Digital systems use binary representations to store and retrieve information. For example, data in memory is stored in binary format, and addresses are often represented in hexadecimal for simplicity.
    • Arithmetic Operations: Digital circuits like adders, subtractors, multipliers, and dividers perform arithmetic operations on binary numbers.
    • Instruction Encoding: In processors, instructions are encoded in binary, and higher-level programming languages are eventually translated into binary code for execution.
    • Display Systems: Hexadecimal and binary are often used to represent and manipulate data in various display systems, such as LEDs or 7-segment displays, in digital circuits.

    In conclusion, understanding number systems is crucial in digital logic design because these systems form the basis for data representation, processing, and storage in digital circuits and computers. Conversions between these systems allow efficient representation of information and are integral to tasks such as programming, debugging, and hardware design.

    Previous topic 1
    Introduction to Digital Systems
    Next topic 3
    Introduction to Boolean Algebra

    Past Papers

    Open this section to load past papers

    Click on Show Past Papers to see past papers.
    On This Page
      Reading Stats
      Est. reading time8 min
      Word count1,382
      Code examples0
      DifficultyIntermediate