S4.10.1 Pick the Bus for Five Blocks

EasyImplement12 minIcarus Verilog · serverReview the topic

Choose a port for five proposed blocks under a fixed integration budget.

Hardware context: Three single-word register interfaces. Peripheral subsystem design

These are design tickets. Use the simplest native interface that meets every requirement. The three worked tickets come from an earlier subsystem. Make the next five choices for the new blocks.

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

The available ports are APB (1), AHB-Lite (2), AXI4-Lite (3), AXI4 (4), AXI-Stream (5) and CHI (6). A converter costs more than a native connection in this exercise.

EntryYour decision
REGA watchdog reload register sits behind an APB bridge. Which port avoids a converter?
PIPEA debug RAM must accept the next AHB-Lite address during the preceding data phase.
LITEA reset-cause register must connect directly to an existing AXI4-Lite manager.
ALARMAn alarm has one register and sits on the existing APB branch.
FETCHA ROM must plug directly into the existing AHB-Lite instruction port.
TRACEA trace encoder emits a framed sequence without addresses. Its sink can stall.
COPYA copier needs addressed bursts and multiple transaction IDs.
KNOBA tuning register plugs into a native AXI4-Lite control port.
CACHE_PORTThe copier gains a cached cluster. Use the COPY choice for SNOOP=0. For 1 require hardware snoops over a native coherent port.

Examples

Example 1

REG
Input
A watchdog reload register sits behind an APB bridge. Which port avoids a converter?
Output
value = 1

A write goes straight from the existing bridge to the reload register. APB has code 1.

Example 2

PIPE
Input
A debug RAM must accept the next AHB-Lite address during the preceding data phase.
Output
value = 2

The native pipelined RAM port meets that transfer schedule. Enter 2.

Example 3

LITE
Input
A reset-cause register must connect directly to an existing AXI4-Lite manager.
Output
value = 3

The existing manager can read the single-beat register without a bridge. Enter 3.

Constraints and Contract

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

Hints

Hint 1

Start with the interface already on the other side.

Hint 2

Determine whether each beat names a memory location.

Hint 3

Ask whether the port must carry cache ownership messages.

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

13 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

REG

Input
A watchdog reload register sits behind an APB bridge. Which port avoids a converter?
Expected output
value = 1

A write goes straight from the existing bridge to the reload register. APB has code 1.

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

Icarus Verilog · server