S8.5.1 Bypass in Scan Mode

MediumImplement20 minIcarus Verilog · serverReview the topic

Give a tester control of a sleeping island without letting a shift pattern turn on its analog driver.

Hardware context: ap_soc scan clock and reset leaves. Manufacturing test integration

Route four independent controls for an ap_soc test wrapper. The tester changes mode only with both clocks low. Grade the settled pin levels.

Signals in the Timeline

SignalWidthRole
sample12input of each check
Full specification

In functional mode, pass the run clock through an active-high gate. Give the functional pad and analog requests ownership. Keep RAM test off.

In scan mode, the tester owns the leaf clock regardless of the gate. Grant RAM test only on mbist request. Give pad control to boundary_drive and hold analog_enable low.

Examples

Example 1

Running Island
Input
scan=0, clocks(test/run)=0/1, gate=1, mbist=0, boundary=0, pad=1, analog=1
Output
controls = 11

The open gate passes the run clock and both functional requests are high.

Example 2

Tester Clocks RAM
Input
scan=1, clocks(test/run)=1/0, gate=0, mbist=1, boundary=0, pad=0, analog=0
Output
controls = 12

The leaf clock is high while RAM test is requested.

Example 3

Stopped Test Clock
Input
scan=1, clocks(test/run)=0/0, gate=0, mbist=0, boundary=1, pad=0, analog=1
Output
controls = 2

Only the boundary-controlled pad is enabled.

Constraints and Contract

  • Drive all four outputs combinationally for binary inputs. Result bits from high to low are leaf_clk, ram_test, pad_enable and analog_enable.

Hints

Hint 1

List the owners in each mode.

Hint 2

Try each clock with the other held low.

Hint 3

A RAM test request can be present outside test mode.

What the grader checks: All 256 static combinations. Physical pulse integrity and mode transitions need separate sign-off.

259 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

Running Island

Input
scan=0, clocks(test/run)=0/1, gate=1, mbist=0, boundary=0, pad=1, analog=1
Expected output
controls = 11

The open gate passes the run clock and both functional requests are high.

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

Icarus Verilog · server