ScholarQuill logoScholarQuillUniversity Notes
My Semester
Explore Notes
Past Papers12 New
Video CoursesNew
Search
Settings
Study Tools
GPA/CGPA Calculator
Schedule & To-Do
Student Portal
Contact
Contact
ScholarQuill logo
My Semester
Explore Notes
Past Papers12 New
Video CoursesNew
Search
Settings
GPA/CGPA Calculator
Schedule & To-Do
Student Portal
Contact
ScholarQuill logoScholarQuillUniversity Notes
Study PortalCC-110Number Systems
Ctrl + K
Login
Explore
Search
Semester
Papers
CGPA
    CC-110

    Digital Logic Design

    Progress0 / 63 done
    Topics63
    1Introduction to Digital Systems2Number Systems3Introduction to Boolean Algebra4Basic theorems and properties of Boolean Algebra5Boolean Functions6Logic Gates7NAND and NOR Implementation8Representation of Function in Sum of Minterms or Product of Maxterms9Simplification of Boolean function using Karnaugh Map10Don't care Conditions11The Tabulation Method12Introduction to Combinational Logic13Design of Adders14Design of Subtractors15Code Convertors16Analysis Procedure of Combinational Circuits17Binary Parallel Adders18Decimal Adders19Magnitude Comparator20Decoders and its applications21Multiplexers22Demultiplexers23Encoders24ROM25Programmable Logic Array (PLA)26Introduction to Sequential Circuits27Basic Flip Flop28Clocked RS Flip Flop29Clocked D Flip Flop30Clocked JK Flip Flop31Clocked T Flip Flop32Analysis of Clocked Sequential Circuits33State Reduction and Assignment34Flip Flop Excitation tables35Design Procedure36Design of Counters37Design with State Equations38Introduction to Registers39Shift Registers40Ripple Counters41Synchronous Counters42Timing Sequences43Memory Unit44Random Access Memory45Introduction to Programmable Logic Devices (CPLD, FPGA)46Lab Assignments using tools such as Verilog HDL/VHDL, MultiSim47Familiarization with Digital Electronic Trainer48Logic gates operations49Half Adder Operation50Full Adder Operation51Half Subtractor Operation52Full Subtractor Operation537-Segment Display Operation54Decoder Operation55BCD To 7-Segment Display56Multiplexer Operation57Using Multiplexer and Demultiplexer/Decoder58Multiplexing 7-Segment Displays59Comparator Operations60D Latch and Flip-Flop Operation61Latching BCD Data for Displaying On 7-Segment Display62JK Flip-Flop Operation63Random Access Memories
    8 min read
    Topic 2 of 63
    Topic Study Note Illustration
    02

    Number Systems

    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...

    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 view and download past papers

    Click on Show Past Papers to load available exam papers.

    Reading Progress
    0%
    8mremaining
    1.4kwords
    Intermediatelevel
    On This Page

    No headings found

    Study Toolkit

    Subject Portal

    Digital Logic Design