Loading [MathJax]/jax/output/HTML-CSS/config.js
CIRCT 21.0.0git
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
VerifPasses.h
Go to the documentation of this file.
1
2//===- Passes.h - Verif pass entry points ------------------------*- C++-*-===//
3//
4// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
5// See https://llvm.org/LICENSE.txt for license information.
6// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7//
8//===----------------------------------------------------------------------===//
9//
10// This header file defines prototypes that expose pass constructors.
11//
12//===----------------------------------------------------------------------===//
13
14#ifndef CIRCT_DIALECT_VERIF_VERIFPASSES_H
15#define CIRCT_DIALECT_VERIF_VERIFPASSES_H
16
19#include "mlir/Pass/Pass.h"
20#include "mlir/Pass/PassRegistry.h"
21#include <memory>
22
23namespace circt {
24namespace verif {
25class FormalOp;
26class RequireLike;
27
28/// Ways to lower symbolic values.
30 /// Lower to instances of an external module.
32 /// Lower to wire declarations with a `(* anyseq *)` attribute.
33 Yosys,
34};
35
36/// Construct the command line options to pick one of the symbolic value
37/// lowerings.
38static inline llvm::cl::ValuesClass symbolicValueLoweringCLValues() {
39 return llvm::cl::values(
40 clEnumValN(SymbolicValueLowering::ExtModule, "extmodule",
41 "Lower to instances of an external module"),
42 clEnumValN(SymbolicValueLowering::Yosys, "yosys",
43 "Lower to `(* anyseq *)` wire declarations"));
44}
45
46#define GEN_PASS_DECL
47#define GEN_PASS_REGISTRATION
48#include "circt/Dialect/Verif/Passes.h.inc"
49
50} // namespace verif
51} // namespace circt
52
53#endif // CIRCT_DIALECT_VERIF_VERIFPASSES_H
SymbolicValueLowering
Ways to lower symbolic values.
Definition VerifPasses.h:29
@ ExtModule
Lower to instances of an external module.
@ Yosys
Lower to wire declarations with a (* anyseq *) attribute.
static llvm::cl::ValuesClass symbolicValueLoweringCLValues()
Construct the command line options to pick one of the symbolic value lowerings.
Definition VerifPasses.h:38
The InstanceGraph op interface, see InstanceGraphInterface.td for more details.
Definition verif.py:1