Skip to content

[circt-lec] Report failing points #7711

Open
@uenoku

Description

$ cat bar.mlir
hw.module @A(out out_1: i12, out out_2: i12) {
  %0 = hw.constant 2: i12
  hw.output %0, %0 : i12, i12
}

hw.module @B(out out_1 : i12, out out_2: i12) {
  %0 = hw.constant 2: i12
  %1 = hw.constant 3: i12
  hw.output %0, %1 : i12, i12
}
$ circt-lec bar.mlir --c1 A --c2 B --shared-libs=z3/build/libz3.so
c1 != c2

Right now it only tells us yes or no, so it would be nice to report failing points ideally with (executable) counter examples

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions