Read the clock owner at each end of a queue, then recount after a cluster changes its clock source.
Hardware context: Cluster and I/O clock tree. Clock-domain and stop-policy review
This ap_soc scale drawing gives one letter to each guaranteed edge relationship. Different letters have no guaranteed relationship, including at equal MHz.
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
Inspect the worksheet clock map. The same channels appear below.
CPU [A] ---> Queue [B] ---> DMA [B] ---> MAC [C]
^ |
+-------- status ----------+
CPU [A] <--- Wake [D]
All five arrows carry independent channels. Count each arrow once. A gated copy that preserves edge timing keeps its parent letter.
Three extra optional one-way channels run from DMA to CPU, MAC to Wake, and Wake to CPU, in that order. They carry distinct messages.
| Entry | Your decision |
|---|---|
| BASE_LINKS | Directed channels before adding any optional links. |
| BUS_LOCAL | Channels between Queue and DMA that stay in B. |
| ROOTS | Distinct baseline clock letters. |
| ASYNC | Baseline channels crossing between different letters. |
| SAME_RATE | Crossings if A and B have equal MHz but independent phase. |
| MERGED | Crossings if CPU moves to clock B instead. |
| MERGED_DOMAINS | Distinct letters after CPU moves to B. |
| NO_WAKE | Baseline crossings if the Wake block and its link are removed. |
| EXPANDED | Baseline crossings plus selected optional channels. Bits 0, 1 and 2 enable them in listed order. |
Examples
Example 1
BASE LINKS- Input
Directed channels before adding any optional links.
- Output
value = 5
Count each arrow including the status return.
Example 2
BUS LOCAL- Input
Channels between Queue and DMA that stay in B.
- Output
value = 1
Queue and DMA sample the same clock.
Example 3
ROOTS- Input
Distinct baseline clock letters.
- Output
value = 4
The active endpoints use A, B, C and D.
Constraints and Contract
- Keep the parameter and named constants. Use the numeric codes and units on this page.
- For EXPANDED, enter a constant expression using MASK. Only this entry changes with the parameter. The supported integer range is 0 through 7, inclusive.
Hints
Hint 1
Copy the clock letter to each end of each arrow.
Hint 2
Two messages can cross the same pair of domains independently.
Hint 3
Recheck every incident arrow after moving a block.
What the grader checks: Each check compares the full eight-bit answer. Parameter trials change one condition and keep the other decisions fixed.
19 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