Intro To HDL Prelim 1
Intro To HDL Prelim 1
Introduction
- Digital design is concerned with the design of digital electronics circuits. Known in other names
like Logic Design, Digital Logic, Switching Circuit and Digital Systems.
- Digital Circuits are employed in the design of systems like digital computers, control systems,
data communication and many other applications that require electronic digital hardware.
- Digital logic is the basis of electronic systems. Digital Logic is rooted in Binary Code, a series of
1 and 0 having opposite values. This system facilitates the design of electronic circuits that
convey information, including logic gates. Digital logic gates functions include and, or, and not.
The Value System translates input signal into specific output. Digital logic facilitates computing,
robotics and other electronic applications
Numeric Systems
- Numeric systems like the decimal system (Base-10) are what we use daily (0 to 9) which
are not convenient to machines or digital computers where information is bits (1 and 0) or
on and off. Codifying takes us to the necessity of knowing positional calculation which
will allow us to express a number in any base we need it.
Radix Number System
- Base of a number system or Radix defines the range of values that digit may have. To get
the conversion of base to each base divide each in their base and the remainder is the digit
System Base Symbols Used by Humans? Used in Computers?
Decimal 10 0 to 9 Yes No
Octal 8 0 to 7 No No
The Easiest way to convert fixed point numbers to any base is to convert each part
separately. We begin by separating the number into its integer and fractional division
of the numbers by base until zero obtained. At each division, the remainder is kept
and then a new number is the base r is obtained by reading the remainder from the last
remainder upwards.
The Conversion of fractional parts can be obtained by successively multiplying the
fraction with the base. If iterate this process on the remaining fraction, then obtain
successive significant digits. These methods form the basis of multiplication methods
of converting fractions between bases.
● Thus, each digit has a value: 10^0=1 for the least significant digit, increasing to
10^1=10, 10^2=100, 10^3=1000.
Octal to Decimal
● Technique
Multiply each bit by 8n, where n is weight of bit, it is the position of bit
starting on 0 in right then add result
Hexadecimal to Decimal
● Technique is same as 2 above but multiplied by 16n
Convert Hexadecimal number 4B3 to decimal notation. What about the decimal
equivalent of the hexadecimal number 4B3.3?