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
| Signal | Width | Role |
|---|---|---|
question | 8 | input 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.
| Entry | Your decision |
|---|---|
| REG | A watchdog reload register sits behind an APB bridge. Which port avoids a converter? |
| PIPE | A debug RAM must accept the next AHB-Lite address during the preceding data phase. |
| LITE | A reset-cause register must connect directly to an existing AXI4-Lite manager. |
| ALARM | An alarm has one register and sits on the existing APB branch. |
| FETCH | A ROM must plug directly into the existing AHB-Lite instruction port. |
| TRACE | A trace encoder emits a framed sequence without addresses. Its sink can stall. |
| COPY | A copier needs addressed bursts and multiple transaction IDs. |
| KNOB | A tuning register plugs into a native AXI4-Lite control port. |
| CACHE_PORT | The 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