You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 19, 2024. It is now read-only.
In SymbiYosys, the anyconst attribute can be used in order to have the solver choose a constant for an input variable. For certain types of designs, this can make proving correctness easier.
Is there currently a way to specify such an attribute with chiseltest?
The text was updated successfully, but these errors were encountered:
An uninitialized register should essentially be able to emulate the behavior of anyconst.:
valmyConst=Reg(UInt(8.W))
Registers without a reset value will start at an arbitrary constant (solver chosen in case of formal) and then, assuming you do not assign anything to them, they will retain their value.
I think so. The only downside here is that to make an input you need to be in the top-level module. Registers can easily declared independent of module hierarchy.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
In SymbiYosys, the
anyconst
attribute can be used in order to have the solver choose a constant for an input variable. For certain types of designs, this can make proving correctness easier.Is there currently a way to specify such an attribute with chiseltest?
The text was updated successfully, but these errors were encountered: