S10.12.1 Split the Chip into Subsystems

MediumImplement22 minIcarus Verilog · serverReview the topic

Assign owners to a sensor subsystem release and choose the least expensive legal boundary as the stream widens.

Hardware context: Versioned subsystem with a finite work queue. Pre-silicon subsystem integration

This exercise has three teams. Capture (code 1) owns the sampler and its local clock. Compute (2) owns the filter and its firmware. Platform (3) owns shared bus, reset sequencing and the chip-wide release.

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 timestamp unit may join Capture or Compute. Beside the sampler it sends WIDTH bits plus 4 tag bits across the boundary. Beside the filter it receives two WIDTH-bit streams across the boundary. Prefer Capture on a tie. All widths here count simultaneously routed data bits.

The virtual platform follows the firmware-visible interface. The release contract assigns local address offsets to the device owner and global base addresses to Platform.

Use code 4 for an untimed virtual platform. Use 5 for emulated production RTL with transactors and 6 for a board-connected FPGA prototype.

EntryYour decision
ADCOwner of the sampler.
FILTEROwner of filter firmware.
BUSOwner of shared interconnect.
OFFSETWho signs off a changed sampler register offset?
BASEWho signs off a moved sampler base address?
RESETWho sequences release across subsystem resets?
MODELWho must update filter firmware when its programming interface changes?
NARROWTimestamp owner at width 2.
TIETimestamp owner at width 4.
WIDETimestamp owner at width 8.
DRIVEREarliest hand-off for checking the firmware register sequence before RTL.
CYCLESHand-off for booting software on the production RTL with transactors.
BOARDHand-off for exercising the driver against the physical board device.
OWNERChoose the timestamp owner under the stated width and tie rules.

Examples

Example 1

ADC
Input
Owner of the sampler.
Output
matches = 1

Capture releases the sampler.

Example 2

FILTER
Input
Owner of filter firmware.
Output
matches = 1

Compute owns the software paired with the filter.

Example 3

BUS
Input
Owner of shared interconnect.
Output
matches = 1

Platform integrates the shared bus.

Constraints and Contract

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

Hints

Hint 1

A device register can move inside a fixed global region.

Hint 2

Count only the streams crossing between teams.

Hint 3

Use the release policy when both cuts cost the same.

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

15 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

ADC

Input
Owner of the sampler.
Expected output
matches = 1

Capture releases the sampler.

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

Icarus Verilog · server