CIRCT 20.0.0git
Loading...
Searching...
No Matches
Simulation.h
Go to the documentation of this file.
1//===- Simulation.h - Handshake MLIR Operations -----------------------===//
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 contains functions used to execute a restricted form of the
10// standard dialect, and the handshake dialect.
11//
12//===----------------------------------------------------------------------===//
13
14#ifndef CIRCT_DIALECT_HANDSHAKE_SIMULATION_H
15#define CIRCT_DIALECT_HANDSHAKE_SIMULATION_H
16
17#include "mlir/IR/BuiltinOps.h"
18#include "mlir/IR/MLIRContext.h"
19#include <string>
20
21namespace circt {
22namespace handshake {
23bool simulate(llvm::StringRef toplevelFunction,
24 llvm::ArrayRef<std::string> inputArgs,
26 mlir::MLIRContext &context);
27} // namespace handshake
28} // namespace circt
29
30#endif
bool simulate(llvm::StringRef toplevelFunction, llvm::ArrayRef< std::string > inputArgs, mlir::OwningOpRef< mlir::ModuleOp > &module, mlir::MLIRContext &context)
The InstanceGraph op interface, see InstanceGraphInterface.td for more details.