Loading [MathJax]/extensions/tex2jax.js
CIRCT 21.0.0git
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
SystemCDialect.cpp
Go to the documentation of this file.
1//===- SystemCDialect.cpp - Implement the SystemC dialect -----------------===//
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 implements the SystemC dialect.
10//
11//===----------------------------------------------------------------------===//
12
14
15using namespace circt;
16using namespace circt::systemc;
17
18//===----------------------------------------------------------------------===//
19// Dialect specification.
20//===----------------------------------------------------------------------===//
21
22void SystemCDialect::initialize() {
23 // Register attributes.
24 registerAttributes();
25 // Register types.
26 registerTypes();
27
28 // Register operations.
29 addOperations<
30#define GET_OP_LIST
31#include "circt/Dialect/SystemC/SystemC.cpp.inc"
32 >();
33}
34
35#include "circt/Dialect/SystemC/SystemCDialect.cpp.inc"
The InstanceGraph op interface, see InstanceGraphInterface.td for more details.