S7.4.3 Prove Every Pad Has at Most One Driver

HardVerify30 minSymbiYosys · serverReview the topic

Problem

Description

Check ownership across four independent pads, including their handoff to the board during reset.

Three functions can request each pad. Bits 2:0 of drive are the actual driver enables for pad zero. The next three bits belong to pad one, and so on. Read request in the same order.

Assert that at most one driver owns each pad at each rising edge. A released pad is legal. Different pads may drive together. When reset is high every driver must release immediately at that sample.

Pinned interface
PortDirectionBits
clkinput1
resetinput1
requestinput12
driveoutput12
Full specification

The ownership policy may choose any legal grant. Prove safety for unrestricted binary requests, including simultaneous requests. No relationship between requests and grants is part of your assertion contract.

Measured Counterexample

FAIL · bmc · depth 4 · smtbmc yices · 734 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
01clkfreeresetfreerequest12'b11011011011112'b000000000000drive12'b01001001001112'b000000000000sampled violation
Scroll horizontally ↔

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

At sample zero drive is 010 010 010 011. Pad zero has two active enables. Each other group has a single active enable. The solver reports the sampled collision at step one.

Examples

Sample 0x000, reset=0

0x000, reset=0
Pass

All four pads may release.

Sample 0x009, reset=0

0x009, reset=0
Pass

Pads zero and one each have one driver.

Sample 0x009, reset=1

0x009, reset=1
Fail

Reset releases both pads.

Requirements

  • Submit rising-edge assert property statements. Include the reset sample and use only the published ports. Use bit masks and comparisons for packed fields. Part-selects and counting functions are outside this checker’s subset.

Hints

Hint 1

Group enables by destination pad.

Hint 2

Would the assertion catch two functions driving the same value?

Hint 3

Consider reset with a single active enable.

Binary sampled enables. Electrical strength and hazards between edges require separate checks.

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