Interviews
SoC Architecture Interview Questions
Practise the question, then the follow-ups an interviewer asks next.
Start with a Question TreeAI Mock Interview
- 55
- Question trees
- 262
- Follow-ups
- 111
- Wrong answers explained
Flagship Questions · With follow-ups
Question Trees
Each question opens into the follow-ups an interviewer asks next, the wrong answers people give, and what a fresher's and a senior's answer sound like.
-
Reason About Traffic and Performance
Spend 2116 Bits on the Next Fetch
Your predictor has 2116 bits. How would you tell whether it sends fetch to the right instruction soon enough? 5 follow-ups · 2 pitfalls -
Reason About Traffic and Performance
Which Core Finishes First?
Three cores retire the same 15 instructions. Their modeled clock periods are 124, 66 and 66 units, where one unit is the delay through one logic gate. Which other measurement decides the race? 4 follow-ups · 2 pitfalls -
Reason About Traffic and Performance
Start the Cache Before Translation Finishes
The L1 cache must select a set while the TLB looks up the physical frame. Which address bits can both paths trust? 4 follow-ups · 2 pitfalls -
Explain the SoC
Design a Four-Byte Receive Channel
Firmware wants four bytes from UART0 copied into SRAM. What state lets a DMA channel finish after firmware leaves the bus? 4 follow-ups · 2 pitfalls -
Diagnose a Chip from Evidence
Both Targets Answered. Why Is the Core Waiting?
GPIO and SRAM each owe one read reply. Both reads used ID 2. Can you prove deadlock from five cycles without a delivery? 4 follow-ups · 2 pitfalls -
Diagnose a Chip from Evidence
Where Did the Fifth Byte Go?
UART offered ABCDEF. SRAM contains ABCDF. Which measurements would distinguish a dropped arrival from slow service? 4 follow-ups · 2 pitfalls -
Defend an Architecture
Find Thirty Percent of Chip Power
The requirement is 30% less average chip power at the same completed workload per second. Where would you measure first? 4 follow-ups · 2 pitfalls -
Plan Boot, Reset, and Power Transitions
Put a Timer Behind a Power Switch
A power-gated timer can lose its supply while its interrupt receiver stays awake. Draw the boundary and name what must still work during sleep. 4 follow-ups · 2 pitfalls -
Plan Boot, Reset, and Power Transitions
Choose a Voltage and Clock for One Job
A core needs 1000 cycles. The settled operating points finish in 10, 5 and 2.5 microseconds. What else determines which point to request? 4 follow-ups · 2 pitfalls -
Explain the SoC
Would You Accept This IP Delivery?
A supplier offers a UART, an SRAM and a counter. What do you need before the chip team can depend on them? 5 follow-ups · 2 pitfalls -
Explain the SoC
When Does a Finished Instruction Count?
In an out-of-order model, a younger add finishes before an older load. How can software still observe the program in order? 4 follow-ups · 2 pitfalls -
Define the Hardware–Software Contract
Give a Task Its Share of SRAM
A proposed controller runs a task at fixed physical addresses. It may execute code, update its stack and touch one four-byte device register. Does it need translation? 5 follow-ups · 2 pitfalls -
Define the Hardware–Software Contract
Share One GPIO Port
Two tasks drive separate lamps. A handler also watches input pins. What should a driver be able to change with a single register write? 4 follow-ups · 2 pitfalls -
Reason About Traffic and Performance
Where Would You Cut This Channel?
A timing report puts the longest path between two bus hops. What would you trace before inserting a register slice? 5 follow-ups · 2 pitfalls -
Plan Boot, Reset, and Power Transitions
Change the Clock While the Chip Runs
Firmware wants to move the root from RC to PLL. What must downstream registers be able to assume about the last old pulse and the first new one? 4 follow-ups · 2 pitfalls -
Diagnose a Chip from Evidence
Can Software Trust This SRAM Read?
A proposed SRAM must keep serving after one flipped bit and report a word it cannot repair. What must happen before data reaches software? 4 follow-ups · 2 pitfalls -
Diagnose a Chip from Evidence
The Timer Is Pending. How Late Is Service?
A trace shows a timer interrupt and a jump into its handler. The device owner reports a late response. Which moments would you timestamp? 4 follow-ups · 2 pitfalls -
Diagnose a Chip from Evidence
The Watchdog Is Quiet. Is the Product Healthy?
A timer handler runs regularly but the application stops producing results. How should software earn permission to kick the watchdog? 5 follow-ups · 2 pitfalls -
Defend an Architecture
Connect a Hundred Blocks
The next chip grows from four blocks to a hundred. When would you replace one central crossbar, and what new delays must clients tolerate? 5 follow-ups · 2 pitfalls -
Defend an Architecture
Where Should the Next Frame Run?
Consider a scheduler for two different core types. ap_phone has eight equal cores. Which measurements decide where the scheduler should place a frame? 5 follow-ups · 2 pitfalls -
Defend an Architecture
Which Image May Receive Control?
A proposed microcontroller accepts field updates and returns for repair. What must already be trustworthy before the first instruction of an update runs? 7 follow-ups · 2 pitfalls -
Explain the SoC
Which Processor Can Run This Program?
Two suppliers offer cores with different clocks. Both advertise RISC-V. What promise does firmware need from each? 4 follow-ups · 2 pitfalls -
Diagnose a Chip from Evidence
What Did the Live Side See?
Two blocks share a clock. Only the sender resets. The receiver treats a change of a saved bit as a new event. What would you capture? 5 follow-ups · 2 pitfalls -
Define the Hardware–Software Contract
What Does the Device Owe Its Handler?
One pin says a queue still needs service. Another pulses once per arriving part. Software sometimes disables interrupts. Specify what it can read afterward. 5 follow-ups · 2 pitfalls -
Plan Boot, Reset, and Power Transitions
Where Is the First Value of a Variable?
A board retains its program across power loss. main updates an initialized variable in SRAM. Draw the two addresses startup needs before calling main. 3 follow-ups · 2 pitfalls -
Explain the SoC
Fit the Interfaces on 32 Pads
A board needs a boot strap, GPIO, serial pins and timer capture on a proposed 32-pad package. What belongs in the pin assignment table? 5 follow-ups · 2 pitfalls -
Diagnose a Chip from Evidence
A Board That Used to Say Hello
The new build gives a blank console. You have the working image and can record a few signals. Which comparison would you make first? 5 follow-ups · 2 pitfalls -
Diagnose a Chip from Evidence
The Probe Reads an ID. Where Is the Core?
A board probe reads a repeatable ID, yet its register dump changes between reads. Which parts of the debug path have actually answered? 5 follow-ups · 2 pitfalls -
Plan Boot, Reset, and Power Transitions
Enter Test Mode Behind a Closed Gate
Production test must reach three flip-flops even when their functional clock is gated. One output controls analog bias. What must the tester own before shifting? 4 follow-ups · 2 pitfalls -
Define the Hardware–Software Contract
Who Authorizes the Camera Write?
A guest programs a camera DMA address. The guest may rearrange its memory, but must never overwrite another guest. Draw the access that actually needs checking. 5 follow-ups · 2 pitfalls -
Explain the SoC
When May the Processor Call the Fabric?
A processor boots beside programmable logic on ap_fpga. The first driver wants to read a fabric register. Which two milestones would you put in the boot contract? 5 follow-ups · 2 pitfalls -
Defend an Architecture
Accept a Release from Six Teams
Two hundred blocks arrive as subsystems. Firmware builds and every wire has a driver. What would you require before accepting the assembled chip? 5 follow-ups · 2 pitfalls -
Defend an Architecture
Design the Hub Between Sensor and Host
Use a four-sensor workload of 925 samples/s and 7325 tagged bytes/s. The host requests a batch every two seconds. What must stay live between visits? 4 follow-ups · 2 pitfalls -
Explain the SoC
Follow a Peripheral Read
A program reads a switch through a peripheral register. Who supplies the address and value? When can the processor use the value? 5 follow-ups · 2 pitfalls -
Define the Hardware–Software Contract
When Is the Buffer Ready?
The DMA has copied bytes into SRAM. How can a driver tell when to read them? 6 follow-ups · 2 pitfalls -
Reason About Traffic and Performance
The Display Misses Its Deadline
A display consumes bytes from a FIFO during each frame. It runs empty before the next refill. The bus was busy only 40% of that frame. What would you measure? 6 follow-ups · 2 pitfalls -
Plan Boot, Reset, and Power Transitions
Wake a Core Whose Clock Has Stopped
The core clock stops in ap_soc sleep. A button changes after its last edge. What can still observe the change and restart execution? 4 follow-ups · 2 pitfalls -
Diagnose a Chip from Evidence
The Handler Never Ran
Firmware times out waiting for a peripheral interrupt. The device can latch an event even when delivery is masked. What would you inspect first, and why? 6 follow-ups · 2 pitfalls -
Defend an Architecture
Choose How to Share a Buffer
Two cores will exchange a buffer on a new chip. What would you measure before choosing how they share it? 6 follow-ups · 2 pitfalls -
Explain the SoC
Draw the Chip Boundary
A team calls its sensor controller a microcontroller, an SoC, and an FPGA prototype. Can all three descriptions fit one design? 5 follow-ups · 2 pitfalls -
Diagnose a Chip from Evidence
Why Did the Core Enter the Handler?
Two runs enter the same machine handler. One executed an illegal instruction. The other received a timer request. How would you tell them apart? 5 follow-ups · 2 pitfalls -
Define the Hardware–Software Contract
Design a Microcontroller Memory Map
A microcontroller needs boot ROM, SRAM and peripheral registers. Firmware needs stable addresses and errors on unused space. What map would you give both teams? 5 follow-ups · 2 pitfalls -
Reason About Traffic and Performance
Choose a Bus for Each Port
A chip has occasional control writes, sequential SRAM reads, and a port issuing several reads before any reply. Where would APB, AHB and AXI fit? 5 follow-ups · 2 pitfalls -
Plan Boot, Reset, and Power Transitions
Reset a Block with a Stopped Clock
A block must enter reset even if its clock has stopped. Its first active edge must start from a known state. How would you arrange reset? 5 follow-ups · 2 pitfalls -
Plan Boot, Reset, and Power Transitions
Bring up a Cold Chip
A board starts without power. The processor must fetch its loader from ROM. What has to happen before you release the processor? 4 follow-ups · 2 pitfalls -
Define the Hardware–Software Contract
Review an Event Register
The driver configures a device, issues commands and acknowledges events through one word. What does firmware need to know about each field? 5 follow-ups · 2 pitfalls -
Define the Hardware–Software Contract
Choose Who Waits and Who Moves the Bytes
A driver has a brief startup wait, a rare input while other work runs, and a long UART transfer. How would you serve each? 4 follow-ups · 2 pitfalls -
Explain the SoC
Follow a Store Through Five Stages
Follow the store at address 18 through a five-stage pipeline. Where do its address, data and write enable meet? 5 follow-ups · 3 pitfalls -
Defend an Architecture
Choose a Cache for a Loop
A proposed cache holds 16 words. A loop walks 32 array words and touches one of four distant counters after each word. What would you compare? 4 follow-ups · 2 pitfalls -
Define the Hardware–Software Contract
Specify What a Store Does
A cache experiment reports seven hits under both write-through and write-back, yet counts eight memory writes versus one. What would you specify for stores? 5 follow-ups · 2 pitfalls -
Explain the SoC
Trace a Load Through Translation
The TLB has four entries and the page table has two levels. The core loads from 0x00403abc. What information can a TLB hit supply? 6 follow-ups · 2 pitfalls -
Reason About Traffic and Performance
Route Two AXI Reads Home
Sketch an N-manager, M-target crossbar. On the fourth edge the CPU reads the console and DMA reads SRAM. Both use ID 01. What must travel with each accepted request? 6 follow-ups · 2 pitfalls -
Reason About Traffic and Performance
Share Four AHB Targets Between Two Managers
Design a two-manager, four-target AHB matrix. The CPU reaches ROM and DMA reaches SRAM together at e1. Why can both advance? 5 follow-ups · 2 pitfalls -
Plan Boot, Reset, and Power Transitions
Audit a Clock-Domain Plan
A chip has an independent RTC clock, a core clock and a peripheral clock divided from the core. How would you review an alarm and a command bus crossing these domains? 5 follow-ups · 2 pitfalls -
Define the Hardware–Software Contract
Scale an Interrupt Controller to 32 Sources
Extend a single-hart interrupt controller to 32 device sources for one processor. How would an event reach the interrupt wire and eventually become a handler’s responsibility? 6 follow-ups · 2 pitfalls
No question matches these filters.
Quick revision · One flat list
Question Bank
All 317 SoC Architecture questions, main and follow-up. Open a track, then a topic. Answer out loud first, then open the short answer.
Jump to a Track
317 questions · 55 topicsSoC Architecture
Spend 2116 Bits on the Next Fetch6
Your predictor has 2116 bits. How would you tell whether it sends fetch to the right instruction soon enough? L1L3
Compare the predicted next address with the resolved next address. Count redirects and price each at the measured flush penalty. Include the storage for targets when comparing designs.
QuestionPractise Spend 2116 Bits on the Next Fetch →The execute-stage trace says “1c 18 14 10 0c” and “go 08”. Which instructions lose their results? L1L3
The branch at hex 14 redirects fetch to 08. Discard the instructions at 18 and 1c before either changes a register or memory. Two such redirects cost 2 × 2 = 4 cycles.
Follow-upPractise A Redirect at Hex 14 →The calculated cycle sum for calls is 603 with the tournament and target buffer. What would you spend the remaining 128 bits on? L1L3
Four 32-bit return addresses fit. Correct returns rise from 19 to 58, saving 39 × 2 = 78 cycles in the model. Total storage is 100 direction bits + 1888 bits for targets + 128 stack bits = 2116 bits. Check the workload mix and fetch timing before promising that gain.
Follow-upPractise Defend the Last 128 Bits →With four entries, branches at hex 0c and 1c both index entry 3. What happens when they replace each other? L1L3
The stored tag identifies only the latest branch. A tag mismatch leaves fetch without that target even when direction is correct. Four entries give 38 correct next fetches despite 111 correct directions. Eight entries separate those branches and give 111 correct next fetches.
Follow-upPractise Two Targets Need One Entry →On the alternating branch, row 2 says taken from the plain table and not taken from gshare. The outcome is not taken. What changes? L1L3
The chooser moves from 1 to 2 and selects gshare next time. Gshare uses recent outcomes to distinguish successive visits. Across the pattern trace, the tournament gets 147 directions right against 77 for the plain table. Gshare alone gets 139. The chooser buys 147 − 139 = 8 additional correct directions for 32 bits.
Follow-upPractise Learn an Alternating Branch →On the nested-call trace, depths zero and two each predict 22 of 36 returns. Why does depth four reach 33? L1L3
Three nested calls need three live return addresses. Overflow loses an older address. Four entries cover this trace. The first encounters still miss because the target buffer has yet to identify those returns.
Follow-upPractise One More Nested Call →Which Core Finishes First?5
Three cores retire the same 15 instructions. Their modeled clock periods are 124, 66 and 66 units, where one unit is the delay through one logic gate. Which other measurement decides the race? L0L2
Count cycles through the same completion boundary. Multiply each count by its own clock period. Average cycles per instruction help explain the result.
QuestionPractise Which Core Finishes First? →The multicycle row reads “58 cycles | CPI 3.87 | period 66”. Why does the single-cycle implementation win this pair? L0L2
The multicycle load alone uses five steps, and other instructions also span several clocks. Its total time is 58 × 66 = 3828 gate levels. Each step pays the full period. An add costs 4 × 66 = 264 against 124. The single-cycle version uses 15 × 124 = 1860 gate levels.
Follow-upPractise Two Clock Periods for the Same Program →At the original delays, the single-cycle run takes 1860 gate levels. How slow can the pipeline clock become before its advantage disappears? L0L2
At 25 cycles the tie is 1860 / 25 = 74.4 gate levels per cycle. The original period of 66 leaves 8.4 gate levels of margin. This comparison holds the program, cycle counts and rival time fixed.
Follow-upPractise Set a Break-Even Period →The pipeline takes 25 cycles for 15 instructions. The trace has two taken branches and one jump. Where do ten cycles go? L0L2
Filling five stages costs four extra cycles. Three redirects cost two cycles each. The total is 15 + 4 + 6 = 25 cycles, or 1650 gate levels.
Follow-upPractise Account for Ten Extra Cycles →The quiz changes memory delay to 80 levels and reports “period 81”. Does the pipeline still finish in 1650 units? L0L2
It still takes 25 cycles, but time becomes 25 × 81 = 2025 gate levels. The memory stage now sets the period.
Follow-upPractise Change the Slowest Stage →Start the Cache Before Translation Finishes5
The L1 cache must select a set while the TLB looks up the physical frame. Which address bits can both paths trust? L2L3
The ap_soc core runs only in machine mode and issues physical addresses directly. It has no memory management unit (MMU) to translate virtual addresses. In this model translation preserves the offset within the page. Select a set using offset bits and read its ways while the TLB works. Compare physical tags after translation and check permission before delivering data.
QuestionPractise Start the Cache Before Translation Finishes →The trace maps 00404010 and 00407010 to frame 06. Why does the second load hit line 001? L2L3
With 4 KiB pages, the low 12 bits survive translation. A 16-byte block uses four bits, leaving eight for the set. Both addresses have offset hex 010, so both select set 1 and match frame 06.
Follow-upPractise Explain the Second Hit →The design needs 32 KiB, 4 KiB pages and 64-byte blocks. How many sets and ways preserve early indexing without special mapping rules? L2L3
Six block bits leave six set bits, allowing 64 sets. Each way holds 64 × 64 bytes = 4 KiB. Use at least 32 / 4 = 8 ways and compare their tags in parallel. Check the hit path with eight comparators. A system whose smallest page is 16 KiB can use 16 KiB ways.
Follow-upPractise Size a 32 KiB L1 →In the 512-line replay, a store writes 22222222 through 00404010. Why does 00407010 still return 11111111? L2L3
Nine index bits plus four block bits require 13 bits. Bit 12 can differ between names for the same physical block. The store updates line 001 while line 101 retains its old copy.
Follow-upPractise Explain the Old Word →Changing the second name to 00406010 gives “line 001 | frame 06 | hit”. What promise would software have to keep? L2L3
Both names now agree on bit 12. Every mapping of this physical block must select the same set, including any mapping created later. One successful pair tests only those two names.
Follow-upPractise Test the Mapping Rule →Design a Four-Byte Receive Channel5
Firmware wants four bytes from UART0 copied into SRAM. What state lets a DMA channel finish after firmware leaves the bus? L1L2L3
Firmware writes source, destination and length, then starts the job. The channel becomes a second bus manager and waits its turn against the core. Keep the current addresses, remaining count and one held byte between a successful read and its matching write.
QuestionPractise Design a Four-Byte Receive Channel →Edges 18 and 23 read 1000000c and return hex 73 and 65. How does the channel avoid skipping or duplicating a byte? L1L2L3
Wait for a receive byte before each read. A successful device read consumes one byte. Hold it through the write, then advance the SRAM address by one. Four bytes need four reads plus four writes.
Follow-upPractise The Next Receive Byte →What lets the driver publish all four bytes? What changes with a write-back data cache and no coherent port? L1L2L3
The successful final write accounts for the fourth byte and permits done. Keep the buffer under DMA ownership until completion. In the S9.9 model invalidate the destination lines after done and before reading. The ap_soc core has no data cache. Its S11.6 firmware polls DMA completion before reading the destination.
Follow-upPractise Specify What Done Promises →On the third read the summary becomes “rx_ack=2 ram=73650000 done=0 error=1”. What can the driver recover? L1L2L3
Only two bytes reached SRAM, leaving 4 − 2 = 2 bytes outstanding. The failed read left the third byte in UART0. Stop without writing its error data and report a fault. Resume only if software can establish the committed length and remaining source contents.
Follow-upPractise Price the Partial Copy →The last read completes at e33 and the last write normally completes at e35. Suppose SRAM stalls that write. What stays live? L1L2L3
Keep hex 64, destination 80000003 and the outstanding write until its response. Three bytes are committed while the fourth is held. Delay done until successful completion and signal fault on a write error. UART0 already removed the byte. Losing the held copy loses the data.
Follow-upPractise Stretch the Final Write →Both Targets Answered. Why Is the Core Waiting?5
GPIO and SRAM each owe one read reply. Both reads used ID 2. Can you prove deadlock from five cycles without a delivery? L3L4
First trace what each participant needs before it can advance. A slow target can produce the same quiet interval. Prove that every event capable of releasing the wait depends on another event inside the cycle.
QuestionPractise Both Targets Answered. Why Is the Core Waiting? →At e1 the trace reads “older=1 younger=0 full=1 young=1 deliver=0”. Which event would have to happen first? L3L4
GPIO needs the sole slot to deliver its older word. Freeing that slot requires delivering SRAM. Delivering SRAM requires delivery of the GPIO reply first because both reads used ID 2. Two ready replies contend for one entry with no legal first move.
Follow-upPractise Draw the Closed Wait →You must keep the single return slot and preserve same-ID order. Which request would you stall, and how would you verify progress? L3L4
Hold the younger same-ID read until the older one completes. This costs overlap for that ID. Replay the early SRAM response case and check both words reach the manager in issue order. State the progress assumptions explicitly: each admitted target eventually replies and the manager eventually accepts.
Follow-upPractise Defend the Admission Rule →With the SRAM read issued as ID 3, deliver rises at e1 and e3. Why would changing an internal tag alone be insufficient? L3L4
The manager accepts SRAM first because it issued independent IDs. The slot is empty at e2. At e3 it takes the GPIO reply and delivers it. With equal upstream IDs, reserve space for the older response or hold back the younger request.
Follow-upPractise Two IDs at the Same Target →Read A times out at edge 4. B uses ID 1 at edge 5. An ID 1 reply arrives at edge 6. Whose data is it? L3L4
The recorded reply belongs to A. Reusing ID 1 aliases two lifetimes. Close that ID at timeout, discard A’s late reply at 6, then issue B at 7. If A never replies, reset or cut off the device before reopening that ID.
Follow-upPractise An Old Reply Fits a New Request →Where Did the Fifth Byte Go?5
UART offered ABCDEF. SRAM contains ABCDF. Which measurements would distinguish a dropped arrival from slow service? L2L3
Count offers, admissions, drops and committed writes over the same interval. Record occupancy at each edge and follow the missing byte through the queue. Include any byte held by DMA when reconciling the endpoints.
QuestionPractise Where Did the Fifth Byte Go? →The separate S8.6 CPU print run says “writes=1 waits=2”. How should the monitor classify the three access edges? L2L3
Count two edges with select and enable high but ready low as waits. Count the edge with select, enable, write and ready high as one completed write. Select spans four edges, e2 through e5. Apply the same distinction at SRAM. Count DMA commits only on completed SRAM writes.
Follow-upPractise A Stretched Access →Depths three and five both deliver ABCDEF by slot 12. What would you record before buying more storage for the next burst? L2L3
At the slower pace depth three records “peak=3 lost=1”. Depth five records “peak=4”. Capture per-slot arrivals and actual departures from before the burst through drain. Carry forward any initial backlog and take the maximum difference. Compare sustained arrival and service rates separately: persistent excess demand eventually fills any finite queue.
Follow-upPractise Choose the Monitor Window →In the separate S8.7 eight-byte run, bytes are numbered from zero. At e5 the trace shows “fifo=2” and “rx_in=-1”. The odd bank can accept data. What keeps that bank idle? L2L3
DMA holds byte two for the even bank until e6. Byte three needs the odd bank but waits behind byte two. Four FIFO slots admit byte five at e5, yet the last store still lands at e13.
Follow-upPractise A Bank Is Free at e5 →The lossless run has five offers and two completed departures by slot 5. How does that explain “depth=2 peak=2 lost=1 SRAM=ABCDF”? L2L3
The required backlog is 5 − 2 = 3 bytes. At depth two, C and D occupy both spaces when E arrives without a write slot. At slot 6, C departs before F takes its place. The depth-three run saves all six.
Follow-upPractise Twelve Slots Under Load →Find Thirty Percent of Chip Power5
The requirement is 30% less average chip power at the same completed workload per second. Where would you measure first? L3L4
Measure input energy over a representative work and idle interval. Divide by elapsed time for average power. Split the budget by block and operating mode so each proposed saving has a known share of the total.
QuestionPractise Find Thirty Percent of Chip Power →S1.8 takes an 80 mW switching component to 51.2 mW at 0.8 V. How large a baseline could that saving cover? L3L4
At unchanged activity and frequency, the saving is 80 × (1 − 0.8²) = 28.8 mW. That meets 30% only for a total baseline at or below 28.8 / 0.30 = 96 mW. Verify timing at the lower voltage and measure the other loads.
Follow-upPractise Scale the Saving to the Chip →What single comparison would let you sign off the 30% claim after changing the voltage and sleep policy? L3L4
Replay the same jobs and gaps over the same duration. Include the entire chip, wake costs and active time. Require every deadline to pass and total measured energy to be at most 0.70 times baseline.
Follow-upPractise Accept or Reject the Saving →The 100 MHz row draws 80 mW for one second. The 50 MHz row draws 40 mW for two seconds. What did we save? L3L4
Both runs spend 80 mJ of switching energy. Execution takes twice as long, so check the required work rate. Leakage continues while the block remains powered.
Follow-upPractise Price the Same Completed Job →The gap rows show sleep and deep sleep tied at 26 nJ after six microseconds. Why does the winner change? L3L4
Deep sleep costs 20 − 2 = 18 nJ more per transition round trip. It saves 4 − 1 = 3 nJ per idle microsecond. The payback is 18 / 3 = 6 microseconds. The wake row reads “sleep=1us deep=5us deadline=3us”. That deadline rules out deep sleep for every gap.
Follow-upPractise Does Deep Sleep Earn Its Transition? →Put a Timer Behind a Power Switch5
A power-gated timer can lose its supply while its interrupt receiver stays awake. Draw the boundary and name what must still work during sleep. L2L3
Keep the power controller, wake detector and isolation cell on a live supply. Clamp the timer request to its inactive level before removing power. Choose a wake source that remains powered throughout the selected mode.
QuestionPractise Put a Timer Behind a Power Switch →The unprotected run says “supply off isolate=0 raw=x receiver=x”. Does this row prove an interrupt occurred? L2L3
The receiver has no defined level, so the row cannot establish a real interrupt. Drain outstanding work and clamp the active-high request to zero before switching off. The protected row reads “raw=x receiver=0”.
Follow-upPractise Interpret an Unknown Request →Firmware wants a timer alarm to survive complete peripheral power loss. Which alarm would you promise, and how would you test it? L2L3
Use the always-on real-time clock alarm only for jobs that accept a five-microsecond wake. Ordinary ap_soc sleep stops the core clock and keeps supplies on. In the power-switch model, arm the alarm before cutting peripheral power and watch its request reach the controller. Verify reset and clamp release before accepting the first peripheral response.
Follow-upPractise Defend the Always-On Boundary →Power has returned, yet the trace still says “supply on isolate=1 raw=x receiver=0”. Which later row permits release? L2L3
“timer reset isolate=1 raw=0 receiver=0” establishes the timer’s inactive output. Keep the clamp until the source has valid state, then release it. Reset restores a known value but loses the earlier request.
Follow-upPractise Release the Clamp at the Right Step →The idle table gives deep sleep 29 nJ and sleep 38 nJ. The wake deadline is three microseconds. Which mode survives? L2L3
Deep sleep saves 38 − 29 = 9 nJ but takes five microseconds to wake. Sleep takes one microsecond and keeps peripheral state. For a timer interrupt, also check its enable and whether the selected mode leaves that timer powered.
Follow-upPractise Nine Microseconds Idle, Three to Wake →Choose a Voltage and Clock for One Job5
A core needs 1000 cycles. The settled operating points finish in 10, 5 and 2.5 microseconds. What else determines which point to request? L2L3
Measure energy through completion and include the time and energy spent changing points. Eliminate choices that miss the deadline or exceed the thermal limit. Check the rail requirements of other cores sharing the supply. Before switching a parent domain off, confirm every child can stop.
QuestionPractise Choose a Voltage and Clock for One Job →The S10.9 trace reads “up, clock first: 0.80 V 400 MHz safe=0”. Why did the change fail? L2L3
Raise the voltage and wait for it to settle before applying 400 MHz. On the way down, confirm the lower clock first. Check all users of the shared rail before lowering it.
Follow-upPractise Cross Between Two Safe Pairs →Assume the core already sits at each candidate point in separate runs. Which point minimizes energy for the 1000-cycle job within five microseconds? L2L3
At 200 MHz, 20.8 mW × 5 microseconds = 104 nJ. At 400 MHz the job costs 120 nJ, and 100 MHz misses the deadline. Choose 200 MHz under these settled conditions. If starting elsewhere, add transition time and energy before making that promise.
Follow-upPractise Pick the Point for Five Microseconds →Silicon Lab S10.9.1 uses different points from lesson S10.9. Point 3 runs at 1.0 V, 200 MHz and 20 mW. Point 2 runs at 0.8 V and 100 MHz. Which fits? L2L3
Point 3 takes 3 + 5 = 8 microseconds including entry. Point 2 takes 2 + 10 = 12 microseconds. Point 3 costs 18 + 20 × 5 = 118 nJ. At twelve microseconds the middle point fits and costs 8 + 8 × 10 = 88 nJ.
Follow-upPractise An Eight-Microsecond Deadline →The heat trace ends with “sensor=45.0” and “cap=200 MHz”. Which earlier reading explains the cap? L2L3
The overlapping burst reached 49 °C and crossed the 48 °C trip. During overlap, stored energy rose by (56 − 16) × 1.25 = 50 nJ. The controller remembers that peak when capping the next job.
Follow-upPractise A Cool Final Reading →Would You Accept This IP Delivery?6
A supplier offers a UART, an SRAM and a counter. What do you need before the chip team can depend on them? L1L2
Identify what can still change in each delivery. Match design files, constraints, register description and tests to the integration guide, version and known faults. Exercise the documented behavior at the boundary.
QuestionPractise Would You Accept This IP Delivery? →The chip moves to a new process. S1.3 lists UART0 as soft and SRAM as hard. Purchasing also offers the UART as firm IP. Which work follows the move? L1L2
Synthesize the soft UART for the new process. A firm netlist uses gates from the old process. Ask the supplier for a new netlist. Obtain an SRAM layout built for the new process.
Follow-upPractise The Factory Changes →The team expects a process change and must revise the UART before fabrication. Which delivery would you sign for? L1L2
Choose soft RTL with the interface, tests and constraints. Budget time to synthesize and meet timing on each process. A firm delivery fixes the gates, and a hard delivery fixes the layout as well.
Follow-upPractise Choose the UART Delivery →The arrival test reports 0 in reset, 3 after three enabled edges and 3 after two disabled edges. What did that establish? L1L2
This version holds reset, counts and then holds its value as documented in those cases. The document matches this version in those cases. Correctness still needs tests beyond those three rows. Synthesize with the delivered constraints before trusting the stated clock speed.
Follow-upPractise Three Rows Agree →S1.7 prints “u_watch counter bits=4 limit=20 not done after 260 edges”. Every port connects. Where would you look? L1L2
The default is four bits, so the largest count is 2⁴ − 1 = 15. Five bits reach 31. Set five bits explicitly. The repaired instance reports “done at edge 21”.
Follow-upPractise A Timer Never Finishes →The RTL simulates but no register description came. What breaks first? L1L2
The driver cannot tell which address starts an operation or which status read changes state. The arrival test’s 0, 3, 3 counts cover the counter alone. Require offsets, reset values and access effects before accepting the driver.
Follow-upPractise Writing the First Driver →When Does a Finished Instruction Count?5
In an out-of-order model, a younger add finishes before an older load. How can software still observe the program in order? L2L3
Give each new register result its own physical register. Track instructions in program order in a reorder buffer. A finished instruction may retire when it reaches the head. The ap_soc core itself runs in order.
QuestionPractise When Does a Finished Instruction Count? →In S2.31, hex 14 names p32 for x5 and hex 20 names p34. Which value does the add at 18 need? L2L3
It captured p32 and still waits for the load. The add at 24 reads p34 twice. The two chains can overlap. The last finish moves from cycle 6 to 5.
Follow-upPractise Two Writes to x5 →A designer proposes retiring around an unfinished head to release entries sooner. Would you use that rule in this model? L2L3
Keep retirement in order so a fault at the head sees exactly the older results. Pay for occupied entries while younger results wait. Row 4 marks 14 done while the older add at 10 is unfinished. Only in row 6 does 14 retire.
Follow-upPractise Set the Retirement Rule →In the separate S2.32 loop, cycle 6 lists 20 and 24 as done. Cycle 7 squashes both. What if store 20 had already written? L2L3
Memory would contain a partial loop result. Keep the address and data in the store buffer until the store retires. Later loads must check it for an older store to the same address. Only the older entries 18 and 1c retire at cycle 7.
Follow-upPractise A Store Appears in Done →Cycle 7 prints “squash: 20 24”. Is changing the fetch address enough to restart? L2L3
Here 20 is sw and 24 is ebreak. Neither wrote a register, so only their entries go. In general, undo each squashed rename youngest first and free its new physical register.
Follow-upPractise Recovery After Cycle Seven →Give a Task Its Share of SRAM6
A proposed controller runs a task at fixed physical addresses. It may execute code, update its stack and touch one four-byte device register. Does it need translation? L1L2
In the physical memory protection (PMP) model, describe each region and its permitted operations. The address stays the same. Translation serves a different requirement when software needs virtual names mapped to physical frames. The machine-mode-only ap_soc has neither PMP nor address translation.
QuestionPractise Give a Task Its Share of SRAM →The S3.10 store at 80008ffc succeeds. The next aligned word at 80009000 faults. Why would widening the region change the contract? L1L2
The four-byte store covers ffc through fff within entry 2’s 4 KiB data region, 80008000–80008fff. The next word starts outside it. In the widened run, “entry 2 NAPOT 80008000 to 80009fff RW-” allows the store at 80009000. The separate four-byte entry likewise covers only 10000000 through 10000003.
Follow-upPractise Two Adjacent Stack Words →The fixed-address task now needs to run two copies that both expect the same private address. Would you retain the original scheme? L1L2
Retain physical protection if software can relocate the copies and accept different addresses. If both require the same private name, choose translation with separate mappings. Budget page tables and the time for a walk when the translation is missing.
Follow-upPractise Choose the Address Contract →In S3.25 the user stores at 80008800 and 80008020 both match the broad writable region. Why does only one pass? L1L2
Entry 0 denies the first 64 bytes, including offset hex 20. It wins because it has the lower entry number. Offset hex 800 lies outside that guard and reaches writable entry 1.
Follow-upPractise Both Regions Match →S3.25 allows a machine store to 80008020. It faults twice at 80000100, even after a write to entry 2. Why? L1L2
The guard is unlocked, so machine mode passes it. Entry 2 is locked, so its read and execute permissions also bind machine mode. A store is denied until reset allows reconfiguration. The attempted change leaves it intact. Lock only after checking the final region and permissions.
Follow-upPractise Machine Software Writes Again →Entry 0 stops the user store at 80008020 in S3.25. Can the DMA write into that guard? L1L2
PMP checks accesses from one processor. The DMA issues its own writes. Check them before they reach memory if the guard must hold against both writers.
Follow-upPractise A Second Writer →Share One GPIO Port5
Two tasks drive separate lamps. A handler also watches input pins. What should a driver be able to change with a single register write? L0L2
Give each writer a mask for the pins it drives. Keep input observation, raw interrupt status and interrupt enable separate. Set up OUT before enabling its driver with DIR.
QuestionPractise Share One GPIO Port →S7.2 shows “both lamps ... out=0009”, then “stale store ... out=0000”. How could the foreground code turn off the other lamp? L0L2
Its whole-word write used an older snapshot. To turn off pin 0, write 0001 to CLR. The clear command prints “oe=0009 out=0008”. Pin 3 stays on. Assign ownership if both writers need the same pin.
Follow-upPractise A Lamp Goes Dark →Would you keep the extra SET and CLR addresses if software already has a writable OUT word? L0L2
Keep them for independent writers. The extra addresses buy single-write changes. TGL is optional because retrying a toggle undoes it. Give the handler a write-one clear mask for only the events it serviced.
Follow-upPractise Specify the Driver Interface →In the separate S6.2 two-pin slice the first rise leaves “pins=01 raw=11 en=00”. Which event can still be seen after its pin goes low? L0L2
Pin 1 stores a captured rising edge. Pin 0 reports its present level. Enabling both exposes the saved cause. A sticky bit cannot count multiple edges while already set.
Follow-upPractise An Edge Ends Before Service →S6.2 prints “access=1 rise=1 clear=1”. The faulty copy reports raw=00. What must firmware observe on the good copy? L0L2
The fresh edge wins and raw remains 10. Clearing the old event must leave the new one pending for service. The later clear without a rise brings raw to 00.
Follow-upPractise One Access, Two Events →Where Would You Cut This Channel?6
A timing report puts the longest path between two bus hops. What would you trace before inserting a register slice? L2L3
Trace valid and payload toward the receiver and ready back toward the sender. Identify the failing direction. Specify how many beats can arrive before the sender sees a stop.
QuestionPractise Where Would You Cut This Channel? →S4.7 reports 15 logic levels with nothing between the hops, 9 with a forward slice and 19 with a backward slice. Which cut earned its registers? L2L3
The forward slice removes 15 − 9 = 6 levels from the longest path here. It registers valid and payload together. Ready still crosses the forward slice. S4.16 gives 10 levels for a full slice. It buys no speed over the forward slice here, but neither path crosses it.
Follow-upPractise Three Synthesis Results →The address crosses two slices and the reply crosses one. Would you add a matching slice to an already short reply path for symmetry? L2L3
The read already pays 2 + 1 = 3 extra cycles. Keep the short path if it meets timing. Use a full slice where both forward and backward paths fail timing and bursts require one beat per cycle. Budget two beat registers there.
Follow-upPractise Budget the Whole Read →In the S4.16 full-slice run, e4 accepts a4 upstream while a3 waits downstream. Where are both beats at e5? L2L3
Keep a3 at the output and a4 in the spare register. At e5 the receiver takes a3 while the sender must hold a5. At e6 the receiver takes a4. Delaying ready without the spare would leave no place for a4.
Follow-upPractise Two Different Handshakes at e4 →In the S4.16 timing example the delays are 3, 2, 4 and 3 ns. Where does one cut meet a 7 ns segment budget? L2L3
Cut after hop two. The segments take 3 + 2 = 5 ns and 4 + 3 = 7 ns. Either neighboring cut leaves 9 ns. Confirm timing after placing the registers.
Follow-upPractise Four Hops, One Cut →No protocol checker objects. How do you catch a half-rate slice? L2L3
Make the sender continuously valid and the receiver continuously ready. Count accepted beats on successive edges. Six finish at e12 for the half-rate slice versus e7 for the full slice.
Follow-upPractise Six Beats with No Stalls →Change the Clock While the Chip Runs5
Firmware wants to move the root from RC to PLL. What must downstream registers be able to assume about the last old pulse and the first new one? L1L2
Pass whole pulses from one source at a time. Allow a low interval during the handover. Check that the destination can tolerate the pause and that both sources are running.
QuestionPractise Change the Clock While the Chip Runs →The RC pulse started at 140 ns. At the request the trace reads “request t=141 rc=1 pll=0”. What pulse does a plain mux deliver? L1L2
It falls at the select change, after 141 − 140 = 1 ns. The protected root finishes its 20 ns high pulse. A 1 ns runt can make one counter skip a step.
Follow-upPractise Select Changes During a Pulse →A peripheral must count uninterrupted time while the processor switches. Would you use this root for its time base? L1L2
Give the time base a continuously running source. The switch preserves pulse width but inserts a measured gap. The period also changes from 40 ns to 10 ns. A separate clock costs clock distribution and requires crossings where software reads that time.
Follow-upPractise Approve the Handover →RC grant falls at 200 ns, PLL grant rises at 220 ns, and the root rises at 225 ns. Why leave both gates closed? L1L2
Each gate takes the request through two flip-flops. RC falls at 160 and 200 ns. PLL falls at 210 and 220 ns. The low interval lasts 225 − 200 = 25 ns. Neither source truncates the other.
Follow-upPractise Read the Gap Between Grants →The second mux reports “rc_grant=0 pll_grant=0 root=0”. Can a timeout counted by the root clock rescue firmware? L1L2
Ask for the PLL only after lock. Here the old side already released its grant. With no PLL edge the new gate cannot open. The root cannot advance its own timeout. Check activity on an independent clock before switching and keep recovery control on a live clock.
Follow-upPractise A Switch Request Goes Unanswered →Can Software Trust This SRAM Read?5
A proposed SRAM must keep serving after one flipped bit and report a word it cannot repair. What must happen before data reaches software? L2L3
Check the stored word and its check bits together. In the SEC-DED model, correct one error and detect two. An uncorrectable word ends the bus read with an error. This is a teaching model beyond ap_soc.
QuestionPractise Can Software Trust This SRAM Read? →S3.12 writes 0_10110010. Flipping bit 3 gives 0_10111010 and a parity error. What if another data bit flips before that read? L2L3
The first flip takes four ones to five. The two-flip run prints “bit 6 flips | stored 0_11111010”. The read finds even parity and accepts 11111010. Even parity would accept a changed word, and parity alone cannot locate the first bad bit.
Follow-upPractise Change the Same Word Twice →For this workload, would you pay for correction and periodic scrubbing or rely on parity and retry? L2L3
Parity suffices when software can fetch undamaged data again. Choose correction here because a retry rereads damaged SRAM. For a 64-bit word, eight check bits bring storage to 72 bits. Record corrected counts and addresses, and schedule scrubs so a word rarely takes a second hit before repair. On a double error, report the failure before consuming data.
Follow-upPractise Specify the Response to Corruption →S3.27 flips positions 5 and 2 in one stored word. The next read gives syndrome 7 and even overall parity. Would you flip position 7? L2L3
No. The two positions give 5 exclusive-OR 2 = 7. Even parity distinguishes this double error from a correctable single error. Withhold data. The syndrome-only decoder prints “one error at position 7: corrected | data 0001”. The written value was 1011. S3.28 shows the reporting contract with a bus error, the failing address and an interrupt.
Follow-upPractise The Syndrome Changes to Seven →S3.28 reads word 1 twice. Both reads return 1011 and corrected_count goes from 1 to 2. Is a second physical upset required? L2L3
No. Both reads repair only the outgoing value. The first flipped bit survives in SRAM. The scrub pass reads four words and rewrites one repaired code word and raises the count to 3. Without repair the position-2 hit leaves 1000 1110, two wrong bits and no data.
Follow-upPractise One Address, Two Corrections →The Timer Is Pending. How Late Is Service?5
A trace shows a timer interrupt and a jump into its handler. The device owner reports a late response. Which moments would you timestamp? L2L3
Start at the timer event. Mark pending, entry, arrival of the first handler word and the first useful device action. State which pair the deadline measures.
QuestionPractise The Timer Is Pending. How Late Is Service? →The S6.15 timer model records event e0, pending e1, entry e3 and first word e5. What would a measurement starting at e1 omit? L2L3
It omits one period of delivery. Event to first word takes 1 + 2 + 2 = 5 periods. Pending to first word takes four. Neither row timestamps a completed device access.
Follow-upPractise Price the Missing Period →For the nine-period masked case, the device owner requires five periods from event to first word. Would faster handler memory alone suffice? L2L3
Even zero fetch time leaves 1 + 6 = 7 periods. Shorten the masked interval to at most two periods to reach five with the original memory. With one masked edge the separate run still reports “latency=5 clock periods”. Keep the shared update safe when shortening the mask. If handlers mask each other, include the longest blocking handler in each other interrupt’s worst case, then measure device service separately.
Follow-upPractise Choose the First Change →In the masked example the instruction ends at e3 while the MIE gate stays closed until e7. When can the first word arrive? L2L3
Both waits start at pending e1. Entry waits for the later event. One delivery period plus max(2, 6) plus two periods for fetch gives 9. The four extra periods over baseline occur before fetch.
Follow-upPractise The Gate Reopens at e7 →In the separate S8.4 capture, “packet I 48” leads to 80 and “packet A 48” returns from 88. Can those addresses measure time until service? L2L3
They establish where execution diverted and resumed. They give no timestamp for the timer event or device access. Capture those edges on the same time base before assigning the delay to firmware.
Follow-upPractise A Packet Names Hex 48 →The Watchdog Is Quiet. Is the Product Healthy?6
A timer handler runs regularly but the application stops producing results. How should software earn permission to kick the watchdog? L1L3
Require fresh evidence from each required job. One supervisor consumes that evidence once per round and kicks inside the permitted window. Keep the watchdog running independently of the jobs it supervises.
QuestionPractise The Watchdog Is Quiet. Is the Product Healthy? →S6.11 shows “early before left=5” followed by “left=0 irq=1”. Why did a write with time remaining cause a warning? L1L3
The counter starts at six and accepts kicks with three, two or one ticks left. After one tick the window is still closed. An early kick starts the same two-tick grace period as a timeout. In the separate S6.18 early-kick quiz, the kick at t=32 leaves five ticks and ends with warning=1 reset=1.
Follow-upPractise Five Ticks Left →The healthy loop spaces kicks by 128 machine-time ticks. How would you defend the current window and decide whether to widen it? L1L3
Kicks are accepted after three to five supervision ticks. The phase-safe spacing derived from 32 mtime ticks per supervision tick is 96 to 160. The measured 128 sits midway, but measure the earliest and latest healthy rounds including time spent handling interrupts. A wider window tolerates more variation but admits more faulty schedules. Extending the timeout also delays recovery.
Follow-upPractise Set the Window for Production →In the S6.18 job-3 failure, warning arrives at 448. Does that fit six supervision ticks of 32 machine-time ticks each? L1L3
448 − 286 = 162. The first supervision edge can arrive partway through a 32-tick interval. The warning falls after 160 and within 192 ticks. Reset follows two supervision ticks later, at 448 + 64 = 512.
Follow-upPractise The Last Kick Was at 286 →S6.18 shows “jobs=10 kicks=9” in the healthy run and “jobs=3 kicks=9 | armed=1 warning=0 reset=0” with handler kicks. Which counter would you trust? L1L3
Nine kicks establish timely writes. Main was dead and the watchdog never warned. Each task sets a flag after its job. Kick only when all flags are set, then clear them for the next round.
Follow-upPractise Nine Kicks in Both Runs →S6.11 prints “bench halt left=6” and “production halt left=2”. Which setting belongs in the production test? L1L3
Keep the production counter running during halt. A bench freeze allows inspection but conceals the timeout that a real halt would cause. Exercise warning and reset again with production settings.
Follow-upPractise A Breakpoint Mid-Round →Connect a Hundred Blocks6
The next chip grows from four blocks to a hundred. When would you replace one central crossbar, and what new delays must clients tolerate? L3L4
Count input-to-output choices and consider the length of the wires feeding each output. A mesh replaces long direct paths with short links between routers. A transfer now needs several grants and somewhere to wait at each hop.
QuestionPractise Connect a Hundred Blocks →The S10.3 model gives 256 crossbar pairs and 24 mesh links for 16 blocks. Reconstruct the hundred-block row. Does it settle the area question? L3L4
Each output needs a multiplexer with 100 inputs. Across 100 outputs that gives 10,000 choices. A ten-by-ten mesh has 10 × 9 horizontal and as many vertical links, or 180. Area also depends on the width of each link, router queues and wiring.
Follow-upPractise From Sixteen to One Hundred →Would you sign off the mesh from the connection count alone if a camera frame has a hard deadline? L3L4
Choose the mesh if measured routes meet the deadline under competing traffic. Include credit waits, arbitration and the reply path. Budget storage at the routers. Compare the crossbar case where two managers reach different targets in the same cycles.
Follow-upPractise Choose the Fabric for the Camera →The S10.3 request arrives at 4 and its reply at 2. Each has two hops. What part of a read would their sum account for? L3L4
The request waits twice at router 0 for credit, then goes east and south. The reply traverses two links without waiting. The two traces count from separate starts. Together they give 4 + 2 = 6 transport periods, before adding target service.
Follow-upPractise Two Hops Each Way →The separate output experiment reports “strict grants urgent=8 bulk=0”. If both stay ready, what would reserving every fourth turn change? L3L4
Derived from the every-fourth-turn rule, eight grants split two bulk and six urgent. Only strict priority was measured here. Credit allows a transfer but does not choose a winner. This rule buys local progress for the copy by spending two urgent turns. Check every contested output on its route.
Follow-upPractise A Credited Copy Makes No Progress →The 100-block mesh has 180 links. Can all 180 help traffic crossing its middle? Why constrain the route? L3L4
Only ten links cross a straight middle cut, derived for the ten-by-ten mesh. Count competing flows there. Fixed east-west then north-south routing prevents a circular wait for links, at the cost of free detours.
Follow-upPractise Both Routes Cross the Middle →Where Should the Next Frame Run?6
Consider a scheduler for two different core types. ap_phone has eight equal cores. Which measurements decide where the scheduler should place a frame? L2L3
Measure time per frame against the frame deadline, then energy for that same work. Include the effect of moving the job away from warm private caches. S10.2 moves a job between alike cores.
QuestionPractise Where Should the Next Frame Run? →The S10.13 decision model has ready=110 and width=2. Its two rows issue zero and two. What accounts for the difference? L2L3
The oldest instruction is waiting. In order, it blocks both slots. Allowing ready younger instructions to pass admits two here. This counts one issue decision. It gives no frame runtime on its own.
Follow-upPractise Two Ready Behind One Wait →Which core gets this frame, and what observation would justify moving later frames to the other core? L2L3
Efficiency takes 7 µs and misses 5 µs. Performance meets it with 1 µs to spare at 8 nJ more. Move only when measured time including migration fits the new budget and the completed frame costs less energy.
Follow-upPractise Assign the Five-Microsecond Frame →In the S10.2 cache model core 0 ends a read of block 8 at tick 65. Core 1 ends its next read at 75. Where did the ten ticks go? L2L3
The new private caches are cold. Shared L3 supplies the block in 75 − 65 = 10 ticks. Staying on core 0 would hit L1 for one tick, saving nine here. Measure how those cache ticks affect the time per frame before combining models.
Follow-upPractise Where Is Block 8 After the Move? →In S10.13 the performance row gives 9 mW for 4 µs and efficiency gives 4 mW for 7 µs. At what efficiency runtime would the energies tie? L2L3
Performance costs 9 × 4 = 36 nJ. Efficiency costs 4 × 7 = 28 nJ now. The separate eight-microsecond quiz gives 32 nJ for efficiency. At fixed 4 mW the tie is 36 / 4 = 9 µs. Check the deadline before using that threshold.
Follow-upPractise One Frame at Each Power →The performance row finishes in 4 µs. What if the chip sleeps until the next frame, or the two cores run in lockstep? L2L3
Add wake energy and idle energy for the rest of the same frame period. Charge migration before starting the meter. A lockstep pair executes and compares one job. Budget one worker.
Follow-upPractise Two Cores on the Floorplan →Which Image May Receive Control?8
A proposed microcontroller accepts field updates and returns for repair. What must already be trustworthy before the first instruction of an update runs? L3L4
Start in immutable ROM with a trusted verification key. Authenticate the image and its version, enforce the protected version floor, then transfer control. Decide separately which debug operations each lifecycle state permits.
QuestionPractise Which Image May Receive Control? →In the S9.6 teaching model the genuine and fixed-up rows both jump to 80000010. What claim does this experiment rule out? L3L4
General practice, unchecked in S9.6: verify a signature over the image and its security-relevant header with a key trusted by ROM. Refuse control on failure. The matching sums establish no publisher authority. Even the keyed tag in S9.6.1 is forgeable from one genuine image.
Follow-upPractise Two Rows Jump to the Same Entry →Would you permit an unsigned rescue image after a failed update so the service team can always revive the part? L3L4
Keep recovery under ROM verification and the same version floor. Provision an authorized recovery image before raising the floor. This sacrifices rollback to an older spare image. For invasive repair use RMA, accepting loss of production key access.
Follow-upPractise Choose the Field Recovery Policy →S9.6 reports version=2, matching tag and computed values, and min=3. What if that older image also had a valid production signature? L3L4
Refuse it because 2 is below 3. Authentication and minimum version are independent conditions. Keep the floor in protected one-time memory. A recovery image must satisfy that floor too.
Follow-upPractise An Older Release Returns →In the S9.5 vault model a privileged and Secure debugger (pprot=001) reads offset 000 and gets OKAY with data zero. Its write gets ERROR. What does this establish? L3L4
The read completed without exposing the key. The locked storage rejects the write. Without the lock the same write gets OKAY and engine_key=00000000. Separately, S9.6 permits production halt and bus access only after unlocking debug, when production keys become unusable.
Follow-upPractise A Debug Read Returns OKAY →With strap 1 the first fetch is at 80000000. Whose verification key authorized that jump? L3L4
This ap_soc boot path skips ROM. My production choice would disable the alternate entry after provisioning or authenticate it before execution. That restricts board recovery.
Follow-upPractise The Other Reset Vector →The S9.6 codes differ in at least four bits. Which doors open if one bit of PROD changes? L3L4
The decoder sees an unknown state and closes every door. Test invalid codes as well as valid transitions before relying on debug restrictions.
Follow-upPractise One Bit Changes in Production →S10.15 offers monitor version 6 against floor 7, then version 9. Which stage gets control? L3L4
The loader keeps control until reset. The refusal latches even though 9 meets the floor. Each stage checks the next image with its own key and floor.
Follow-upPractise A Replacement Monitor Arrives →Which Processor Can Run This Program?5
Two suppliers offer cores with different clocks. Both advertise RISC-V. What promise does firmware need from each? L0L1
Specify the instruction set, register width and required extensions. The ISA defines the effect of an instruction. Clock speed and the number of cycles to deliver that effect depend on the implementation. The ap_soc core implements RV32I with Zicsr for control-register instructions and runs only in machine mode, the highest privilege level.
QuestionPractise Which Processor Can Run This Program? →S2.1 loads 7 and 5, then prints “x7 = 0000000c”. Has memory changed? How could another ISA express the same work? L0L1
Only the following sw changes memory at 80000008. This is a reduced instruction set computer (RISC) with a load-store design. A complex instruction set computer (CISC) may allow an arithmetic operand in memory. That can shorten the listing while still requiring a memory access.
Follow-upPractise Four Rows for One Sum →The product must run one program on both RV32I cores. One supplier offers M. What would you ship, and what does an open ISA buy? L0L1
Target their common base and pay the extra instructions for multiplication. An open ISA lets another supplier implement that contract without an ISA fee. Core development, verification and software testing still cost time. Test a second binary that uses M if multiplication dominates.
Follow-upPractise Choose the Shipping Target →S2.17 reports “x12=42 instructions=23” for six times seven. Can the compiler replace that computation with mul on either chip? L0L1
On the M core, yes. On the base core the multiply word traps: “word 02b50633 | trap, cause 2: illegal instruction | x12 = 00000000”. The base binary uses additions and branches. Compare measured cycles before promising a speedup.
Follow-upPractise One Operation in the Inner Loop →How can firmware learn at run time which extension letters the core has? L0L1
Read the ISA control register’s letter bits before executing instructions that depend on an extension. Select the multiply path only when the M bit is set.
Follow-upPractise One Binary, Two Cores →What Did the Live Side See?6
Two blocks share a clock. Only the sender resets. The receiver treats a change of a saved bit as a new event. What would you capture? L2L3
Record the sender bit, local reset, receiver’s previous sample and event acceptance together. If reset takes a one to zero, a change detector can count a nonexistent event. This proposed detector illustrates the crossing. The lesson lab instead loses a pending read.
QuestionPractise What Did the Live Side See? →S5.6 goes from “reserved … pending=1 hready=1” to “reset isolated=0 pending=0 enable=1 hready=0”. Suppose a listener counts changes on ready. When can it listen again? L2L3
Pending is internal to the timer, while ready crosses to the live side. Mask event recognition before reset. Keep it masked until the sender is initialized and the listener has sampled the new baseline. Otherwise even a stable zero differs from the remembered one. Separately test that the first genuine change counts exactly once.
Follow-upPractise The First Sample After Release →The timer is stuck, the CPU is idle and a debugger can still issue reads. How can software recover? L2L3
Stop every requester, including debug. Drain accepted work or have the live side terminate a stuck transfer with an error. Isolate before resetting. Release reset, establish valid state, then reconnect. Local recovery preserves other work but requires isolation and a way to return an error.
Follow-upPractise Authorize a Local Restart →After release S5.6 prints “sel=1 enable=1 pending=0 hready=0”. Which side could move the transaction forward? L2L3
Neither side can progress. The bridge waits in access for ready. This lab’s timer sets pending only in setup, which has already passed. A timer that answered every access could finish with a count of zero. In the drained run the old read returns 00000005 before isolation, and the next returns 00000004.
Follow-upPractise Ready Stays Low →Your simulation shows clean zeros. What hazard can it miss? L2L3
A reset transition near the sampling edge can leave a receiving flip-flop electrically unsettled. The digital trace shows the lost read but cannot show that electrical hazard.
Follow-upPractise Clean Zeros on Every Run →May software retry a timed-out write to a device? L2L3
First establish whether the write took effect. For example, retrying an accepted queue write could enqueue the same item twice. Retry only if repetition is safe or the device confirms the first write had no effect.
Follow-upPractise The Bridge Reports a Timeout →What Does the Device Owe Its Handler?6
One pin says a queue still needs service. Another pulses once per arriving part. Software sometimes disables interrupts. Specify what it can read afterward. L1L2
Report the first pin as a level while work remains. Latch each sampled rise of the second in raw status. Apply enable to delivery. Specify the clear operation and what happens if a new rise coincides with it.
QuestionPractise What Does the Device Owe Its Handler? →S6.2 shows “pins=01 raw=11 en=00 masked=00”. Why can an interrupt arrive on unmask even if neither pin rises again? L1L2
Bit 0 follows the live high level. Bit 1 remembers a previous rise even though its pin is low. The unmask row gives masked=11 and irq=1. Draining the queue removes the level. Clearing the saved edge acknowledges the other cause.
Follow-upPractise A Pin Is Low at Unmask →The customer invoices by number of parts. Can software infer the total from the edge flag if two parts arrive before service? L1L2
Use a counter with a specified overflow policy, or queue individual records. A sticky bit represents at least one arrival and merges later arrivals. More storage and an overflow test buy a defensible count. Keep the level for a queue that still needs draining.
Follow-upPractise Invoice by Parts →The setup row has raw=10. The next access has rise=1 and clear=1. Why does only the faulty copy lose its interrupt? L1L2
In the faulty copy the clear wins the tie. On the accepted access, apply the clear and give the new rise priority. The good copy keeps raw=10 and irq=1. The faulty copy reads “faulty_raw=00 faulty_irq=0”. A later clear with no arrival retires the event.
Follow-upPractise Two Copies Disagree →Would checking raw status at the end of this test catch the faulty clear? L1L2
No. Both copies read raw=00 after service. Compare raw status and IRQ on the access where clear and rise coincide.
Follow-upPractise The Last Register Read →The pin is asynchronous to the peripheral clock. What comes before edge detection? L1L2
Sample the level through two flip-flops, then detect a rise in the receiving clock domain. A pulse must last long enough to be sampled.
Follow-upPractise An External Pin Changes →Where Is the First Value of a Variable?4
A board retains its program across power loss. main updates an initialized variable in SRAM. Draw the two addresses startup needs before calling main. L1L2
The load address holds the initial bytes in persistent program memory. The run address names writable storage. Startup copies from _data_load into [_data_start, _data_end). It clears [_bss_start, _bss_end). Each end symbol names the first byte beyond its section. Code may run from its stored address or from a separately loaded image.
QuestionPractise Where Is the First Value of a Variable? →At PC 1c in S6.7, x28 gets 5 from 000000d0. At PC 20 it stores 5 to 80000000. Which address should later assignments use? L1L2
Write 80000000. The later load confirms the destination: “0000008c | lw x10, 0(x8) | x10 = 00000005 from mem[80000000]”. The ROM location supplies the initial value again after restart. The next pass copies 3 from d4 to 80000004. Derive the bounds from the image symbols so a layout change moves the startup copy too.
Follow-upPractise Two Stores Before Main →On a chip with embedded flash, startup time and RAM are tight. The team wants all code in RAM to accelerate a loop. Which layout gets the first build? L1L2
Start with execute in place from embedded flash. On ap_soc, execution in place from board flash is unavailable because the ROM loader copies the image into SRAM. S6.17’s comparison takes six copied words and 88 RAM bytes versus 126 words and 568 bytes for copy to RAM. Measure instruction fetch waits in the hot loop. Move code only if the runtime saving repays startup and fits beside the stack.
Follow-upPractise Pick the Code Location →In the separate S6.17 image, .data has size 18 hex and .bss size 40 hex. Why does startup copy six words but clear sixteen? L1L2
The 24 initialized bytes occupy both ROM and RAM. The 64 zeroed bytes occupy RAM alone. Their 88 RAM bytes plus 1024 reserved for stack give the recorded 1112 bytes. Check that the stack cannot grow into the sections.
Follow-upPractise The ROM and RAM Totals Differ →Fit the Interfaces on 32 Pads6
A board needs a boot strap, GPIO, serial pins and timer capture on a proposed 32-pad package. What belongs in the pin assignment table? L1L2
For each pad list its legal functions, reset selection, driven value, output enable and destination of its input. Include the idle level for every disconnected receiver. Check the board can select all functions it needs simultaneously.
QuestionPractise Fit the Interfaces on 32 Pads →S7.4 prints “reset oe=0000 pad=zz01” then “released oe=0000 pad=zz0z rx=1 strap=1”. Why can the saved strap still read one? L1L2
The board held the strap at the sampling edge. The chip kept its drivers off and saved the sampled level at reset release. Later the board can release that pin or use it for another function without changing the boot choice.
Follow-upPractise A Level on a Released Pad →Would you let useful outputs turn on at reset to save firmware setup on this board? L1L2
Keep every shared pad released through reset and strap sampling (rule 3). Require explicit software selection before driving them. This costs setup writes but avoids fighting board drivers. Generate checks across all 32 pads for reset release, one selected driver and reachability of each required connection.
Follow-upPractise Sign off the Pad Table →The serial row reads “oe=0101 pad=z100 rx=0”. The GPIO row has “oe=1001 pad=1z00 rx=1”. Did a new serial bit arrive? L1L2
No. The selected function changed. UART RX listened to pad 1 in serial mode. GPIO now owns that pin and UART receives its idle one. SPI and capture inputs instead require idle zero. Check each receiver when its function loses the pin.
Follow-upPractise Where Does UART RX Go? →In the pad-0 table GPIO and PWM both request drive, with different values. What breaks if their enables are simply ORed? L1L2
An unselected owner could drive even when the selected function is released. Use the same select field for value and enable. For code 00 require enable zero regardless of requests. For each other code check only its owner controls the driver.
Follow-upPractise Two Blocks Want Pad Zero →The serial row reads rx=0 because of a board pull-down. What does the UART make of that level? L1L2
UART RX rests high between frames. A falling edge looks like a start bit. Holding RX low can produce a false frame or a break.
Follow-upPractise The Serial Input Sits Low →A Board That Used to Say Hello6
The new build gives a blank console. You have the working image and can record a few signals. Which comparison would you make first? L2L3
Keep the input bytes, program and stopping point fixed. Record first fetch, issued peripheral address, selected target, accepted byte and board output. The last agreement and first difference bracket a smaller fault than the console symptom alone.
QuestionPractise A Board That Used to Say Hello →In S11.3 trial 2 the failing build counts two GPIO writes. Trial 1 instead changes the status address from 10000004 to 10001004. Which probe separates them? L2L3
Compare the issued address before decoding. A wrong address implicates the software map. A correct UART address selecting GPIO implicates decode. After repair, access both UART and GPIO. A fix that aliases them would pass a UART-only test.
Follow-upPractise Two Writes Somewhere Else →The board has room for one small capture. What would you save before reset recovery erases the clues? L2L3
Trigger on the first failed operation. Save its address, select and readiness if failure precedes a store. If the UART accepted “hi”, capture owner and pin instead. That narrow probe costs visibility elsewhere. Preserve the control run and replay the failing case plus its neighbor.
Follow-upPractise Choose a Probe for the Next Build →S11.5 trial 7 records “first fetch=00000000 ROM ready=0”. Trial 10 instead reaches 80000000 with ROM ready=1. What would you change in each? L2L3
For trial 7 delay requester release until ROM is ready. For trial 10 compare the strap at sampling with the saved selection. Strap 1 starts the core at 80000000. ROM never runs, and only ROM holds this lab’s greeting. Repeat first fetch with each legal boot selection.
Follow-upPractise Neither Run Reaches the UART →S11.3 trial 3 ends “queued=3 pending[2:1]=10”. S11.5 trial 8 instead records three source events and zero serviced. How would you avoid fixing the wrong boundary? L2L3
Trace the event at the device, destination sample and assigned source number together. In trial 3, queued=3 proves the bytes reached UART, whose request is pending on GPIO’s input. Restore UART to source one and test GPIO separately. In trial 8 the queue gets nothing. Hold each request until capture, then sweep phase and spacing against the receiving clock.
Follow-upPractise Three Bytes with No Echo →Trial 5 reports first three="aaa" and queued=3. Would counting only the three reads catch the fault? L2L3
No. Three reads returned the first byte three times, leaving all three bytes queued. Send distinct bytes, compare their values in order and check that the queue drains after service.
Follow-upPractise Three Bytes in the Queue →The Probe Reads an ID. Where Is the Core?6
A board probe reads a repeatable ID, yet its register dump changes between reads. Which parts of the debug path have actually answered? L1L2
An ID establishes a working scan path to a selected data register. A halt needs a command through the debug transport, a request from the debug module and a halted reply from the hart. Wait for that reply before inspecting stopped state.
QuestionPractise The Probe Reads an ID. Where Is the Core? →S8.2 starts the ID scan with TDO bits 1,0,0,0 from 142000b1. Walk the probe from an unknown state to reading those bits. L1L2
Hold TMS high for five rising TCK edges to reset the TAP, then low for Idle. Select DR, capture, then shift the ID least-significant bit first. Shift the last bit while leaving Shift, then update and return to Idle. 142000b1 belongs to the neighbour nearest TDO. In this two-ID scan, ap_soc’s 2a5310c5 begins after the first 32 bits.
Follow-upPractise Walk to the ID Bits →You can halt the hart to inspect registers during a timing failure. When is that acceptable? L1L2
Use a confirmed halt for a consistent view of hart registers. It interrupts execution and other devices can continue changing. For a timing-sensitive failure preserve a running trace first. Use halt and step afterward to test the instruction boundary identified there.
Follow-upPractise Approve a Diagnostic Snapshot →S8.2 prints “mixed bypass=0 upstream_ID=2a5310c5”. How many shift edges read that ID and where does the extra bit come from? L1L2
Count one BYPASS cell near TDO plus the upstream 32-bit ID, or 33 shifts. The bypass bit comes out first. Check the chain length with both chips in BYPASS before blaming a shifted word on the target core.
Follow-upPractise 33 Shifts or 32? →In the separate S8.9 trace e3 is running at 00 after halt was requested. At e4 the hart is halted at 04 with x5=41 hex. Did it ignore the request? L1L2
The instruction in progress finished. Only e4 confirms the stop. A single step next reaches e6 halted at 08 with x5=42 hex. Check that exactly one instruction finished, even if it needed several clock edges.
Follow-upPractise The PC Advances Once More →After those five edges, does the program restart? L1L2
No. The edges reset the test access port (TAP). They select its reset scan state while the processor continues unless it receives a separate reset or halt.
Follow-upPractise Five TMS-High Edges →Enter Test Mode Behind a Closed Gate5
Production test must reach three flip-flops even when their functional clock is gated. One output controls analog bias. What must the tester own before shifting? L2L3
Establish a safe value at the bias boundary. Common practice here is to select test mode with both clocks low and bypass functional reset (S8.5 sources). Give the tester clock pulses past the gate, a reset bypass and control of scan enable. Keep the boundary safe through shift, capture and departure from test mode.
QuestionPractise Enter Test Mode Behind a Closed Gate →S8.5 shifts 001, 010, 100 after a chip clock pulse leaves 000. What additional experiment checks reset ownership? L2L3
Hold both clocks low with the known one still present. Assert test reset and observe “flops=000”. This isolates the reset effect from clocking. Put the test clock mux after the functional gate so a closed gate cannot starve the test clock.
Follow-upPractise A One Behind the Gate →Would you save test time by allowing mode changes while the functional clock runs? L2L3
Follow the common practice in S8.5: use the reset bypass and switch with both clocks low to avoid a shortened pulse. Budget time to stop clocks, engage clamps, prove reset, shift, capture and check safe exit. The extra mux and controls buy repeatable access even with the functional gate closed.
Follow-upPractise Set the Production Test Sequence →S8.5 expects capture 011 and scan out “0 1 1”. The faulty run prints “capture: flops=000” and “scan out, first bit first: 0 0 0”. Which control would you inspect before diagnosing broken logic? L2L3
Keep test mode selected, lower scan enable for one capture pulse, then raise it for readout. Scan enable left high shifts a zero through the cleared chain. Compare the outgoing order with the flip-flop nearest scan out first.
Follow-upPractise The First Capture Pulse →In S8.13 the unclamped run enables bias after three of six pulses. Can the test still shift the same patterns safely? L2L3
Drive the clamp from a test pin, never a scan flip-flop. The analog designer picks the safe level. Bias enable needs zero here, while a power-down input may need one. With the clamp on, the 010 row still requests one but the enable stays zero. Verify every shift pulse and restore a safe functional value before releasing the clamp.
Follow-upPractise The Intermediate Pattern Changes →Who Authorizes the Camera Write?6
A guest programs a camera DMA address. The guest may rearrange its memory, but must never overwrite another guest. Draw the access that actually needs checking. L3L4
Check the camera request on its way to memory. Hardware supplies a stream ID to select a translation context. An I/O memory management unit (IOMMU) first applies the guest mapping. The hypervisor’s second table limits which physical pages that guest can reach. The ap_soc has no IOMMU. S10.7 places one in ap_phone.
QuestionPractise Who Authorizes the Camera Write? →S10.7 ends this offer with “physical=8000903c”. What address can the guest choose and what part survives both translations? L3L4
Guest page 4 maps to page 2, yielding 203c. Only the hypervisor maps page 2 to physical page 80009. Offset 03c survives both lookups. At e3 write is high and SRAM reports one write with byte 63.
Follow-upPractise Stream Three Writes 403c →Would checking the driver’s register writes suffice? What changes if the lookup takes too long for the camera? L3L4
Enforce both translations on device accesses. A register check alone misses later DMA. The model spends e1 and e2 looking up the successful request. Caching translations saves lookup time but adds state. Before reassignment, stop the old stream, drain its writes, remove its mapping and clear remembered translations.
Follow-upPractise Pick the Guest Isolation Boundary →Stream 3 next offers 503c. Its first lookup succeeds. What would show that the guest failed to give itself additional physical memory? L3L4
Stage 1 returns 303c. The hypervisor has no entry for page 3. The result is “write=0 fault=1” and target writes stays one. Check no target accepted any write, including one to the zero shown on the idle address wires.
Follow-upPractise A Second Camera Page →The third offer uses exactly the address that succeeded first. Why is target writes still one? L3L4
Stream 7 has no context. Reject before reading either page table. Only the count staying at writes=1 distinguishes rejection here. The byte at 903c would read 63 after a second identical write too.
Follow-upPractise Stream Seven Offers 403c →A 6 KiB buffer starts at 403c in stream 3. Which pages need mappings, and with which right? L3L4
The last byte is 583b. Guest pages 4 and 5 both need write permission at stage one. Each resulting page also needs a writable stage-two mapping. The first successful byte tests only page 4.
Follow-upPractise A Longer Camera Buffer →When May the Processor Call the Fabric?6
A processor boots beside programmable logic on ap_fpga. The first driver wants to read a fabric register. Which two milestones would you put in the boot contract? L1L2
Track loader completion on the hard side and configured logic out of reset on the fabric side. Open the bridge when both are ready. While the region is unavailable, give software a defined response. The exercise sums ticks for ap_fpga. Vendor boot orders are not checked in S10.19.
QuestionPractise When May the Processor Call the Fabric? →S10.19 gives loader_done=92 fabric_live=67 for fabric-first. Hard-first gives 25 and 92. Which sequence starts software sooner, and which opens the bridge sooner? L1L2
The hard-first loader finishes at 25 and can do hard-side work. Both bridges open at 92 because each waits for its later milestone. With a kept design the fabric is live at 3 and the bridge opens at 25. These are exercise ticks.
Follow-upPractise Fabric First or Hard First? →The board must report a failed fabric update over a hard-side port. Which boot order would you budget for? L1L2
Choose hard-first so diagnostics can run independently. Keep fabric access closed until configuration and local reset finish. Budget the exercise wait from loader completion at 25 to bridge opening at 92, a derived 67 ticks. Test recovery with an image that never becomes ready.
Follow-upPractise Choose an Order for Field Updates →In the separate S10.14 run the first read returns an error in one cycle. The configured read takes eleven and returns a5. What should the driver infer? L1L2
The first response terminates access to an unavailable design. Retry after readiness. In this run hard and fabric clocks have periods of 10 and 40 ns. Budget the bridge crossing for every later access. Four polls already take 45 hard cycles.
Follow-upPractise Two Reads of 40000004 →S10.19 suppresses eight stray valid indications and eight interrupts with decoupling. Why does an older read still show “answered=0 after 20 ticks”? L1L2
Closing the fence hid its reply. Stop admitting work, drain accepted requests, then decouple data and interrupts. Have the static side answer new accesses while the region changes. Reopen only after the new design is initialized.
Follow-upPractise A Read Was Already Open →In hard-first order a fabric pin controls a supply switch. What determines its level before tick 92? L1L2
The fabric driver is unavailable during configuration. Fit a board resistor that holds the switch at its safe level until configured logic takes ownership.
Follow-upPractise Who Sets the Board Supply? →Accept a Release from Six Teams6
Two hundred blocks arrive as subsystems. Firmware builds and every wire has a driver. What would you require before accepting the assembled chip? L3L4
Give each subsystem an owner. Pin each release, generator version and settings. Generate the top level, decode and software header from interface descriptions. Check one end point against a separately reviewed list. For example, drive a device interrupt and observe which handler runs. Specify a measurable service promise at each timing-sensitive boundary.
QuestionPractise Accept a Release from Six Teams →S10.12 gives GPIO base 10001000, size 1000 hex and sel[4]. Suppose two interrupt source numbers in the description were swapped. How would you detect that? L3L4
Drive each device separately and check which actual handler receives it against the independently approved assignment. For the address row, exercise GPIO at its assigned base and observe sel[4]. Deriving expectations from the same description would reproduce its error.
Follow-upPractise The Header and Decoder Agree →A new release keeps every address but reduces service from five completions to three in the agreed window. Would you accept it? L3L4
Hold the pinned release until the service recovers or the firmware owner accepts a revised deadline. Re-run endpoint and timing checks with the exact generator settings and workload. Maintaining an independent contract costs integration time but catches a regression invisible in the wiring diff.
Follow-upPractise Sign the Subsystem Hand-Off →In S1.7 the watch timer has four bits and limit 20. The release reports “timers done: 2 of 3”. Which artifact belongs in the acceptance test? L3L4
Record the effective parameter of each actual instance. Four bits reach only 15, so no amount of waiting reaches 20. Check width against limit at build time and exercise the assembled timer. The five-bit repair finishes at edge 21.
Follow-upPractise A Watch Timer Is Connected →At tick 11 S10.12 prints “accepted=5 completed=3 queued=2”. Both model and RTL agree. Can firmware rely on five completions every twelve ticks? L3L4
Only three completed in the measured window. Two remain queued. The separate every-two-tick quiz reaches five completions in twelve. Preserve the producer schedule, service interval and window when comparing releases. Model agreement alone cannot satisfy a requirement for five.
Follow-upPractise The Queue at Tick 11 →The FPGA prototype runs on a slower clock. Which service number carries over under the same tick schedule? L3L4
Compare completed tickets per tick. To get tickets per second, multiply by the prototype clock frequency. A matching count per tick can still miss the product deadline.
Follow-upPractise A Slower Prototype Clock →Design the Hub Between Sensor and Host5
Use a four-sensor workload of 925 samples/s and 7325 tagged bytes/s. The host requests a batch every two seconds. What must stay live between visits? L2L4
Timestamp and collect the samples, service sensor FIFOs and retain the ring in SRAM. Give the host a DMA path while collection continues. Set limits for the oldest sample’s delivery time, maximum host lateness, awake fraction and average power. Count lost samples and late reads.
QuestionPractise Design the Hub Between Sensor and Host →S11.10 records 14,650 µs for a host read. Derive the extra ring space. What changes if the host stalls for another 10 ms? L2L4
At 7325 B/s, round 107.31 bytes up to 108. The recorded ring holds 14,758 bytes versus 29,300 for two batches. The proposed extra stall adds 73.25 bytes of arrivals, so reserve another 74 conservatively. Bound host lateness too or no fixed reserve suffices.
Follow-upPractise The Host Is Still Reading →For this interview allow 2.020 s from first sample to complete delivery and 420 µW average. Would you sign off the two-second batch? L2L4
Conditionally choose the ring and clock-only sleep with SRAM powered. Derived nominal margin is 2.020 s less 2 s and 14.650 ms, or 5.350 ms. At 398 µW average, the derived two-second energy is 796 µJ against an 840 µJ allowance. Charge wake, arbitration and host lateness against those margins. The proposed 10 ms stall breaks the deadline even with extra storage, while shorter batches cost more host wakes.
Follow-upPractise Defend the Reporting Contract →S11.10 reports one core cycle per host byte and maximum gyroscope fill 26 of 32 places. Is average bandwidth enough to sign off shared SRAM? L2L4
The 26 places fill during SPI wait behind the accelerometer. The host row reports “host core_cycles_per_byte=1 dma_needed=1”. At 400 samples/s, six more arrivals fill the remaining six places in 15 ms from the last arrival. The exercise does not model host DMA competing for SRAM. Test the worst overlap and sampling phase, then limit host bursts if the producer would overflow.
Follow-upPractise The Sensors Keep Writing →The S11.7 kit trace runs DMA from kit tick t=51 to t=55. How should entry behave if the host requests service before the transfer finishes? L2L4
Latch the wake on a running clock while waiting for completion and bus idle. A pending wake prevents gate closure or reopens the gate. Check both sides of the entry edge. The board trace sleeps at board edge 71 and records pending at board edge 78 with zero gated edges. Do not subtract kit ticks from board edges.
Follow-upPractise A Wake Arrives During the Last Write →Follow a Peripheral Read6
A program reads a switch through a peripheral register. Who supplies the address and value? When can the processor use the value? L0L1
The processor issues the register address. The bridge selects the peripheral, which supplies the sampled switch value. The processor takes the value on the edge that completes the read.
QuestionPractise Follow a Peripheral Read →Two devices can both return zero. How would you tell which one answered? L0L1
Look at the address and the selected device. At PC 0 and PC 2, LOAD 15 selects the switches both times. The returned values differ because the switches moved between reads.
Follow-upPractise Select the Device →You may mark two moments on the trace. Which prove where the request went and what the processor received? L0L1
At e0 the bridge takes the GPIO address. At e3 the core accepts 00008042 from GPIO. Three clock periods separate those edges, including one wait state.
Follow-upPractise Show One Successful Read →At e2 HRDATA already shows 00008042, but HREADY is zero. May the core use that word? L0L1
Wait until e3. Only that edge has PSEL, PENABLE, PREADY and HREADY all high together.
Follow-upPractise Data at e2 →The instruction names a processor register and accesses a peripheral register. Which one receives the result? L0L1
The peripheral register supplies the data. The load writes its destination register inside the processor.
Follow-upPractise Distinguish Two Registers →How long does the read take with zero, one or two waits? Where else could a larger chip spend time? L0L1
From address acceptance, setup and access take two periods with no wait. One wait gives three periods and two give four. Measure any delay before address acceptance, time inside the device, and time carrying the reply back.
Follow-upPractise Account for Each Period →When Is the Buffer Ready?7
The DMA has copied bytes into SRAM. How can a driver tell when to read them? L1L3
Completion must follow acceptance of the final write. Software can take the completion interrupt or poll the DMA pending bit, as S11.6 does with source 5 disabled. On a cached system the driver must also ensure its read sees the new bytes.
QuestionPractise When Is the Buffer Ready? →The engine raises done on its last device read. What happens if SRAM makes the engine wait? L1L3
Raise done only when the destination takes the last write. In the lab the last read occurs at e33. SRAM takes that byte at e35.
Follow-upPractise A Write Is Still Pending →When may a caller inspect the result, and when may the engine reuse the buffer? L1L3
If the engine reads a cached input buffer, clean its dirty lines before START. On success, the final destination write precedes notification. Invalidate a cached result line before reading it. On fault report only bytes known to have reached memory. Give the buffer back after its last reader finishes.
Follow-upPractise Write the Driver Contract →Now use the S9.9 model. The engine reads a buffer from SRAM and writes its result there. Why might both participants read stale values? L1L3
Clean the dirty cache lines holding the input before START so the engine reads current data. Invalidate the result line before the hart reads it. Without upkeep the row says “hart reads 00000000 WRONG”. The ap_soc v1.0 chip has no data cache.
Follow-upPractise A Current Copy →The driver gives the buffer back while another task is parsing it. Would a coherent port make this safe? L1L3
The engine could overwrite bytes during parsing even with perfect visibility. Return ownership only after the final consumer releases the buffer.
Follow-upPractise An Early Reuse →A four-byte job faults on its third device read. Which bytes are valid? What changes if that read succeeded and its write failed? L1L3
The e30 read fault leaves 73650000 in SRAM. Only the first two bytes are valid. After a write error the device has already removed the third byte from its queue. The DMA holds the only copy. Recover that byte before issuing another read, or report data loss.
Follow-upPractise A Fault on Byte Three →Why does the driver program SRC, DST and LEN before writing START? L1L3
START allows the engine to use those registers immediately. An early start could combine this source with the previous destination or length.
Follow-upPractise The First Bus Request →The Display Misses Its Deadline7
A display consumes bytes from a FIFO during each frame. It runs empty before the next refill. The bus was busy only 40% of that frame. What would you measure? L2L3
A FIFO underrun means the display needed a byte while its queue was empty. Measure the time from refill request to usable data. Compare consumption during that delay with the bytes available when the request began.
QuestionPractise The Display Misses Its Deadline →The display won arbitration immediately. What two observations would narrow the remaining delay? L2L3
Timestamp acceptance at the memory target and arrival of usable data at the FIFO. Compare those with the grant to localize the delay.
Follow-upPractise The Grant Came Promptly →A reviewer proposes doubling the refill weight. What would establish that the display will meet every deadline? L2L3
More grants can lengthen the round for another requester. Bound the waits for a grant, the target and the reply, including the longest allowed burst. Show the reserve covers that delay and that incoming words can keep up with consumption.
Follow-upPractise Sign off the Deadline →The FIFO holds 96 bytes and drains eight per microsecond. Can it cover 15 microseconds? How would you price the bus wait? L2L3
The reserve lasts 12 microseconds. Fifteen requires 120 bytes. In the C,D,D,J round, the processor can wait three slots behind D,D,J. Two four-word DMA turns and one debug word make that nine word times before service, assuming memory always accepts.
Follow-upPractise Price the Reserve →Which three timestamped events distinguish request starvation from a slow response? L2L3
Capture the refill request arriving at the arbiter, its grant, and the first usable data returning. Match all three to the same refill.
Follow-upPractise Choose Three Events →Policy 0 prints a processor wait of 12 slots. Can firmware use 12 as the limit? L2L3
Doubling the run gives 24 because DMA wins every slot. Policy 1 still reports 3,2,3 for C,D,J. Its repeating C,D,D,J order proves those limits when each slot serves one word.
Follow-upPractise Does the Longest Wait Prove a Bound? →What if competing managers can hold their grants for bursts of any length? L2L3
Even one turn ahead of the refill can then last arbitrarily long. Enforce a maximum burst and bound target waits before converting turns to clock periods.
Follow-upPractise One Grant Lasts Longer →Wake a Core Whose Clock Has Stopped5
The core clock stops in ap_soc sleep. A button changes after its last edge. What can still observe the change and restart execution? L1L3
All supplies stay on and the peripheral bus clock keeps running. A detector on the always-on clock records the press in a pending bit. That bit opens the core clock gate. In the separate S11.7 board run, the PC resumes at 0x94.
QuestionPractise Wake a Core Whose Clock Has Stopped →Can the always-on detector capture every press, even one shorter than its clock period? L1L3
A press shorter than one period of that clock could slip between two samples. Hold the request until sampled or specify a minimum width that guarantees sampling. A detector driven by the stopped core clock cannot wake that core.
Follow-upPractise A Short Wake Pulse →Which observations distinguish a resumed program from a fresh boot? How should software identify a button that has already been released? L1L3
In S5.8 the core edge count stays at seven as pending rises, then advances to eight. In S11.7 execution resumes at 0x94 with the copied SRAM word intact. Read the stored cause before acknowledging it. The pin gives only its present level.
Follow-upPractise Test the Handoff →Suppose a different chip switches off its peripheral supply in deep sleep. What changes, and which sleep mode meets a 3 µs wake deadline? L1L3
Apply QUIET before switching off PD_PER to hold its outputs at safe values. Restore the supply and reset the domain before releasing isolation. Power good alone cannot authorize a peripheral read. In S5.13 sleep wakes in 1 µs and deep sleep takes 5 µs. Only sleep meets the deadline.
Follow-upPractise Choose a Deeper Sleep Mode →The button event becomes pending just as software requests sleep. When can the gate actually close? L1L3
Close it only when the sleep request is one, the bus is idle and pending is zero. A pending wake keeps the gate open. If the gate already closed, the always-on detector can still set pending and reopen it.
Follow-upPractise Wake During Entry →The Handler Never Ran7
Firmware times out waiting for a peripheral interrupt. The device can latch an event even when delivery is masked. What would you inspect first, and why? L1L3
Read raw status if the read preserves it. A set flag directs attention toward masking and delivery. A clear flag calls for checking capture and any earlier clear.
QuestionPractise The Handler Never Ran →A second driver can clear the event flag. Does a zero prove the device missed the event? L1L3
Trace capture and clear together. An earlier clear could explain the zero. In S6.2 a rise coincides with a clear. The correct device keeps raw=10 while the faulty one clears it to 00.
Follow-upPractise The Raw Flag Is Clear →How would you report the failure so the next engineer can reproduce it without accepting your preferred diagnosis? L1L3
Record the stimulus, source ID, masks and timing. Name the last observed event and the first expected event that failed under a reliable probe. Prefer a passive trace when a claim read would consume evidence. Budget capture storage for the full service and return.
Follow-upPractise Report the First Missing Event →The source is pending. Which gates stand between that bit and trap entry on ap_soc? L1L3
Check that priority exceeds zero, the source is enabled and its priority strictly exceeds the threshold. Follow the external interrupt wire to the core. Check mie bit 11 and mstatus bit 3, then look for trap entry.
Follow-upPractise Pending at the Controller →The request wire rose. A complete capture of that interval has no I packet. What can you conclude? What if the start packet is missing? L1L3
The core took no interrupt during the complete capture. The request wire alone cannot prove entry. With the start packet removed, the decoder can place “not one address”. Capture the start and the event together before reporting a handler address.
Follow-upPractise The Trace During the Request →The first event reached the handler. The next never arrives. Which write would you check? L1L3
Compare the ID returned by claim with the ID written on completion. A wrong ID leaves the original gateway busy, blocking the next request from that source.
Follow-upPractise Only the First Interrupt Works →In S11.6 UART0 receives 4b at t=36. The core saves mepc=00000060, enters 180 hex and claims 1. Trace that byte through return. L1L3
Read the UART receive register once to pop the byte, publish the sample in SRAM, then complete ID 1 at t=39. At t=41 mret resumes at the saved PC 00000060. RISC-V specifies that mret restores MIE from MPIE. For nested interrupts, save mepc and mstatus before reopening MIE. S6.14 describes these rules without checking them.
Follow-upPractise What Happens After Claim One? →Choose How to Share a Buffer7
Two cores will exchange a buffer on a new chip. What would you measure before choosing how they share it? L2L4
The ap_soc chip has one hart and no data cache. S9.3 and S9.9 model cached systems. Measure which lines each participant changes, how often ownership moves and when the reader needs the result. Both designs need a rule for publishing completed data.
QuestionPractise Choose How to Share a Buffer →Each core writes its own counter. Why does moving one counter to a different cache line reduce traffic? L2L4
Writing either counter requires ownership of its whole line. Alternating writers on one line repeatedly take ownership from each other. The false sharing run reports “bus commands=4 flushes=3”. Separate lines need one bus command in the comparison.
Follow-upPractise Different Words on One Line →The engine can use a coherent port or software can clean and invalidate lines. Which wins for a 16-word buffer? L2L4
In the S9.9 model, four dirty lines cost 38 cycles with cleaning and 33 through the port. One dirty line costs 26 against 33. Cleaning wins with at most two dirty lines. On that path, wait for completion and invalidate the result before reading. These are model results because ap_soc has one hart and no data cache.
Follow-upPractise Choose How the Engine Reads the Buffer →Larger batches reduce handoffs, but the oldest sample now waits too long. What would govern your batch size? L2L4
Size from the peak arrival rate. Bound the oldest sample’s wait for the batch to fill, transfer and finish processing. Send a partial batch when waiting for another sample would miss its deadline.
Follow-upPractise A Deadline Limits Batching →In the mailbox example, which store must become visible before the producer wakes the reader? L2L4
Publish the payload first, then raise the wake request. With RAISE_FIRST the second hart reads zero at e5. The mailbox store arrives at e10. Return ownership only when the reader finishes using the buffer.
Follow-upPractise Publish a Completed Buffer →S9.3’s four-state run starts “A=E B=I mem=0000”. A writes 55. Who has the current value, and what if B now reads and then writes? L2L4
Only A held the clean copy, so its write changes E to M silently. The row gives “bus=-” and memory still holds 0000. For B’s read, the quiz records “s4 B read got=0055 bus=read-miss from=A wb=A A=S B=S mem=0055”. In a separate run B writes from S by invalidating A: “s3 B write x=11 bus=invalidate … A=I B=M”.
Follow-upPractise Who Owns X After the First Write? →What must the system learn on A’s read miss before granting E instead of S? L2L4
Every other cache must say whether it holds the block. Only when no other cache has a copy can A later write silently. A shared level can keep track of holders to direct those checks.
Follow-upPractise The Price of a Silent Write →Draw the Chip Boundary6
A team calls its sensor controller a microcontroller, an SoC, and an FPGA prototype. Can all three descriptions fit one design? L0L2
Yes. An SoC integrates a processor, memory, a bus and devices into a working system on one chip. Microcontroller describes the small control computer the team needs. FPGA describes how the team implemented its circuit.
QuestionPractise Draw the Chip Boundary →The board still has a flash chip. Where would you draw it on the ap_soc diagram? L0L2
Draw the flash outside, with pins leading to the SPI device inside. The processor, boot ROM and SRAM sit inside the SoC.
Follow-upPractise Place the Program Store →The team expects peripheral changes during trials and stable hardware for production. What would you build first, and what would you measure? L0L2
Prototype the controller in an FPGA so the team can revise the peripheral. Check the real pin behavior and required speed. Revisit fixed silicon when the circuit, volume and cost estimates settle.
Follow-upPractise Defend the Prototype Choice →The FPGA costs 60 + 8V and the ASIC costs 180 + 4V, with V in thousands of parts. When does the choice change? L0L2
The ASIC costs $120,000 more upfront and saves $4 per part. At 30,000 parts both cost $300,000. The worksheet awards the tie to the FPGA by offer code. Above that volume the ASIC costs less.
Follow-upPractise Revisit the Production Part →One update changes a threshold in software. Another needs a new peripheral circuit. Which change affects your implementation choice? L0L2
The processor in either the FPGA or the ASIC can run revised threshold code. A new circuit needs available programmable logic or a change to the fixed silicon.
Follow-upPractise The Update Changes Logic →The FPGA runs the firmware and toggles the expected pins. Which production claims still need ASIC evidence? L0L2
The run checks the logic and signal sequence at the board pins. The ASIC has different gates, routing, pads and packaging. Check its attainable clock speed, power and pin electrical behavior against the production requirements.
Follow-upPractise What Transfers from the Prototype? →Why Did the Core Enter the Handler?6
Two runs enter the same machine handler. One executed an illegal instruction. The other received a timer request. How would you tell them apart? L0L2
Both transfers into the handler are traps. The illegal instruction causes a synchronous exception. The interrupt comes from a request outside the instruction stream. Read mcause for the interrupt bit and cause code, then inspect the saved address in mepc.
QuestionPractise Why Did the Core Enter the Handler? →In machine mode mip shows the timer pending, mie has MTIE set, and mstatus.MIE is zero. An illegal instruction still enters the handler. Why? L0L2
The interrupt enable gates interrupt delivery. The illegal instruction raises its own synchronous exception regardless of that enable.
Follow-upPractise Pending Without Entry →A colleague proposes one return address rule for every cause. What evidence would you require before allowing the program to resume? L0L2
For an interrupt, preserve the saved resume address and service the source. For a repaired fault, retry at the faulting address. Advance past a completed ecall. Only an explicit skip or emulation policy justifies advancing mepc by four after an illegal word. If the fault remains unexplained, stop and report its cause and address.
Follow-upPractise Choose the Return Address →A store after the illegal word has already written SRAM when the handler starts. Can software treat this as a precise exception? L0L2
No. Older instructions may finish, but the faulting instruction and younger instructions must leave no normal results. The changed SRAM violates that boundary.
Follow-upPractise A Younger Store Appears →The cause now identifies an ecall. The handler completed the requested service. What would returning to the saved address do? L0L2
It would execute ecall again. On ap_rv32 the handler advances mepc by the four-byte instruction length before mret.
The handler sets MIE back to one. A second interrupt arrives before the first handler returns. What happens to mepc? L0L2
Trap entry overwrites mepc with the resume address inside the first handler. Before enabling nesting, save the outer mepc and needed status on the stack. Restore that context before the outer mret.
Follow-upPractise A Second Interrupt Enters →Design a Microcontroller Memory Map6
A microcontroller needs boot ROM, SRAM and peripheral registers. Firmware needs stable addresses and errors on unused space. What map would you give both teams? L0L2
List each region with its owner, aligned base and size. Reserve space for growth and give unowned transfers a default error response. Generate the hardware decode and software addresses from the same map.
QuestionPractise Design a Microcontroller Memory Map →A proposed window starts at 0x4000 and spans 0x1000 bytes. Another starts at 0x4800. Is the second base free? L0L2
Its end, base + size, is 0x5000. The second base lies inside the first window. Move or resize a region before generating the decoder.
Follow-upPractise Two Proposed Windows →A future peripheral needs space beside an existing device. How would you preserve firmware compatibility and demonstrate the new boundary? L0L2
Allocate a reserved window without moving a published region. Test the first and last valid addresses and the addresses just outside. Check the selected owner and completed response against the revised map.
Follow-upPractise Keep Room for the Next Device →The map has no overlap. A read in a hole still selects the UART. What would you compare? L0L2
Compare the implemented address comparison with the full region in the map. Ignoring a required upper bit can make two addresses select the same register.
Follow-upPractise An Address Outside the Map →HREADY stays low forever on a NONSEQ read of the hole at 0x1000_7000. What is missing, and why should ERROR take two cycles? L0L2
A default subordinate must answer the hole. HRESP=1 with HREADY=0 gives the manager time to cancel the following pipelined transfer. HRESP=1 with HREADY=1 finishes the failed read. An IDLE cycle gets OKAY.
Follow-upPractise A Read in the Gap →For the 0x1000-byte window at 0x4000, which address bits must the decoder compare? L0L2
The low twelve bits cover offsets 0x000 through 0xfff. Compare every higher bit against the base. A power-of-two size on its own size boundary makes that single comparison sufficient.
Follow-upPractise What Does Alignment Buy? →Choose a Bus for Each Port6
A chip has occasional control writes, sequential SRAM reads, and a port issuing several reads before any reply. Where would APB, AHB and AXI fit? L0L2
Use APB for control registers and consider pipelined AHB for successive SRAM reads. Use AXI where the port needs several outstanding transactions. Check that the target can actually accept the requested traffic.
QuestionPractise Choose a Bus for Each Port →The processor uses AHB and the APB device extends its access. Sketch the bridge. What must survive the wait? L0L2
Draw the AHB port feeding saved address and control registers, then an APB controller driving the device. Hold the request stable through setup, access and any extra wait cycles. Hold HREADY low through the APB wait. Return the read data on success. Translate PSLVERR at completion into the two-cycle AHB error.
Follow-upPractise The Register Takes Longer →The team can upgrade one port to AXI. Which observation would justify it, and what would you measure after the change? L0L2
Look for idle service capacity while independent requests wait for earlier replies. Verify that both endpoints support outstanding work. Compare completed useful reads per unit time under the same traffic.
Follow-upPractise Justify the Extra Logic →The target accepts its next request only after returning the current result. What happens to the proposed gain from outstanding reads? L0L2
Requests may queue upstream, but this target still serves one at a time. Measure its service time before paying for more stored routes.
Follow-upPractise Only One Read Fits →Instruction fetches stall behind register writes even though ROM is idle. Which part of the design would you examine first? L0L2
Trace where the two paths share a grant or a waiting transfer. Separate target paths can allow concurrent service if the requesters can issue independently.
Follow-upPractise Two Independent Targets →The CPU fetches from ROM while DMA reads SRAM at e1 in the matrix lab. Does that concurrency justify AXI? L0L2
Separate AHB paths already serve those two managers together. No ap_soc port needs several requests outstanding before its first reply. The extra AXI channels and stored routes would buy no useful overlap here.
Follow-upPractise Why Does ap_soc Have No AXI? →Reset a Block with a Stopped Clock6
A block must enter reset even if its clock has stopped. Its first active edge must start from a known state. How would you arrange reset? L0L2
A synchronous reset takes effect on a clock edge, so it cannot meet the stopped-clock requirement alone. Assert the local reset asynchronously. Pass release through a reset synchronizer clocked by the block itself.
QuestionPractise Reset a Block with a Stopped Clock →External reset releases well before a rising edge. The clock stops again immediately after that edge. Has the two-stage circuit released the block? L0L2
No. The first stage captures the 1. The second still holds zero. The second stage needs another rising edge.
Follow-upPractise Only One Edge Arrives →The bus has left reset while its target still waits for a clock. When would you allow the first request? L0L2
Keep the requester held or block its accesses until the target clock runs and local reset releases. Wait for target readiness if initialization takes longer. Verify the first completed response across that handoff.
Follow-upPractise Authorize the First Request →The bus clock runs while the device clock is paused. Can the reset synchronized to the bus clock release the device? L0L2
Give the device a synchronizer on its own clock. The bus release establishes timing only for registers driven by the bus clock.
Follow-upPractise Two Reset Outputs →Releasing a raw pin near an edge sometimes starts two state registers on different cycles. How could that happen? L0L2
The registers can see release at different times relative to the edge. Some may advance while others stay reset. Synchronize release locally and check reset distribution timing.
Follow-upPractise A State Machine Starts Wrong →In S5.5 the pin releases at 14 ns, stage one reads 1 at 15 ns and local reset releases at 25 ns. Why keep the first stage private? L0L2
Release too close to an edge can violate recovery time and leave stage one metastable. Stage two gives it time to settle before local logic sees release. Check recovery from local reset deassertion to the next active edge at each receiving flop.
Follow-upPractise The First Edge After Release →Bring up a Cold Chip5
A board starts without power. The processor must fetch its loader from ROM. What has to happen before you release the processor? L1L3
Wait for supply good, start the oscillator, then start the PLL once the oscillator is ready. After lock, sample the strap once. A saved zero starts at 0x0000_0000 in boot ROM. One starts at 0x8000_0000 in SRAM and needs a preloaded image. For this cold ROM boot, select zero and release the bus and ROM, wait for ROM readiness, then release the processor. Check that ROM successfully answers the reset-vector fetch.
QuestionPractise Bring up a Cold Chip →The clock is locked and the saved strap selects ROM. The ROM still reports busy. Which release can proceed? L1L3
Release the bus and ROM so initialization can finish. Hold the processor until the ROM reports ready. Clock lock alone says nothing about instruction availability.
Follow-upPractise Lock Arrives Before ROM Readiness →A reviewer wants to save time by releasing the core earlier and shortening the image copy. What two conditions must the faster design still prove? L1L3
The selected boot target must answer the first instruction fetch successfully. Before jumping, the loader must have placed the entire required image at its linked addresses. Test both boundaries from a cold start.
Follow-upPractise Set the Boot Handoff Condition →ROM fetches succeed. The ROM loader must copy the external flash image. What bus activity should follow? L1L3
Look for reads of the flash data register at 0x1000_5000 paired with SRAM writes. After the final word, expect a jump and a successful fetch at the SRAM entry address.
Follow-upPractise The Loader Runs but the Application Does Not →The entry word runs after either reset. A later instruction fails only after cold power-up. Which transfer would you check? L1L3
Compare the last required flash word with the corresponding SRAM write before the jump. A short copy can leave a good old word after a warm restart or a debugger load.
Follow-upPractise A Warm Restart Hides the Failure →Review an Event Register6
The driver configures a device, issues commands and acknowledges events through one word. What does firmware need to know about each field? L0L2
Specify the reset value, read result and effect of a write. Distinguish read-only status, read/write settings, write-only commands and settings that lock on the first write. For event flags, document whether a read consumes them or a written one clears them.
QuestionPractise Review an Event Register →A debugger saw the read-to-clear flag set. The driver reads zero immediately afterward. Which observation explains both results? L0L2
The debugger received the set flag and cleared it through that same read. Give one reader ownership and share its saved result with other observers.
Follow-upPractise The Driver Sees No Event →Both the driver and a diagnostic reader need to inspect pending state. Which contract would you publish and how would you test it? L0L2
Let either reader inspect pending without consuming it. Give the driver explicit write-one-to-clear acknowledgment. Test two reads, clearing one pending bit among several, and a new event during acknowledgment.
Follow-upPractise Choose How to Acknowledge Events →The write-once route field is already locked. Firmware reads a mixed word, changes enable and writes the word back. Why did an unrelated pending flag disappear? L0L2
The read returned one for the pending flag. Writing that one back acknowledged it. Rewriting the locked route field had no effect. Construct the write from the field rules, writing zeros to the W1C flags you want to preserve.
Follow-upPractise A Pending Flag Disappears →A fresh event arrives on the edge that acknowledges an older event. Which result would let the driver discover the fresh event? L0L2
Give hardware set priority for this flag. Keeping it pending permits another service pass. A single pending bit still cannot count repeated events.
Follow-upPractise Set and Clear Share an Edge →A driver reads GPIO OUT as zero. A handler sets bit one before the driver writes back 0x1 for bit zero. What survives? L0L2
OUT ends at 0x1. The driver erased the handler’s update by merging against an old value. Write 0x1 to GPIO SET instead. Where only a shared RW word exists, serialize the whole read-modify-write across its writers.
Follow-upPractise Two Drivers Update One Word →Choose Who Waits and Who Moves the Bytes5
A driver has a brief startup wait, a rare input while other work runs, and a long UART transfer. How would you serve each? L0L2
Poll for the brief wait if the processor can spare the time. Use an interrupt for the rare input so other work can proceed. Consider DMA for the long transfer to spread setup cost across many bytes.
QuestionPractise Choose Who Waits and Who Moves the Bytes →A board change stretches the wait while another task needs the processor. What would you reconsider? L0L2
Measure the longest busy wait against the other task’s deadline. If the device can signal readiness, use an interrupt and resume the waiting operation later.
Follow-upPractise The Wait Becomes Unpredictable →Four letters take 61 elapsed cycles with polling, 75 with interrupts and 70 with DMA. Which result would you present to a firmware team? L0L2
Polling delivers the last letter to UART0 first, but occupies the processor for 60 cycles. DMA occupies it for 12 and interrupts for 38. For a deadline at the pin, measure the last transmitted bit too. The lab stops at register acceptance.
Follow-upPractise Interpret the Timing Results →S6.9 sends one letter with room available. DMA needs four three-cycle setup writes. Interrupt service needs eight cycles per letter. Which method occupies the processor least? L0L2
Polling wins with one status read and one write, six cycles. DMA costs 4 × 3 = 12. Interrupts cost 3 + 8 + 3 = 14 including enable and disable. Only the handler cost repeats per letter.
Follow-upPractise Price a Short Transfer →Several bytes remain in SRAM when the UART runs out of room. What must the DMA do before the next device write? L0L2
Wait for transmit space. Advance the memory address as bytes transfer and keep the UART data address fixed. Report success only after the last write completes.
Follow-upPractise UART0 Has No Room →Follow a Store Through Five Stages6
Follow the store at address 18 through a five-stage pipeline. Where do its address, data and write enable meet? L0L3
IF fetches the instruction, and ID reads the base register and store data. EX adds the offset. In MEM the address and data arrive with the write enable. The store has no register result in WB. Other instructions occupy the remaining stages. In S2.7 seven independent instructions take seven clocks plus four to fill and drain.
QuestionPractise Follow a Store Through Five Stages →S2.24 decodes the store in cycle 8. In cycle 10 EX/MEM has mem_write=1 while ID/EX has mem_read=1. Which action reaches memory? L0L3
The older store writes. Its address, data and write enable reach MEM together through EX/MEM. The younger load in EX still carries its own read enable. Trace operands with the same care: S2.25 forwards the newest matching write.
Follow-upPractise Who Owns the Write Enable? →S2.24 counts 65 levels in the ALU and 80 on the longest pipelined path. Would splitting EX reduce program time? L0L3
Locate the endpoints of the 80-level path before choosing the cut. For seven independent instructions the single-cycle design costs 854 level delays against 880 pipelined. For 100 the costs are 12,200 and 8,320, about a 1.5× speedup. Resolving a branch one stage later raises the two-cycle redirect penalty to three. Compare cycles times period again on the intended instruction mix.
Follow-upPractise Decide Where to Cut →With the S2.9 stall disabled, the dependent add leaves x7=80000007. What did the bypass deliver, and which stages should wait? L0L3
The bypass delivered the address calculated in EX. Load data arrives after MEM, too late for the adjacent add in EX. Hold the PC and IF/ID, send a bubble into ID/EX and let the load advance. Forward its data to the delayed add.
Follow-upPractise The Add Produces 80000007 →S2.9 takes 12 clocks for seven instructions and 12 for eight with a gap. How can more work take the same time? L0L3
An independent instruction occupies the slot that the adjacent reader had to leave empty. Verify that moving it preserves dependencies and observable behavior. Then check that the reader receives the load value without a stall.
Follow-upPractise Two Schedules for the Same Load →In cycle 6 the branch at 0c redirects to 18. Which work is discarded? Suppose splitting EX delays that decision one clock. L0L3
Discard the younger instructions at 10 and 14. The recorded loop redirects twice, losing four cycles to branches. If fetch continues each cycle, one more younger instruction enters before each new decision. Two redirects would then cost six cycles, before accounting for the extra stage needed to fill the pipeline.
Follow-upPractise Price the Later Branch Decision →Choose a Cache for a Loop5
A proposed cache holds 16 words. A loop walks 32 array words and touches one of four distant counters after each word. What would you compare? L1L3
Hold data capacity and the address trace fixed. Vary block size and ways per set. With multiple ways, hold the rule for choosing a victim fixed. Count misses, time each refill, and check the cost of the hit path. Adjacent array reads can share a refill while distant counters compete for lines.
QuestionPractise Choose a Cache for a Loop →S3.3 uses ten address bits, four direct-mapped lines and 16 bytes per block. Why does 0x1ac hit after 0x1a4, yet 0x2a8 evicts that line? L1L3
Four low bits select a byte in the block, the next two select a line, and four remain for the tag. The first two addresses have tag 6 and index 2. The third has tag a and index 2, so the next read of 0x1a0 misses.
Follow-upPractise Find the Eviction in the Address →Switch to the S3.6 loop over two eight-word arrays for four passes. Would adding ways help equally at eight and sixteen lines? L1L3
Eight lines cannot hold the 16 blocks the loop reuses, even with unrestricted placement. At sixteen lines, two ways remove 48 conflict misses. In the S3.4 cost table, moving from one to two ways raises cell count from 58 to 165. The longest path grows from seven gates to eight. Check that the saved misses repay the slower hit path.
Follow-upPractise Defend the Extra Comparators →For blocks 0,4,0,4,1,2,3,0,1 the S3.6 direct map records five compulsory, two conflict and one capacity miss. Which disappear with two ways? L1L3
Blocks 0 and 4 can coexist, removing the two conflict misses. The five first references still miss. Five distinct blocks pass through four lines before the later reuse of 0. Even the fully associative comparison cache lost it.
Follow-upPractise Keep Four Lines and Change the Ways →With no prefetch, two-word blocks take 664 cycles and four-word blocks take 800. Does fetching the next line early change the choice? L1L3
Next-line prefetch cuts 664 cycles to 564 for two-word blocks and 800 to 616 for four-word blocks. Four-word blocks gain more cycles but still finish later. Compare total time on the same trace, including the cost of fetched neighbors.
Follow-upPractise Price a Next-Line Prefetch →Specify What a Store Does6
A cache experiment reports seven hits under both write-through and write-back, yet counts eight memory writes versus one. What would you specify for stores? L2L3
Specify what a hit updates and, separately, whether a store miss allocates a block. Write-through sends each update to memory. Write-back marks the cached block dirty and combines repeated updates until eviction. Allocation lets later stores hit, at the price of fetching the block.
QuestionPractise Specify What a Store Does →S3.17 shows WRITE_BACK for words 68 through 6b at e11–e15. At e16 ALLOCATE requests word a8. Why save the old tag? L2L3
Form the eviction address from the victim tag and index. Preserve the dirty data until its writes finish. Using the incoming tag would write the old words over block a8 and leave 68–6b stale. With write-back skipped, memory word 69 still holds c0de0069.
Follow-upPractise Which Address Goes Back? →S3.17 shows zero hits with no allocation and seven with allocation. Would you always fetch a block on the first store? L2L3
Repeated writes in this trace benefit from keeping the block. For a stream written once, fetching each block may waste bandwidth and displace useful reads. Compare fetches, writes and completion time, including the final dirty evictions.
Follow-upPractise Choose a Policy for the Write Stream →For the read of 1a4, S3.5 returns word 68 at e4. The line fills at e7. Why does the recorded controller wait until e8? L2L3
Word 68 starts the block. The requested word 69 arrives at e5. This controller fills the whole line, installs its tag and retries the saved read. At e8 the compare hits and ready qualifies c0de0069.
Follow-upPractise The First Word at e4 →S3.18 buffers 2222 for word 20 at tick 1. A miss reads 1111 at tick 5. Why can later hits stay wrong after memory catches up? L2L3
The miss installed stale data in the cache. Wait for pending writes to drain, then refill from memory, as at tick 10. Alternatively compare addresses and supply the matching buffered word, as at tick 2.
Follow-upPractise A Load Passes a Buffered Store →What would answering at e5 require? Why does simply advancing ready fail for a read of 1ac? L2L3
Match the returning word to the saved offset and deliver that valid word directly to the requester. Track the unfinished refill so later requests cannot hit missing words. For 1ac, raising ready one edge early returned xxxxxxxx because its word was still missing.
Follow-upPractise Ready at e5 →Trace a Load Through Translation7
The TLB has four entries and the page table has two levels. The core loads from 0x00403abc. What information can a TLB hit supply? L1L3
Look up the virtual page number in the current address space. A valid matching entry supplies a physical frame and access permissions. If the load is allowed, retain the twelve offset bits. S3.23 reads entry 0000245b at 1100c. Frame 09 gives physical address 0x09abc. The ap_soc chip itself uses physical addresses directly.
QuestionPractise Trace a Load Through Translation →For page 00403, S3.23 reads 10004 at e2 and 1100c at e3. Why are those different addresses, and what happens at e4? L1L3
The upper page index selects a root entry pointing to table frame 11. The lower index selects the leaf there, giving frame 09. Refill under the saved virtual page and retry. The access hits at e4, and the next same-page access takes one edge.
Follow-upPractise Follow Two Table Reads →The program keeps its address-space ID. In S3.24 the operating system removes write permission, yet the next store succeeds. What completes the change? L1L3
Invalidate the cached translation wherever that address space may still use it. Complete the invalidation before relying on the new protection. Retry the store and check that the new entry denies it. Count subsequent walks when pricing invalidation.
Follow-upPractise Revoke Write Permission →S3.22 allows a user fetch from 00403000. A user store to 00403abc sees the same entry 0000245b. Should the walker look for another mapping? L1L3
Both addresses share one page. Its execute permission allows the fetch, but W is zero. Report a store page fault and suppress the memory write. Walking again cannot grant permission.
Follow-upPractise A Fetch Works but a Store Faults →Across ten turns S3.24 counts 20 walks with flushing and four with address-space IDs. What lookup rule earns that saving safely? L1L3
Include the address-space ID in the match so both programs can retain their own translations. Without IDs, flush old entries on the switch. Otherwise a valid hit could select the previous program’s frame.
Follow-upPractise Same Page Number in Two Programs →Page 00405 permits user reads and writes. Why do its first load and first store fault in the S3.22 model? L1L3
A is the accessed bit. With A clear, even the load faults. Setting A permits the load, but a store still faults while D, the dirty bit, is clear. With both set, the store reaches physical address 07000.
Follow-upPractise A Writable Page Still Faults →Which virtual address bits can select a cache set before the physical frame is known? L1L3
Use index bits entirely within the unchanged page offset, then compare the physical tag. Two names for the same block will select the same set. Taking an index bit from the virtual page number can put one block in two sets with conflicting copies.
Follow-upPractise Index While Translation Runs →Route Two AXI Reads Home7
Sketch an N-manager, M-target crossbar. On the fourth edge the CPU reads the console and DMA reads SRAM. Both use ID 01. What must travel with each accepted request? L2L3
Decode the target from the address and arbitrate among requests for that target. Keep the issuing port and its local ID until the reply transfers. Different targets can accept work together. In the tagged run both reads finish at e6.
QuestionPractise Route Two AXI Reads Home →At e6 the lab returns 101 with d1 and 001 with 68. Who receives each word? What if one manager reuses 01? L2L3
The leading bit routes d1 to DMA and 68 to the CPU. Each sees its original 01. The prefix distinguishes managers. Within one manager, keep replies with the same ID in issue order.
Follow-upPractise Decode the Two Return Tags →The team wants to accept another read every cycle. What must you establish before advertising that rate? L2L3
S4.14 has one read slot per subordinate. Its two SRAM replies transfer at e9 and e11. Budget routes and reply space for every accepted read, including blocked replies. Stop accepting before that capacity runs out. Measure completed reads per cycle with equal IDs and stalled receivers.
Follow-upPractise Set the Outstanding Limit →S4.14 gives SRAM one read slot. Suppose m0 lowers RREADY before its e9 reply. Which state can you recycle? L2L3
Keep the route and SRAM slot for that read until the R handshake. Hold RVALID, data, response and ID stable until RREADY is also high. A second SRAM read must wait, while another target can serve independent work.
Follow-upPractise The First Reader Stops →S4.14 accepts 0x1000_7000 at e12 and returns zero with resp=11 at e14. May a larger crossbar drop the remaining beats of a failed burst? L2L3
The default subordinate returns DECERR to the original requester. The zero carries no usable data. A burst-capable implementation must finish all required beats, including write data before the write response. Otherwise the manager can wait forever.
Follow-upPractise Zero Data from a Hole →One manager uses ID 01 for a slow read, then uses 01 at a faster target. How do you keep the replies ordered? L2L3
Hold the second address until the earlier same-ID reply transfers. To accept both, track their issue order and store the faster reply until it can return in order. Budget space for that waiting reply.
Follow-upPractise A Later Target Answers First →At e1 AW already names SRAM, but W carries 68. Which target owns that byte? L2L3
The earlier accepted write address selected the console. Save that choice until its write data transfers. Byte 68 reaches the console at e1. Decoding the live address would send it to SRAM.
Follow-upPractise Route Data After the Address Moves →Share Four AHB Targets Between Two Managers6
Design a two-manager, four-target AHB matrix. The CPU reaches ROM and DMA reaches SRAM together at e1. Why can both advance? L1L2
Each manager decodes its address to a target. Provide a request path and arbitration at each shared target so independent targets can accept together. Save a waiting request and steer each completed response to the manager that owns it.
QuestionPractise Share Four AHB Targets Between Two Managers →S4.3 shows GPIO data while ready stays low and the SRAM address waits behind it. Which select chooses the data, ready and error signals returned to the manager? L1L2
Use the saved owner of the data phase for data, ready and error. Hold that owner through the wait. On the GPIO completion edge return its word and accept the SRAM address for the following response.
Follow-upPractise Two Targets on Successive Transfers →S4.4 serves DMA, CPU, DMA, CPU from e4 through e7. Can firmware use the observed two-edge maximum as a deadline guarantee? L1L2
That interval describes one run. Limit the length of each burst or locked sequence, the gaps between beats and the target wait per beat. Include handoff and DMA’s own completion time if the deadline ends at data return. An unbounded lock or target wait defeats a bound in clocks.
Follow-upPractise Bound the Waiting Request →In S4.13 the CPU takes a locked read at e2. At e3 DMA has a waiting read and the next turn. Why does nobody serve it? L1L2
The CPU owns the port across its read and write, including the gap. The CPU write is served at e4 with HMASTLOCK high. At e5 the CPU drops HMASTLOCK and nobody is served. DMA proceeds at e6. The unlocked race ends at 15 and the locked run at 16.
Follow-upPractise Can DMA Take the Gap? →S4.4 measures longest waits of two edges each with round robin. Fixed priority gives one for the CPU and four for DMA. What if both keep asking? L1L2
A CPU that keeps requesting can win every contested fixed-priority handoff. Round robin remembers the last service and gives the other waiting manager its turn after the current burst or locked sequence ends. Count accepted service when updating preference.
Follow-upPractise Two Winners for the Same Tie →The DMA sends four SRAM beats. How does HOLD_BURST affect the CPU request, and could you split a locked update the same way? L1L2
Holding the burst delays CPU service until e5, a three-edge wait. Splitting it lets the CPU through with zero wait in this run and gives DMA a one-edge wait. A locked read and write must keep ownership across their gap to protect the update.
Follow-upPractise Hold or Split the Burst →Audit a Clock-Domain Plan6
A chip has an independent RTC clock, a core clock and a peripheral clock divided from the core. How would you review an alarm and a command bus crossing these domains? L2L4
List each source, destination, clock relationship and delivery requirement. A held alarm level, a counted event and an ordered command word need different circuits. Keep the generated peripheral clock related to its parent. Review the crossing hardware and the timing constraints together.
QuestionPractise Audit a Clock-Domain Plan →In S5.3 the first stage holds one at t=26. At t=36 the second sees the level, but tick_seen stays zero. What if every tick must count? L2L4
The pulse fell between destination edges. A pending bit that stays high works if several ticks may merge. For distinct events, hold each request until acknowledged when the sender can wait. If it cannot wait, provide storage sized for the arrival burst.
Follow-upPractise Two Signals on the RTC Clock →The GPIO read now uses the divided peripheral clock. A second command goes to the independent RTC. How would you check each round trip? L2L4
Time GPIO against the known clock relationship. S5.11 gives the core-to-peripheral path a 10 ns deadline and 9.6067 ns slack. For the independent RTC, hold each command stable until the receiver captures and acknowledges it. Match each accepted request to one operation and one returned response. Test a paused receiver and trace the first completion after restart.
Follow-upPractise Sign off the Command Round Trip →S5.3 sends mode=10 at t=66 and receives 11 at t=76 before 10 at t=86. How would you cross one command intact? What changes for a burst? L2L4
The two bits arrived on different edges. Hold the whole word stable, synchronize a request, capture once and return an acknowledgment before changing the word. For a burst, use an asynchronous FIFO and stop accepting when its free entries run out.
Follow-upPractise A Command That Was Never Sent →S5.11 goes from six timed paths to five with the RTC grouped separately. Three separate groups leave only two. Which version would you accept? L2L4
The five-path report removes the independent RTC launch to the first core sampler. Keep the second sampler timed from the first, with 9.6067 ns slack here. The paths between the core clock and its divided clock have 9.6067 and 9.5696 ns slack. The three-group version hides those related-clock paths.
Follow-upPractise The Shorter Timing Report →Reset can assert while the destination clock is stopped. When can that domain safely leave reset? L2L4
Assert reset without waiting for a clock. Release it through a reset synchronizer clocked by that domain after its clock resumes. Hold commands until the receiving circuit has left reset and can accept them.
Follow-upPractise The Device Clock Is Stopped →Scale an Interrupt Controller to 32 Sources7
Extend a single-hart interrupt controller to 32 device sources for one processor. How would an event reach the interrupt wire and eventually become a handler’s responsibility? L1L3
Give each source a gateway with one request in flight. Choose among enabled pending sources by priority and then source ID. Compare the winner’s priority with the threshold for notification. A claim read returns its ID and clears that pending bit. Reserve ID zero for an empty claim.
QuestionPractise Scale an Interrupt Controller to 32 Sources →S6.3 starts with pending=1111. UART0 and GPIO have priority five, timer two and SPI seven. The claim sequence is 1,2,3,0. Explain the missing 4. L1L3
SPI is disabled, so priority seven never competes. UART0 wins the tie by lower ID, then GPIO and timer follow. With only disabled SPI pending, the next claim returns zero. Enabling SPI before the first claim makes ID 4 win.
Follow-upPractise A Source at Priority Seven →A low-priority sensor has a service deadline. Does the deterministic tie rule guarantee it, and what needs to change when the design grows to 32 sources? L1L3
IDs zero through 32 need six bits. The 16-source ap_plic uses five. Preserve the specified winner as arbitration grows. Repeated higher-priority service can delay the sensor indefinitely. Bound competing arrivals and handler times, then compare the worst service delay with its deadline.
Follow-upPractise Defend the 32-Source Service Order →In S6.3 the threshold drops from five to four and irq rises. Before that write, what would a claim have returned? L1L3
Priority five equals the old threshold, so notification was suppressed. This controller still lets a software claim take the best enabled pending source, UART0. Lowering the threshold changes notification without adding an event. A diagnostic claim would consume the evidence.
Follow-upPractise Four Pending Sources and a Quiet Wire →At tick 10 S6.3 completes UART0 with busy=1110. At tick 11 pending=1001 and irq=1. Did a second byte necessarily arrive? L1L3
At tick 10 level=1111 shows UART0 still requesting when completion reopens its gateway. Tick 11 can therefore report the old cause again. Service and clear the device cause before completing with the claimed ID.
Follow-upPractise The Same ID Comes Straight Back →Thirty-two sources can compete together. What else changes besides the ID width? L1L3
Measure the longest path from pending, enable and priority to the selected ID. Compare groups in parallel, then compare group winners using the same priority and lower-ID tie rule. If another register stage is needed, account for its extra cycle and recheck claim behavior.
Follow-upPractise Time the Priority Decision →The handler cleared the device flag but has yet to complete. Where can a second edge wait? L1L3
The device sticky flag sets again and holds the request. The gateway can admit it after completion. Several edges while the flag stays set merge into one indication. Use a counter or queue if every arrival must be counted.
Follow-upPractise Another Edge While the Gateway Is Busy →Your Review Queue
Saved review reminders are coming soon.