V13.5.1 How an Emulator Is Used

EasyImplement12 minIcarus Verilog · serverReview the topic

Name the way a design is run in each situation, from the modes the book describes. Then work out what a long compile does to a day of debugging.

Hardware context: Hardware emulators, named only, from the book. Modes of emulator use.

The modes are those of MEHTA-DV 12.2.4. They are in-circuit emulation, acceleration through a PLI or DPI link, transaction-based acceleration, and stand-alone use with a synthesizable bench. The situations are invented for this exercise. ASIC Point has no emulator; nothing on this sheet was run.

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

Replace each unresolved value of 65535 with your result.

Signals in the Timeline

SignalWidthRole
question8input of each check
Full specification
CodeHow the design runs
1In-circuit: the real target system drives the design in the box
2Transaction-based: the bench sends transactions to transactors in the box
3Signal-level acceleration: the bench drives the box pin by pin
4Stand-alone: a synthesizable bench runs in the box with the design
5Not an emulator: an FPGA prototype
EntryYour decision
CAMERAA camera board, slowed by a speed bridge, sends real frames into the design in the box.
PROXYUVM drivers are split: proxies on a workstation, timed BFMs in the box, talking in tasks and functions.
UNCHANGEDThe old bench is kept as it is and exchanges every pin with the box on every clock.
GENERATORStimulus generators and checkers are written to synthesize and go into the box beside the design.
COPIESTwenty copies for software teams, as fast as possible, with little visibility.
TURNS_A_DAYAn exercise: each turn of debugging costs a compile of C minutes plus 20 minutes of running and reading. How many whole turns fit in an 8-hour day?

Examples

Example 1

CAMERA
Input
A camera board, slowed by a speed bridge, sends real frames into the design in the box.
Output
matches = 1

The physical target system drives the design: in-circuit.

Example 2

PROXY
Input
UVM drivers are split: proxies on a workstation, timed BFMs in the box, talking in tasks and functions.
Output
matches = 1

Transactions cross the link, not pins.

Example 3

UNCHANGED
Input
The old bench is kept as it is and exchanges every pin with the box on every clock.
Output
matches = 1

The book calls this the mode with limited acceleration.

Constraints and Contract

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

Hints

Hint 1

A real board: in-circuit. A bench: through a link.

Hint 2

Pins every clock, or transactions now and then.

Hint 3

With a synthesizable bench, everything.

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

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

See all 2 problems on this path

Report a problem with this page

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

CAMERA

Input
A camera board, slowed by a speed bridge, sends real frames into the design in the box.
Expected output
matches = 1

The physical target system drives the design: in-circuit.

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

Icarus Verilog · server