ABC: A System for Sequential Synthesis and Verification
 
Loading...
Searching...
No Matches
rrrTypes.h
Go to the documentation of this file.
1#pragma once
2
3#include <vector>
4#include <chrono>
5
7
8namespace rrr {
9
17
23
31
48
49 struct Action {
51 int id = -1;
52 int idx = -1;
53 int fi = -1;
54 bool c = false;
55 bool fNew = false;
56 std::vector<int> vFanins;
57 std::vector<int> vIndices;
58 std::vector<int> vFanouts;
59 };
60
61 using seconds = int64_t;
62 using clock_type = std::chrono::steady_clock;
63 using time_point = std::chrono::time_point<clock_type>;
64
65 template <typename T>
66 using summary = std::vector<std::pair<std::string, T>>;
67
68}
69
#define ABC_NAMESPACE_CXX_HEADER_START
#define ABC_NAMESPACE_CXX_HEADER_END
Definition rrr.h:16
int64_t seconds
Definition rrrTypes.h:61
std::chrono::steady_clock clock_type
Definition rrrTypes.h:62
std::vector< std::pair< std::string, T > > summary
Definition rrrTypes.h:66
VarValue
Definition rrrTypes.h:24
@ UNDEF
Definition rrrTypes.h:25
@ TEMP_FALSE
Definition rrrTypes.h:29
@ TRUE
Definition rrrTypes.h:26
@ FALSE
Definition rrrTypes.h:27
@ TEMP_TRUE
Definition rrrTypes.h:28
ActionType
Definition rrrTypes.h:32
@ POP_BACK
Definition rrrTypes.h:45
@ REMOVE_BUFFER
Definition rrrTypes.h:36
@ REMOVE_UNUSED
Definition rrrTypes.h:35
@ TRIVIAL_DECOMPOSE
Definition rrrTypes.h:40
@ TRIVIAL_COLLAPSE
Definition rrrTypes.h:39
@ INSERT
Definition rrrTypes.h:46
@ SAVE
Definition rrrTypes.h:43
@ REMOVE_CONST
Definition rrrTypes.h:37
@ LOAD
Definition rrrTypes.h:44
@ NONE
Definition rrrTypes.h:33
@ SORT_FANINS
Definition rrrTypes.h:41
@ REMOVE_FANIN
Definition rrrTypes.h:34
@ ADD_FANIN
Definition rrrTypes.h:38
@ READ
Definition rrrTypes.h:42
std::chrono::time_point< clock_type > time_point
Definition rrrTypes.h:63
SatResult
Definition rrrTypes.h:18
@ SAT
Definition rrrTypes.h:19
@ UNDET
Definition rrrTypes.h:21
@ UNSAT
Definition rrrTypes.h:20
NodeType
Definition rrrTypes.h:10
@ AND
Definition rrrTypes.h:13
@ XOR
Definition rrrTypes.h:14
@ PI
Definition rrrTypes.h:11
@ PO
Definition rrrTypes.h:12
@ LUT
Definition rrrTypes.h:15
bool fNew
Definition rrrTypes.h:55
std::vector< int > vFanouts
Definition rrrTypes.h:58
std::vector< int > vIndices
Definition rrrTypes.h:57
std::vector< int > vFanins
Definition rrrTypes.h:56
ActionType type
Definition rrrTypes.h:50