Digital Logic · Arithmetic units and datapath composition
A processor is byte-addressable, has a 20-bit byte address A₁₉…A₀, and has a 32-bit…
Problem
Digital Logic practice problemA processor is byte-addressable, has a -bit byte address , and has a -bit data bus. It performs only aligned -bit word transfers. Main memory consists of words of bits.
(a) Show that the memory contains exactly bytes, and therefore that the -bit byte address is necessary and sufficient.
(b) For byte address , give the -bit word index as a hexadecimal value and the -bit byte offset .
(c) State whether is an aligned word address. Give the nearest aligned word addresses immediately below and immediately above it.
(d) If the memory is built from SRAM chips, determine the number of chips required.
Hint
HintA -bit word occupies four byte addresses; the word index is the byte address with the two low bits removed.
Check your work
Work the problem yourself first. Then open it in Training to check your answer and read the full worked solution.
The answer check and full solution for this problem come with ProofAnvil Practice membership ($19 USD monthly). See membership. Or start with the free Digital Logic sample problem: Try the free sample problem.
More Digital Logic practice problems
- The unsigned binary quantity N=1101011.1011₂ is givenBoolean algebra and combinational logic
- An 8-bit two's-complement Q4.4 format uses four bits to the left of the binary point…Boolean algebra and combinational logic
- A 4-bit input ABCD is interpreted as an unsigned binary integer N=8A+4B+2C+DLogic minimization and hazards
- Even parity on a bit string means that the total number of 1s, counting an appended…Logic minimization and hazards
- A 4-to-2 priority encoder has request inputs I₃,I₂,I₁,I₀, binary outputs A₁,A₀, and a…Latches, flip-flops, and sequential circuits
- A D latch has enable C and data DLatches, flip-flops, and sequential circuits
- A 4-bit synchronous binary up-counter is built from four falling-edge-triggered JK…Finite-state-machine design
- Adjacent stages of a shift register are rising-edge-triggered D flip-flops with Qᵢ…Finite-state-machine design
- A synchronous Moore handshake controller has states IDLE, LOAD, WAIT, and ACKED, inputs…Arithmetic units and datapath composition