There is a temporarily less featureful replacement called `svsim`
which is shipped with Chisel v5. (See:
https://github.com/chipsalliance/chisel/pull/3121) The Chisel Template
and other resources need to be updated to use this.
`svsim` is much lower level than Chiseltest and is closer to
infrastructure on top of which libraries like Chiseltest can be built
than a full Scala environment for testing the outputs of Chisel
generators. I.e., it is focused on feeding data to and checking data
from some Verilog running on VCS or Verilator in a way that is
agnostic to the fact that Chisel exists. This is sufficient for simple
tests in Scalatest like shown here:
https://github.com/chipsalliance/chisel/pull/3121/files#diff-cb8ffbae50d3e50b4df2fbb6d2fe814ed46d49c57e082e65539bef60e3d99496R60
However, the more powerful testing methods (e.g., dequeing data from a
decoupled, one-line bounded model checking) are note supported.
Chiseltest's existing implementation, specifically for formal tests,
is a maintenance issue as it is very closely coupled to the
Scala-based FIRRTL compiler (SFC). Kevin, who is the sole, part-time
maintainer of Chiseltest, is keeping things going as best he can.
However, there is insufficient bandwidth to keep up with the flood of
activity on the Chisel/CIRCT side of things.
This was discussed in the Chisel Dev meeting yesterday and the
conclusion was to get more of the Chiseltest APIs moved to svsim.
There is preliminary work in both Chisel and CIRCT that will
eventually enable better Chisel verification support. Support for SVAs
and properties is coming
(
https://github.com/chipsalliance/chisel/pull/3337) and native XMR
support is already available in v6. There is planned work to enable
"groups" which lower to SystemVerilog binds to enable a more standard
SystemVerilog verification flow
(
https://github.com/chipsalliance/firrtl-spec/pull/108). On the CIRCT
side there is new tooling/infrastructure like circt-lec (which only
works for combinational logic at the moment), arc dialect (for
compiled simulation from CIRCT), and planned other efforts (e.g.,
directly interpreting arc dialect avoid compilation).
Sorry for the churn.
> CONFIDENTIALITY NOTICE -- This email is intended only for the person(s) named in the message header. Unless otherwise indicated, it contains information that is confidential, privileged and/or exempt from disclosure without written approval by Ascenium Inc.
>
> --
> You received this message because you are subscribed to the Google Groups "chisel-users" group.
> To view this discussion on the web visit
https://groups.google.com/d/msgid/chisel-users/64aba130-795e-4418-8aa1-7217ab320ea1n%40googlegroups.com.