S10.4.1 Memory Bandwidth Budget

MediumImplement22 minIcarus Verilog · serverReview the topic

Decide whether two streams fit after unavailable slots and a competing reader take their share.

Hardware context: Controller and PHY timing model. Memory subsystem bring-up

Your exercise controller has two independent 16-bit channels running at 3000 MT/s per pin. Each channel has two ranks sharing its wires.

This worksheet uses named constants. The first three entries show how to record your decisions.

Signals in the Timeline

SignalWidthRole
question8input of each check
Full specification

Use decimal GB/s and MB/s. Payload occupies 75 percent of all transfer slots across the two channels.

The display takes 2 GB/s of that payload capacity. A camera wants 8 GB/s. A single 24-byte burst stays on one channel.

First data follows 7 ns of queueing, 5 ns of refresh blocking and 14 ns of device delay.

EntryYour decision
BYTESBytes per transfer on one channel.
PORTSIndependent data paths across both ranks and channels.
RAW_ONEPeak GB/s on one channel.
RAW_ALLAggregate peak GB/s.
PAYLOADAggregate useful GB/s.
AVAILABLEUseful GB/s remaining for the camera.
SHORTFALLUnserved camera demand in GB/s.
FIRSTLatency to first data in ns.
WIREDuration of the burst on its channel in ns.
FINISHTime from request to end of burst in ns.
ADMITSEnter 1 if the full camera fits with DISPLAY GB/s reserved, else 0.

Examples

Example 1

BYTES
Input
Bytes per transfer on one channel.
Output
bytes = 2

Sixteen bits carry two bytes.

Example 2

PORTS
Input
Independent data paths across both ranks and channels.
Output
ports = 2

Each channel supplies one path.

Example 3

RAW ONE
Input
Peak GB/s on one channel.
Output
raw_one = 6

Two bytes times three billion transfers per second gives six GB/s.

Constraints and Contract

  • Keep the parameter and named constants. Use the numeric codes and units on this page.
  • For ADMITS, enter a constant expression using DISPLAY. Only this entry changes with the parameter. The supported integer range is 0 through 9, inclusive.

Hints

Hint 1

Count the bits that can move together.

Hint 2

Apply utilization once across the budget.

Hint 3

Try a display reservation exactly at the limit.

What the grader checks: Each check compares the full eight-bit answer. Parameter trials change one condition and keep the other decisions fixed.

14 checks on Icarus Verilog · server. Run the examples first, then check the full regression. Full checks use the server judge. Downloads contain your source only; samples require the simulation service. A passing result establishes the tested cases, not a proof for all possible inputs.

See all 2 problems on this path

Report a problem with this page

Your code SystemVerilogSaved locally
Ln 1, Col 1Tab indents · Ctrl/⌘ + Enter runs samples
Not run yet

BYTES

Input
Bytes per transfer on one channel.
Expected output
bytes = 2

Sixteen bits carry two bytes.

Run samples executes all 3 public checks. Check all tests runs 14 checks on the server.

Icarus Verilog · server