Question

In: Computer Science

Consider the following hypothetical microprocessor. Assume this processor uses 32-bit instructions. Assume the 32 bits are...

Consider the following hypothetical microprocessor. Assume this processor uses 32-bit instructions. Assume the 32 bits are composed of an opcode of 7 bits and an address of 25 bits. Answer the questions below.

  1. What is the memory capacity (in Bytes)? Show your work and give your final answer in megabytes (MB).
    1. Consider the following address and data bus widths, and discuss their impact on system speed.
    1. Local address bus width of 32 bits, and a local data bus width of 8 bits.
    2. Local address bus width of 8 bits, and a local data bus width of 8 bits.

Solutions

Expert Solution

Instruction size = 32 bits

Opcode = 7 bits

Address = 25 bits

(a) Maximum addressable memory capacity = 225 Bytes = 32 Megabytes

(b) Impact on system speed with different specifications:

(i) Local address bus width = 32 bits

Local data bus width = 8 bits

-- As the local address bus width is 32 bits, so we can decode and use the entire address at once.

-- As the data bus width is 8 bits so 4 cycles are required to fetch 32 bit operand and access the memory.

(ii) Local address bus width = 8 bits

Local data bus width = 8 bits

-- As the address bus width is 8 bits so 4 cycles are required to fetch 32 bit instruction and access the memory.

-- As the data bus width is 8 bits so 4 cycles are required to fetch 32 bit operand and access the memory.

-- So, total 8 cycles are required to fetch the 32 bit data; 4 for address and the remaining 4 for data.

-- The memory interface will be complex due to these eight cycles.

Hope this helps.


Related Solutions

For a direct mapped cache design with 32 bit address, the following bits of the address...
For a direct mapped cache design with 32 bit address, the following bits of the address are used to access the cache Tag Index Offset 31 - 8 7 - 4 3 - 0 What is the cache block size (in words)? How many entries does the cache have? What is the ratio between total bits required for such a cache implementation over the data storage bits? Starting from power on, the following byte-addressed cache references are recorded. Address 0...
1. A hypothetical computer stores 12 bits of information. The first bit is used for the...
1. A hypothetical computer stores 12 bits of information. The first bit is used for the sign of the number; the second bit is used for the sign of the exponent. Four bits are used for the magnitude of the exponent and six bits are used for the magnitude of the mantissa. a. Represent the number -147.32 in Binary scientific notation b. How would the number be represented in the computer? c. Calculate the true error and absolute relative true...
IEEE 754 format of 32-bit floating-point is as follows. 1 8 (bits) 23 (bits) What’s stored...
IEEE 754 format of 32-bit floating-point is as follows. 1 8 (bits) 23 (bits) What’s stored in each region? What’s the bias value and how to get it? For decimal fraction: – 0.625, please represent it as given format (Note: you must show the specific procedure/stepsin order to get full credits. If you only present final result directly, you will only get half of the credits even if it is correct.).  
Give an example of the pair of assembler instructions equivalent to a push using 32 bit...
Give an example of the pair of assembler instructions equivalent to a push using 32 bit ISA.
A 64 bit computer uses a memory of 32KB. Work out the number of bits of...
A 64 bit computer uses a memory of 32KB. Work out the number of bits of AR, DR, PC, AC, and the HEX code of the address of last memory location. b) The memory attached to a processor has access time of 400ns. When a cache memory is introduced in the system, it is found that on average the access time for the computer was 30% greater than the cache access time for a miss ratio of 0.10. Work out...
7-bit float to fraction Consider a 7-bit float representation with 3 exponent bits. that k is...
7-bit float to fraction Consider a 7-bit float representation with 3 exponent bits. that k is the number of exponent bits, and the bias is computed as 2k-1-1. For each problem, convert the given float value (provided as a series of bits) into the equivalent base 10 fraction. Simplify each fraction as much as possible. If there is a whole number part and a fractional part, put a space between them. Here are some example values in the correct format:...
Convert the following decimal numbers to 32-bit IEEE floating point: 86.59375 -1.59729 Convert the following 32-bit...
Convert the following decimal numbers to 32-bit IEEE floating point: 86.59375 -1.59729 Convert the following 32-bit IEEE floating point numbers to decimal: 0100 1100 1110 0110 1111 1000 0000 0000 1011 0101 1110 0110 1010 0110 0000 0000
Assume that we are executing the following code on a 32-bit machine using two’s complement arithmetic...
Assume that we are executing the following code on a 32-bit machine using two’s complement arithmetic for signed integers. Which of the following will be printed when the following code is executed (circle those printed, and show work; e.g., how the values are stored): #include <stdio.h> int main() { char x = 0xF;                // x = ________ char y = -1;                 // y = ________ unsigned char z = 0xFF;      // z = 11111111        if (x<z)     printf("performed unsigned compare,...
Consider a binary channel transmitting bits independently. Each bit is demodulated with a 0 corresponding to...
Consider a binary channel transmitting bits independently. Each bit is demodulated with a 0 corresponding to 0 volts and a 1 corresponding to 5 volts. Thus, the received random variable v is normally distributed with variance σ2 = 1 and mean μ = 0 or μ = 5. The demodulated voltage v is compared to a threshold τ to decide whether a bit is a 0 or 1, i.e., decide that a 1 was sent if v > τ and...
Assume that a hypothetical economy with an MPC of 0.9 is experiencing severe recession. Instructions: In...
Assume that a hypothetical economy with an MPC of 0.9 is experiencing severe recession. Instructions: In part a, round your answers to 2 decimal places. Enter positive numbers. In part b, enter your answers as whole numbers. a. By how much would government spending have to rise to shift the aggregate demand curve rightward by $40 billion? $ billion. How large a tax cut would be needed to achieve the same increase in aggregate demand? $ billion. b. Determine one...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT