CIRCT 23.0.0git
Loading...
Searching...
No Matches
ArcConstants.h
Go to the documentation of this file.
1//===- ArcConstants.h - Declare Arc dialect constants ------------*- 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#ifndef CIRCT_DIALECT_ARC_ARCCONSTANTS_H
10#define CIRCT_DIALECT_ARC_ARCCONSTANTS_H
11
12namespace circt {
13namespace arc {
14
15// Offsets for model state allocations.
16inline constexpr unsigned kTimeOffset = 0;
17inline constexpr unsigned kTerminateFlagOffset = 8;
18inline constexpr unsigned kNextWakeupOffset = 16;
19inline constexpr unsigned kStateOffset = 24;
20
21} // namespace arc
22
23} // namespace circt
24
25#endif // CIRCT_DIALECT_ARC_ARCCONSTANTS_H
Definition arc.py:1
constexpr unsigned kStateOffset
constexpr unsigned kNextWakeupOffset
constexpr unsigned kTerminateFlagOffset
constexpr unsigned kTimeOffset
The InstanceGraph op interface, see InstanceGraphInterface.td for more details.