VF.5.1 Pick the Tool

EasyImplement12 minIcarus Verilog · serverReview the topic

Choose the tool of SoC verification that suits each job best, and say which of them this site runs.

Hardware context: The tools of SoC verification around ap_soc v1.5, and the qualification fault table. Matching bugs to tools.

Tool codes are in the table. For each entry enter the code of the tool that suits it best. For "on this site" entries, enter 1 for yes and 0 for no, as the lesson's table says.

This worksheet uses named constants. The first three entries show how to record your decisions.

Replace each unresolved value of 255 with your result.

Signals in the Timeline

SignalWidthRole
question8input of each check
Full specification
CodeTool
1Simulation with firmware on the real core
2Simulation with a bus manager in the core's seat
3Instruction-level model compare
4Connectivity proof
5Power-aware run
6Gate-level run
7Emulator or FPGA prototype
8Virtual platform
EntryYour decision
STACKCheck that start-up code sets the stack before main.
BACK_TO_BACKHit a bridge with writes on every cycle, faster than any program.
XOR_WRONGCatch a core that computes XOR wrongly while the test still passes.
TIE_OFFProve that every unused interrupt input is tied to 0.
ISOLATECheck that the timer's outputs are clamped while PD_PER is off.
RESET_XCheck that every flip-flop of the netlist leaves reset known.
DRIVER_EARLYLet the software team start drivers months before the RTL is ready.
SITE_EMULATORDoes this site run an emulator? (1 yes, 0 no)
SITE_POWERDoes this site run power-aware runs of ap_soc? (1 yes, 0 no)
SITE_CONNDoes this site run connectivity proofs on the chip's wiring? (1 yes, 0 no)
SITE_BOARDHas ap_soc run on an FPGA board for this site? (1 yes, 0 no)
BEST_TOOLEnter the code of the tool that suits this job best. J = 0: Check that an interrupt handler returns to the right place. J = 1: Check every wire of a 300-row connection table for every input. J = 2: Run an operating system to its login prompt on the final RTL.

Examples

Example 1

STACK
Input
Check that start-up code sets the stack before main.
Output
matches = 1

Only the real core runs start-up code.

Example 2

BACK TO BACK
Input
Hit a bridge with writes on every cycle, faster than any program.
Output
matches = 1

The core never makes such traffic; a bus manager can.

Example 3

XOR WRONG
Input
Catch a core that computes XOR wrongly while the test still passes.
Output
matches = 1

Only a check of every instruction sees a wrong result the program does not test.

Constraints and Contract

  • Keep the parameter and named constants. Use the numeric codes and units on this page.
  • For BEST_TOOL, enter a constant expression using J. Only this entry changes with the parameter. The supported integer range is 0 through 2, inclusive.

Hints

Hint 1

Instructions, a free bus, every instruction checked, every input, power states, the netlist, or speed.

Hint 2

An emulator runs the RTL fast; a virtual platform runs a model fast.

Hint 3

This site simulates; it has no emulator and no board.

What the grader checks: Each check compares the full eight-bit answer. Parameter trials change one condition and keep the other decisions fixed.

16 checks on Icarus Verilog · server. Run the examples first, then check the full regression. Full checks use the server judge. Downloads contain your source only; samples require the simulation service. A passing result establishes the tested cases, not a proof for all possible inputs.

See all 2 problems on this path

Report a problem with this page

Your code SystemVerilogSaved locally
Ln 1, Col 1Tab indents · Ctrl/⌘ + Enter runs samples
Not run yet

STACK

Input
Check that start-up code sets the stack before main.
Expected output
matches = 1

Only the real core runs start-up code.

Run samples executes all 3 public checks. Check all tests runs 16 checks on the server.

Icarus Verilog · server