CIRCT
18.0.0git
include
circt
Conversion
CalyxToHW.h
Go to the documentation of this file.
1
//===- CalyxToHW.h - Calyx to HW conversion pass ----------------*- C++ -*-===//
2
//
3
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4
// See https://llvm.org/LICENSE.txt for license information.
5
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6
//
7
//===----------------------------------------------------------------------===//
8
//
9
// This file declares passes which together will lower the Calyx dialect to the
10
// HW dialect.
11
//
12
//===----------------------------------------------------------------------===//
13
14
#ifndef CIRCT_CONVERSION_CALYXTOHW_CALYXTOHW_H
15
#define CIRCT_CONVERSION_CALYXTOHW_CALYXTOHW_H
16
17
#include "
circt/Dialect/Calyx/CalyxOps.h
"
18
#include "
circt/Dialect/HW/HWOps.h
"
19
#include "
circt/Support/LLVM.h
"
20
#include <memory>
21
22
namespace
mlir
{
23
class
Pass;
24
}
// namespace mlir
25
26
namespace
circt
{
27
namespace
calyx {
28
29
/// Returns a hw.module.extern operation describing the Verilog module which a
30
/// ComponentOp eventually results in.
31
hw::HWModuleExternOp
getExternHWModule
(OpBuilder &
builder
, ComponentOp op);
32
33
}
// namespace calyx
34
35
std::unique_ptr<mlir::Pass>
createCalyxToHWPass
();
36
37
}
// namespace circt
38
39
#endif
// CIRCT_CONVERSION_CALYXTOHW_CALYXTOHW_H
CalyxOps.h
HWOps.h
LLVM.h
builder
Builder builder
Definition:
PassHelpers.cpp:252
circt::calyx::getExternHWModule
hw::HWModuleExternOp getExternHWModule(OpBuilder &builder, ComponentOp op)
Returns a hw.module.extern operation describing the Verilog module which a ComponentOp eventually res...
circt
This file defines an intermediate representation for circuits acting as an abstraction for constraint...
Definition:
DependenceAnalysis.h:30
circt::createCalyxToHWPass
std::unique_ptr< mlir::Pass > createCalyxToHWPass()
Definition:
CalyxToHW.cpp:477
mlir
Definition:
DependenceAnalysis.h:21
Generated on Mon Sep 25 2023 00:27:08 for CIRCT by
1.9.1