Introduction to Digital Systems: Modeling, Synthesis, and Simulation Using VHDL
by Mohammed Ferdjallah
PROBLEMS
2.1 What is the range of unsigned integers that can be represented by the following number of bits?
- 8
- 10
- 12
- 16
- 32
- 64
- 128
2.2 How many bits are required to represent the following unsigned integers?
- 255
- 515
- 1242
- 1978
- 2004
- 13,996
- 122,365
- 8,261,987
- 29,141,991
2.3 Convert the following unsigned binary numbers into decimal, octal, and hexadecimal numbers.
- 0.1010
- 0.0110
- 101100
- 111001
- 11000.11
- 11101.01
- 01110.101
- 10101.111
- 10110.001
- 11100001.1001
- 10101001.0101
2.4 Convert the following decimal numbers into binary, octal, and hexadecimal numbers.
- 127
- 159
- 789
- 1987
- 509.43
- 2961.72
- 4325.53
- 351.827
- 612.075
2.5 Convert the following hexadecimal numbers into binary, octal, and decimal numbers.
- 32E.15
- 1010.AA
- C0DE.02
- 11F8.99
- CAFE.45
- F0AE.4A
- EEFF.99
- 10EF.75
- BABE.01
- 2004.FEB
2.6 Compute the following unsigned binary arithmetic operations.
- 1101011 + 100111
- 1011001 + 110110
- 1000010 − 101010
- 1100001 − 110010
- 011101111 + 100011010
- 100100111 + 010110011
- 100111000 − 011010011
- 101100001 − 011110000
2.7 Compute the following signed binary numbers using one's-complement arithmetic operations.
- 011101111 + 101010001
- 101110000 + 111100101
- 011100111 + 111010011
- 110011000 − 110011101
- 011110111 − 110010011
- 101100001 − 011001100
2.8 Compute the following signed binary numbers using two's-complement arithmetic operations.
- 110111110 + 011100011
- 010110010 + 110011101
- 100100110 + 010110101
- 100100110 − 010110011
- 100111000 − 110101101
- 111000001 − 001110010
2.9 Compute the following signed hexadecimal ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access