Hardware interview practice
Floorplan a four-bank SRAM subsystem
A block contains four SRAM macros, request arbitration, address decode, and one output mux. Design a block floorplan and explain the timing, routing, and power trade-offs.
Starting point
Question code
4 equal SRAM macros
central request arbiter
address decoder
4-to-1 output mux
shared clock/reset
block power gridReviewed example
Work through one case
Input
Case 1: Use a 2×2 macro arrangement with a central channel
Case 2: Place every output pin away from the mux
Case 3: Make the channel too narrow for signals plus power strapsExpected output
Case 1: address distribution is regular
Case 2: the return-data path grows and the floorplan is rejected
Case 3: flag the issue before placementThe shown result follows by applying this rule: The floorplan is physically routable, not just a logical block diagram. The cases also demonstrate this requirement: State one trade-off among macro proximity, wire delay, congestion, power-grid continuity, and usable placement area.
What to cover
Requirements
- Place macros regularly with pins facing nearby decode/mux logic where the macro pinout permits.
- Reserve routing channels and continuous power straps; avoid narrow notches and blocked pin access.
- Identify the address/control spine, clock/reset distribution, and the output-mux path as timing/congestion risks.
- State one trade-off among macro proximity, wire delay, congestion, power-grid continuity, and usable placement area.
