ABC: A System for Sequential Synthesis and Verification
 
Loading...
Searching...
No Matches
frames.h
Go to the documentation of this file.
1#ifndef _frames_h_INCLUDED
2#define _frames_h_INCLUDED
3
4#include "literal.h"
5#include "stack.h"
6
7#include <stdbool.h>
8
9#include "global.h"
11
12typedef struct frame frame;
13typedef struct slice slice;
14
15struct frame {
16 bool promote;
17 unsigned decision;
18 unsigned trail;
19 unsigned used;
20#ifndef KISSAT_NDEBUG
21 unsigned saved;
22#endif
23};
24
25// clang-format off
26
27typedef STACK (frame) frames;
28
29// clang-format on
30
31struct kissat;
32
33#define FRAME(LEVEL) (PEEK_STACK (solver->frames, (LEVEL)))
34
36
37#endif
#define ABC_NAMESPACE_HEADER_END
#define ABC_NAMESPACE_HEADER_START
NAMESPACES ///.
#define STACK(TYPE)
Definition stack.h:10
struct slice slice
Definition frames.h:13
Definition frames.h:15
unsigned trail
Definition frames.h:18
unsigned decision
Definition frames.h:17
bool promote
Definition frames.h:16
unsigned used
Definition frames.h:19