ECE 330 Homework 1 Spring 2011 Due: Wednesday 1/26/2011

advertisement
ECE 330
Due: Wednesday 1/26/2011
Homework 1
Spring 2011
For the following problems you must show your work for full credit (calculators will not be allowed for
tests and quizzes).
1. Show the decimal values for the following
9
a. 2 =
b. 223 =
c. 217 =
2. Perform the following base conversions.
a. Convert 4538 to its decimal representation.
b. Convert 73210 to its binary representation.
c. Convert 4538 to its hexadecimal representation.
d. Convert 74c16 to its decimal representation.
e. Convert 3d 516 to its binary representation.
3. Perform the indicated addition or subtraction.
a.
b.
135dc16
+1ac816
c.
143d816
-18cc16
d.
48e816
+86c216
27c816
-8ea16
4. If you have the following address sizes what are the corresponding address spaces?
a) 11 bits
b) 19 bits
c) 26 bits
Page 1 of 2
ECE 330
Due: Wednesday 1/26/2011
Homework 1
Spring 2011
5. If you have the following memory sizes, what should the address size be?
a) 48k bytes
b) 32k bytes of memory plus a few memory mapped devices (assume that each
device uses 16 bytes of address space).
6. How many entities can be addressed by the following address schemes?
a. 5 decimal digits
b. 3 hexadecimal digits
c. 7 octal digits
d. 9 binary digits
7. What is the unit of addressability for the Nios II processor?
8. How much memory can the Nios II processor have?
9. How many bits are in a byte?
10. For the Altera DE2 board used in the lab
a. How much SRAM memory does the Altera DE2 have?
b. How many bits are required to address this SRAM memory?
Page 2 of 2
Download