Explain ten transitions using the smallest observation that distinguishes two possible causes.
Hardware context: The boot sequencer and S6 firmware board running a sensor input program. Read the reset, service, copy and wake events on one recorded board timeline.
Use the recorded application below. Edge counts track the board clock. Values after t count active firmware-kit ticks.
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
edge=2 boot osc=1 pll=0 strap_valid=0 fabric=0 ready=0 core=0
edge=3 boot osc=1 pll=1 strap_valid=0 fabric=0 ready=0 core=0
edge=4 boot osc=1 pll=1 strap_valid=1 fabric=0 ready=0 core=0
edge=5 boot osc=1 pll=1 strap_valid=1 fabric=1 ready=0 core=0
edge=6 boot osc=1 pll=1 strap_valid=1 fabric=1 ready=0 core=0
edge=7 boot osc=1 pll=1 strap_valid=1 fabric=1 ready=0 core=0
edge=8 boot osc=1 pll=1 strap_valid=1 fabric=1 ready=0 core=0
edge=9 boot osc=1 pll=1 strap_valid=1 fabric=1 ready=1 core=0
edge=10 boot osc=1 pll=1 strap_valid=1 fabric=1 ready=1 core=1
edge=11 fetch pc=00000000 jump_target=00000004
edge=12 start pc=00000004 sp=00000000 source=xxxxxxxx copy=xxxxxxxx
edge=19 drivers pc=00000020 sp=80010000 source=00001234 copy=00000000
t=36 | UART0 receives 4b "K"
t=36 | interrupt, external: mcause=8000000b mepc=00000060, next is 00000180
t=36 | PLIC claim returns 1
t=39 | PLIC complete 1
t=41 | mret: back to 00000060
edge=56 copy pc=00000064 sp=80010000 source=0000004b copy=00000000
t=51 | DMA starts: 4 bytes from 80000000 to 80000004
t=55 | DMA done
t=59 | GPIO OUT = 0001
edge=71 sleep pc=00000094
edge=78 wake pending=1 gated_edges=0 pc=00000094
edge=78 resume pc=00000094 sp=80010000 source=0000004b copy=0000004b
t=60 | GPIO OUT = 0000
t=62 | UART0 sends 4b "K"
t=63 | the program stops at 000000a0
copy=0000004b console=K interrupts=1 exceptions=0
Answer cause questions with the codes in each question. Enter counts in decimal.
| Entry | Your decision |
|---|---|
| HOLD | At edge five, what still holds the core? 1 ROM availability, 2 strap, 3 supply. |
| RELEASE | How many board edges after ROM ready does the core leave reset? |
| FIRST_PC | At start, why does the address equal four? 1 interrupt, 2 reset jump, 3 stack read. |
| CLEARED | Which word proves start-up cleared writable state? 1 source, 2 destination, 3 stack pointer. |
| VECTOR | What chose address 0x180? 1 saved PC, 2 claim ID, 3 installed vector. |
| CLAIM | Why does the claim return one? 1 priority readback, 2 UART source ID, 3 global enable. |
| NEW_SOURCE | Which action replaced 0x1234? 1 handler store, 2 DMA start, 3 reset. |
| LENGTH | How many bytes reached the destination before done? |
| WAKE | Which event opens the gate? 1 return from trap, 2 DMA done, 3 synchronized button pending. |
| SLEEP_GAP | Replace the four quiet edges before the button with QUIET edges. How many edges pass until pending rises? |
Examples
Example 1
HOLD- Input
At edge five, what still holds the core? 1 ROM availability, 2 strap, 3 supply.
- Output
matches = 1
The bus is released. The ROM still reports ready zero.
Example 2
RELEASE- Input
How many board edges after ROM ready does the core leave reset?
- Output
matches = 1
Availability rises at edge nine. The sequencer consumes it at ten.
Example 3
FIRST PC- Input
At start, why does the address equal four? 1 interrupt, 2 reset jump, 3 stack read.
- Output
matches = 1
The instruction at zero jumps to the start-up code.
Constraints and Contract
- Keep the parameter and named constants. Use the numeric codes and units on this page.
- For SLEEP_GAP, enter a constant expression using QUIET. Only this entry changes with the parameter. The supported integer range is 1 through 5, inclusive.
Hints
Hint 1
Subtract edge counts only from other board edge counts.
Hint 2
Separate the vector from the saved return address and the claim ID.
Hint 3
Compare the source at driver entry with the source at copy entry.
What the grader checks: Each check compares the full eight-bit answer. Parameter trials change one condition and keep the other decisions fixed.
10 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