Write the connect.csv rows for every input of ap_sysctl and let a formal tool prove them on the chip's generated top level. One row becomes one property.
Hardware context: The wiring of ap_soc v1.5 as data: connect.csv, irq.csv and pins.csv, and the top level generated from them. Proving the system controller's wires.
connect.csv is the chip's wiring as data: one row for each wire, from a driver to a load. The top level of ap_soc is generated from it, and a connectivity proof checks the generated top against it.
Write the rows for the inputs of ap_sysctl. They are its six APB inputs, the timer restart's done flag, and the reset cause. The given file lists each required destination with its width, clock, power and crossing, and the sources you may use. Pair each destination with its driver.
Each row you write becomes one property, destination == source, proved by SymbiYosys with every block an empty box whose outputs are free. A destination you leave out is an unconstrained wire and fails the check, even if your other rows hold.
Full specification
| Column | Meaning |
|---|---|
| from | The driver: an instance output (u_uart.rx_ready), a slice of one (u_fabric.psel[3:3]), or a constant (1'b0) |
| to | The load: an instance input, or a slice of one |
| width | Bits, a decimal number; both ends must have it |
| clock | The clock of the destination: clk_sys, clk_aon, pad or const |
| power | The power domain of the destination: PD_MAIN, PD_AON or PD_PER |
| cross | Empty for a plain wire, static for a value set once and held. IOp==v marks a pad path that exists only under that PINMUX select |
| note | Free text; the proof ignores it |
An example from another part, the DMA's request inputs: u_uart.rx_ready,u_dma.rx_ready,1,clk_sys,PD_MAIN,, proves the property u_dma.rx_ready == u_uart.rx_ready with every block an empty box.
The fast APB select is one bit of the fabric's select vector per device: ap_sysctl is device 3. The APB address a block sees is the low 12 bits of the bus address. The reset cause crosses from clk_aon and is held, so its row is static.
Before any proof, each row is screened. It needs seven fields, a destination and a source of this part, and the same width. Its clock, power and crossing must be the destination's. A row that fails the screen is refused with its line number.
Given Files
Read-only files supplied by the bench.
sysctl-ports.txt
from,to,width,clock,power,cross,note
Source endpoints: u_crg.reset_cause, u_crg.timer_restart_done, u_fabric.paddr[11:0], u_fabric.penable, u_fabric.psel[3:3], u_fabric.pstrb, u_fabric.pwdata, u_fabric.pwrite
Required destination, width, clock, power and crossing (one row per destination and condition):
u_sysctl.paddr,12,clk_sys,PD_MAIN,
u_sysctl.penable,1,clk_sys,PD_MAIN,
u_sysctl.psel,1,clk_sys,PD_MAIN,
u_sysctl.pstrb,4,clk_sys,PD_MAIN,
u_sysctl.pwdata,32,clk_sys,PD_MAIN,
u_sysctl.pwrite,1,clk_sys,PD_MAIN,
u_sysctl.reset_cause,5,clk_aon,PD_AON,static
u_sysctl.timer_restart_done,1,clk_sys,PD_AON,
IOp==v means the two PINMUX bits for pad p equal v. Joined conditions must all hold.
CDC rows prove the named boundary connections with block outputs free.
Examples
Example 1
All Rows Proved- Input
eight rows
- Output
proved
Each row is one equality on the generated top; all eight hold.
Example 2
A Row Missing- Input
seven rows
- Output
1 unconstrained wire.
The proof counts destinations of the part that no row describes.
Example 3
A Crossed Pair- Input
penable and pwrite swapped
- Output
counterexample
With block outputs free, the solver picks values where the two differ, and the trace names them.
Constraints and Contract
- Seven-column CSV, one row per destination. A header line is allowed.
- Every destination of the part, each proved on the good wiring.
Hints
Hint 1
The given file names every destination. Which one has a width of 12?
Hint 2
Which column tells the proof that the reset cause is held, not clocked?
Hint 3
An unconstrained wire means a destination with no row at all.
What the grader checks: Your rows are proved by SymbiYosys (Boolector, depth 2) on the released E4 slice of part sysctl. That is the generated top level with every block an empty box. A pass means every destination of the part is described and each equality holds on the good wiring. The proof says nothing about the behaviour of ap_sysctl or of its sources.
1 checks on ap_soc v1.5 · SymbiYosys · server. Run the examples first, then check the full regression. Full checks use the server judge. Downloads contain your text only; the chip, the bench and the hidden checks stay on the server. A passing result establishes the tested cases, not a proof for all possible inputs.
See all 2 problems on this path