Are You Ready? A Map and a Check
See the whole SoC Verification track as a map, with the words it uses on one page. For each module, find what to know first and the lesson that teaches it. Then check yourself before you start.
You Will Be Able To
- Find any module of the track and say what it teaches.
- Name what to know first for a module, and the lesson that teaches it.
- Use the words of the track with their meanings.
- Check your readiness and pick the one lesson that fills a gap.
- Lesson
- VF.6
- Time
- 20 min
- Runs on
- Your browser
- Check
- 5 questions
Halfway through a module, a learner finds that every page assumes a bus protocol they never studied. The pages were fine; the order was wrong. A look at a map before the module would have shown the missing road.
- Neutral
- Test
- External
- Structure
- Start here
Fundamentals, then the chip-level view, then the C a chip test needs.
- Meet the chip and its bench
The hand-off package and the bench need the header and start-up code from the C primer. They also need the map from SoC Architecture and the buses from Protocols.
- Write the tests
Firmware tests build on the bench and the C primer; tests without the core need UVM's register model.
- What comes later
Interconnect, connectivity, clocks and resets, power, debug, coverage, fast platforms and a capstone.
Read the diagram as text
- Fundamentals: this module, VF
- The chip-level view: V1
- Embedded C: V0
- Hand-off and bench: V2, V3
- Tests with and without the core: V4, V5, V6
- Chip-only areas and sign-off: V7 to V14, being written
- SoC Architecture: the chip itself
- SystemVerilog, UVM, Protocols: the language of the bench
- Fundamentals → The chip-level view: next
- The chip-level view → Embedded C: next
- The chip-level view → Hand-off and bench: then
- Hand-off and bench → Tests with and without the core: then
- Embedded C → Hand-off and bench: header, start-up code
- Tests with and without the core → Chip-only areas and sign-off: then
- SoC Architecture → Hand-off and bench: map, interrupts
- SystemVerilog, UVM, Protocols → Hand-off and bench: APB, AHB, UVM
The track in display order. Roads from other tracks are prerequisites: linked here, taught there.
Before You Start
Read An SoC as a Verifier Sees It to The SoC Verification Toolbox first: this page closes the module.
The companion track, Design Verification Fundamentals, covers verification of any design: plans, benches, stimulus, checks, coverage. This page points to its lessons by name.
| Question | |
|---|---|
| 1 | What are the modules of the track, in order? |
| 2 | What must you know before each module? |
| 3 | Which lesson on this site fills each gap? |
| 4 | What do the main words of the track mean? |
| 5 | How do you check that you are ready? |
The Idea: A Map Before the Road
This track stands on other tracks. Its bench speaks SystemVerilog and UVM, and its buses follow APB and AHB. Its chip is the one the SoC Architecture track describes. Those are taught elsewhere on this site, once, and linked from here.
So the fastest way through the track is to know, before each module, which roads lead into it. A gap found before a module costs one lesson. A gap found in the middle of a module costs the module.
New Words
| Word | Meaning |
|---|---|
| Module | A group of lessons on one subject, with its own practice problems. |
| Prerequisite | Something you should know before a module, taught in an earlier module or another track. |
| Readiness check | A few questions that show whether you have the prerequisites of a module. |
The Map, Module by Module
| Module | What it teaches | Know first (other tracks) | Companion lessons | Status |
|---|---|---|---|---|
| VF Fundamentals of SoC Verification | The chip as a verifier sees it, the levels, one test from reset to pass, the flow, the toolbox | Digital logic and a little programming: Positional Numbers and Base Conversion, SystemVerilog for Clocked Logic | A Chip You Cannot Patch; The Levels: Block, Subsystem, Chip, System | Live |
| V1 The Chip-Level View | What the chip level checks, the twelve kinds of chip bug, three ways to drive a chip, the plan | From Board to Chip, One Access, End to End, The Interrupt Path. From a Layered Bench to UVM. What Coverage Measures | The Verification Plan | Live |
| V0 Embedded C for Chip Tests | Registers as addresses, masks and fields, the header, start-up code, handlers, the image | Basic C: loops, functions, pointers (this site has no C course). Then Addresses and Memory-Mapped I/O, The Memory Map, Start-Up Code: What Runs Before Main. Your First DPI-C Call for the labs | - | Live |
| V2 Meet the Chip and Its Hand-Off Package | The data files, the first run, the smoke test, where a check may look | The Memory Map, Clock Sources and the Chip-Level Clock Tree | Black Box, Grey Box, White Box | Live |
| V3 The SoC Test Bench | The bench around the chip: clocks, loading, pad models, passive checkers, reuse, honest ends | Reset Architecture. APB in One Picture, AHB in One Picture. Build an Active or Passive Agent, Vertical Reuse: A Block Environment Inside a Subsystem | The Parts of a Testbench; How a Test Ends | Live |
| V4 Firmware-Driven Tests | C tests on the real core: the mailbox, hand-shakes, a peripheral end to end, interrupts, debugging | Serial Peripherals: The UART, Its Queue and Its Requests, The Interrupt Path, DMA, Traps: Exceptions, Interrupts and the Machine CSRs. APB in One Picture | Debugging: From a Failure to a Cause | Live |
| V5 The Core Against Its Reference Model | The retire trace, lockstep with a model, random instruction streams | Traps: Exceptions, Interrupts and the Machine CSRs, The Core as an IP, Data Hazards and Forwarding, More Than One Core. Your First DPI-C Call | Where the Right Answer Comes From; Random and Constrained-Random Stimulus | Live |
| V6 Verification Without the CPU | A bus manager in the core's seat: register sweeps, bit bash, both doors, choosing the mode | Address Decode and Aliases. Desired Values, Mirrors and Reset, Memories and a Backdoor Without VPI, Built-in Register Tests and Quirky Registers | Directed Tests | Live |
| V7 Interconnect Verification | Managers that compete, the fabric under stress | Taking the Core Out. Many Managers: Arbitration and the Bus Matrix. APB in One Picture, AHB in One Picture | Random and Constrained-Random Stimulus | Live |
| V8 Connectivity, Pins and Integration Checks | Every wire, pad and tie-off of the chip | Why Assertions. Connectivity. Pads and Pin Multiplexing | Assertions: Checks That Travel With the Design | Live |
| V9 Clock, Reset and Boot Verification | Clock sources, reset order, crossings, boot modes | Clock Sources and the Chip-Level Clock Tree. The Two-Flop Synchronizer and What It Cannot Carry. CDC and RDC With Formal | - | Live |
| V10 Low-Power Verification | Sleep, wake, isolation and retention on the chip | Power at Chip Level. Dynamic, Short-Circuit and Leakage Power, UPF in One Picture | - | Being written |
| V11 Debug, Test-Mode and Security Verification | The debugger gets in; what must stay locked stays locked | What a Debugger Needs From the Chip. Taking the Core Out | - | Being written |
| V12 Coverage, Regressions and Sign-Off | Chip coverage, regressions at size, the sign-off argument | What Coverage Measures. Rand Fields and Checked Randomization | Functional Coverage: What Was Tested; Regressions, Seeds and the Life of a Bug | Live |
| V13 Fast Platforms: Virtual, Hybrid, Emulation, Prototype | What each fast platform is for, from ratios measured on our chip | The Life of a C Test. Your First DPI-C Call | The Toolbox and the Map of This Site | Live |
| V14 Capstone: Verify ap_soc v1.5 | The whole chip, start to finish | Every module before it | Capstone: Verify a Small Design End to End | Being written |
Live modules can be studied now; the others are being written. Companion lessons are in Design Verification Fundamentals.
Read the table one row at a time. The third column lists lessons of other tracks; every module above a row is assumed too. Pick the row you are about to start, open the lessons you cannot explain back, and only then begin.
The Words of the Track on One Page
| Word | Meaning | Taught in |
|---|---|---|
| SoC | A whole computer on one chip: processor, memories, devices, bus, clocks, pads. | An SoC as a Verifier Sees It |
| Memory map | Which block answers which address; an address in no row is a hole. | An SoC as a Verifier Sees It |
| Pin mux | A register-controlled switch that picks which function uses a pad. | An SoC as a Verifier Sees It |
| Block level | Verification of one block alone, with a bench on all its pins. | From IP to Chip to System |
| Integration bug | Blocks that each work, joined the wrong way. | From IP to Chip to System |
| Firmware | The program the chip's own processor runs; here, the test. | One Chip Test From Reset to Pass |
| Mailbox | Registers the firmware writes and the bench watches: status, console, events. | One Chip Test From Reset to Pass |
| Pass word | 0x900D in TB_STATUS: the firmware reports that its checks held. | One Chip Test From Reset to Pass |
| Exit check | A written condition that must hold before a project phase ends. | The Flow From Hand-Off to Sign-Off |
| Sign-off | The review of evidence against the plan before tape-out. | The Flow From Hand-Off to Sign-Off |
| Seeded fault | A bug put into a copy of the design on purpose, to measure tests. | From IP to Chip to System |
| Model compare | Checking every instruction of the core against an instruction-level model. | The SoC Verification Toolbox |
| Join | Any place where two separately made things must agree. | What the Block Bench Already Proved |
| Bus-manager seat | The core's place, taken by a bench model that makes any transfer. | Three Ways to Drive a Chip |
| Smoke test | A short first test that shows the chip is alive. | The Smoke Test as the Entry Gate |
| Passive checker | A checker that only watches the chip's signals and never drives them. | Passive Checkers: Bind and Listen |
| Back door | Reading or writing state directly from the bench, without a bus transfer. | Back-Door Loading |
| Retire trace | One record for each instruction the core finished. | The Retire Trace as a Monitor |
| Register sweep | A test of every register's reset value and access, generated from the chip's register files. | Register Tests From the Description |
Each word is taught in full in the lesson named. If a meaning here is new to you, read that lesson before the module that uses it.
The Smallest Example: A Check in Code
The bench modules read SystemVerilog all the time. Here is a quick check of the level they assume. The lab at the end of this page has a register with a reset and a task that writes it. It also keeps a queue of expected values and compares. Bit 7 of the register cannot be written.
Predict every line before you run it. After reset, q is 0x00. The test writes 0x10, 0x2A and 0xFF and compares each read with what it wrote. The first two match. The third reads back 0x7F, because bit 7 is dropped, so the test reports one mismatch.
If those lines came easily, the SystemVerilog of modules V3 to V6 will read easily too. If not, start with the SystemVerilog track, from its first module.
The Rules
Rule 1: Check the roads before you enter a module.
The third column of the map lists them.
Rule 2: Fill a gap with the exact lesson, not a whole course.
Each road names one lesson to start from.
Rule 3: Prerequisites are linked, never retaught here.
Each idea has one home on this site.
Rule 4: When a module feels hard, look one level down.
The gap is usually a prerequisite, not the module.
Sources for These Rules
The prerequisites of a live module: the lessons its own pages name under Before You Start, from other tracks. Of a module being written: docs/soc-verification-plan.md sections 1.4 and 4.2.
The companion track's lessons: docs/dv-fundamentals-plan.md Part A.
Now Run It: The Readiness Lab
after reset q = 00
wrote ff, read 7f: mismatch
3 writes, 1 mismatchesRule 4 in miniature. If the second line surprised you, the gap is not SoC verification: it is how a register with a fixed bit behaves. That is a SystemVerilog and digital-design question, one level down.
Your Readiness Check
Answer each question in your head. If you cannot, open the lesson in the right column before the module in the left one.
| Before | Can you answer this? | If not, read |
|---|---|---|
| V1 | Which block answers address 0x1000_0000 on ap_soc, and what is its interrupt? | An SoC as a Verifier Sees It |
| V0 | What happens when software writes to an address that a device owns, rather than memory? | Addresses and Memory-Mapped I/O |
| V2 | What answers an address that no row of the map owns? | The Memory Map |
| V3 | What are PSEL and PENABLE in one APB write? | APB in One Picture |
| V3 | What does a UVM driver do, and what does a monitor do? | From a Layered Bench to UVM |
| V4 | What runs before main, and why must the stack be set first? | Start-Up Code: What Runs Before Main |
| V5 | What does the core do when an instruction traps? | Traps: Exceptions, Interrupts and the Machine CSRs |
| V6 | What does a register model mirror? | Desired Values, Mirrors and Reset |
| V8 | What does a connectivity proof prove, and what does it not? | Connectivity |
| V9 | Why does a signal crossing clocks need two flip-flops? | The Two-Flop Synchronizer and What It Cannot Carry |
| V10 | What is an isolation cell for? | UPF in One Picture |
| V12 | What is the difference between code and functional coverage? | What Coverage Measures |
The practice problem of this lesson asks the same kind of questions, with answers the site checks.
Traps
The first trap is starting at the most exciting module. Firmware tests on the real core look like the heart of the track, and they are. But they assume C, start-up code and the bench, and each missing piece turns a lesson into a puzzle.
The second trap is the opposite: taking whole courses "just in case". You do not need all of UVM before V3. You need the lessons its row names. Read those, start the module, and come back for more only when a page asks.
At Scale
This section looks ahead, to joining a real chip team.
Onboarding
A new engineer on a chip team needs a map like this one: the chip, the bench, the plan and the owners.
Gaps are normal
Nobody knows every area. A chip team mixes people who know firmware, benches, buses and the core, and they learn from each other.
Where This Goes Next
This closes the fundamentals. The next module continues them on the chip itself.
| Lesson | What it adds |
|---|---|
| What the Block Bench Already Proved | The first lesson of The Chip-Level View: what the block bench already proved. |
| A Register Is an Address | The first lesson of Embedded C for Chip Tests, if C is your gap. |
| Four-State vs Two-State Types | The first lesson of the SystemVerilog track, if the readiness lab was hard. |
Try It
Predict every line, then run the lab.
Write 0x80 and 0x7F instead, and predict the last line before you run it.
Remove the mask & 8'h7f from the register and predict the new last line.
after reset q = 00 wrote ff, read 7f: mismatch 3 writes, 1 mismatchesCheck Yourself
Common Mistakes
Wrong Start with the most exciting module.
Its prerequisites turn every page into a puzzle.
Fix Read the module's row of the map first.
Wrong Take whole courses before starting.
Most of a course is not needed for one module.
Fix Read the exact lessons the row names.
Wrong Blame the module when a page is hard.
The gap is usually one level down.
Fix Check the prerequisite lessons of that page.
Remember
- The track stands on SoC Architecture, SystemVerilog, UVM, Protocols and others, linked, never retaught.
- Each module lists what to know first and the exact lesson that teaches it.
- The words of the track each have one lesson that teaches them.
- Check readiness before a module; fill a gap with one lesson, not a course.