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
Our assertions should be guarded by `ifdef guards. This allows users to easily disable assertions without a recompile and also prevents assertions from being visible to synthesis- I believe yosys in particular can leave in stuff that causes problems for openroad if assertions aren't stripped.
Ideally, we'd also guard all the wires/regs that only feed assertions (or other wires/regs that only feed assertions) in those same guards to avoid "value not read" issues.
The text was updated successfully, but these errors were encountered:
Using Yosys, assertions sometimes survive synthesis and cause problems with downstream tools. We never want assertions to get through synthesis so we use the `ASSERT_ON` define guard.
The macros that guard the assertion section are configurable via the `--assert_macro_names` flag.
Ref: #1942.
PiperOrigin-RevId: 734314700
Our assertions should be guarded by
`ifdef
guards. This allows users to easily disable assertions without a recompile and also prevents assertions from being visible to synthesis- I believe yosys in particular can leave in stuff that causes problems for openroad if assertions aren't stripped.Ideally, we'd also guard all the wires/regs that only feed assertions (or other wires/regs that only feed assertions) in those same guards to avoid "value not read" issues.
The text was updated successfully, but these errors were encountered: