One question from each road into the track: SystemVerilog, C, the chip, buses, UVM, clock crossings and coverage. A wrong answer names the lesson to read first.
Hardware context: The SoC Verification track as a map, with the lessons each module stands on. A readiness check across the track.
Answer each entry with a number. Each one is a prerequisite of a module of SoC Verification; the lesson's readiness table names the lesson that teaches it. UVM codes are in the table. PINMUX gives pad IOn two bits at bits 2n + 1 to 2n: 0 released, 1 GPIO, 2 serial, 3 auxiliary.
This worksheet uses named constants. The first three entries show how to record your decisions.
Replace each unresolved value of 4294967295 with your result.
Signals in the Timeline
| Signal | Width | Role |
|---|---|---|
question | 8 | input of each check |
Full specification
| Code | UVM part |
|---|---|
| 1 | A sequence |
| 2 | A driver |
| 3 | A monitor |
| 4 | A scoreboard |
| Entry | Your decision |
|---|---|
| MASKED | An 8-bit register stores wdata & 8'h7f. It is written with 8'h80. What does it read? |
| AFTER_RESET | The same register resets to 8'h00. What does it read after reset? |
| C_MASK | In C, what is 0x3C & 0x0F, in decimal? |
| RX_PINMUX | The PINMUX value that gives pad IO1 the serial function and releases every other pad. |
| CHIP_ID_AT | Address of CHIP_ID on ap_soc. |
| UART_SOURCE | The ap_plic input of UART0. |
| APB_CYCLES | How many clock cycles does an APB transfer with no wait state take? |
| UVM_PINS | Code of the UVM part that turns transactions into values on the pins. |
| SYNC_FLOPS | How many flip-flops does a basic synchronizer for one bit use? |
| MAIN_WORD | The TB_STATUS value start-up code writes just before main. |
| GPIO_PAD | The PINMUX value that gives pad IO N the GPIO function and releases every other pad. |
Examples
Example 1
MASKED- Input
An 8-bit register stores wdata & 8'h7f. It is written with 8'h80. What does it read?
- Output
matches = 1
Bit 7 is dropped and no other bit is set.
Example 2
AFTER RESET- Input
The same register resets to 8'h00. What does it read after reset?
- Output
matches = 1
The reset value.
Example 3
C MASK- Input
In C, what is 0x3C & 0x0F, in decimal?
- Output
matches = 1
0x3C & 0x0F = 0x0C = 12.
Constraints and Contract
- Keep the parameter and named constants. Use the numeric codes and units on this page.
- For GPIO_PAD, enter a constant expression using N. Only this entry changes with the parameter. The supported integer range is 0 through 15, inclusive.
Hints
Hint 1
Masks and shifts are the C and SystemVerilog of every chip test.
Hint 2
Addresses and interrupt inputs come from the map and irq.csv.
Hint 3
APB in two cycles; a driver drives, a monitor watches.
What the grader checks: Each check compares the full eight-bit answer. Parameter trials change one condition and keep the other decisions fixed.
15 checks on Icarus Verilog · server. Run the examples first, then check the full regression. Full checks use the server judge. Downloads contain your source only; samples require the simulation service. A passing result establishes the tested cases, not a proof for all possible inputs.
See all 1 problem on this path