circt icon indicating copy to clipboard operation
circt copied to clipboard

[Verif] Add clocked Assert Assume Cover ops

Open dobios opened this issue 1 year ago • 1 comments

This PR is in response to #6982 and adds clocked versions of assert, assume, cover. What still needs to be done:

  • [x] Update ExportVerilog
  • [x] Add Verifier that checks that we have exactly one disable and clock.
  • [x] Add tests

dobios avatar May 10 '24 22:05 dobios

@uenoku @fabianschuiki I moved the verification into a dedicated pass, now the question is: when should this pass be called? Just before emission? At the end of the hw pass pipeline?

dobios avatar May 20 '24 19:05 dobios

when should this pass be called? Just before emission? At the end of the hw pass pipeline?

I would run this pass at least just before ExportVerilog, or before any pass that wants to rely on the invariant that clocked asserts contain no ltl.clock ops in the property/sequence that they're checking.

fabianschuiki avatar May 21 '24 17:05 fabianschuiki