S4.2.3 Prove One Select at a Time

MediumVerify20 minSymbiYosys · serverReview the topic

Problem

Description

Prove that a small fabric always has exactly one response owner, including the default route.

A four-way routing slice exposes a four-bit route vector. Bits zero through two select devices. Bit three selects the default responder. page is an unconstrained two-bit request.

Write rising-edge assertions that accept every legal one-hot vector and reject every other vector. Do not assume a page or specify its address assignment.

Pinned interface
PortDirectionBits
clkinput1
pageinput2
routeoutput4
Full specification

There is no idle cycle or reset exemption in this combinational slice. Every binary page needs exactly one responder on every sample. The correct fabric can permute its four destinations between products.

Measured Counterexample

FAIL · bmc · depth 4 · smtbmc yices · 663 ms

This measured failing run uses the published interface. Follow the sampled violation back to the preceding inputs and state. The worked solution below explains the required behaviour and the failure mechanisms.

Recorded solver trace
01clkfreepage2'b00route4'b0000sampled violation
Scroll horizontally ↔

Samples from the measured run. Free input lanes are shaded; the terminal VCD record is omitted.

At sample zero, page is 00 and route is 0000. No two devices collide, yet nobody owns the response. The solver reports that sampled violation at step one.

Examples

Sample 0001

route = 0001
Pass

Only the first device answers.

Sample 1000

route = 1000
Pass

The default is a legitimate owner.

Sample 1010

route = 1010
Fail

A device and default would both answer.

Requirements

  • Submit assert property statements clocked on the rising edge of clk. The environment is unrestricted. The checker must work on each sample independently of earlier pages. The supported expressions include whole-vector comparisons, bit masks and bit-count functions.

Hints

Hint 1

Could a missing response pass your exclusion check?

Hint 2

Consider each pair of wires, including the default wire.

Hint 3

Try a vector with three asserted bits.

The formal judge proves the submitted assertions on the correct fabric, checks implication and seeks counterexamples on faulty copies.

INCONCLUSIVE never counts as acceptance or a rated miss. Run previews the same checks that Submit uses.

More problems on this topic

Report a problem with this page

Worked solution

Opening the solution ends an unsolved rated attempt. Solving it first costs nothing.

Your Property File

SymbiYosys · server

Recent Submissions