cudd  3.0.0
The University of Colorado Decision Diagram Package
Data Structures | Macros | Typedefs
bnet.h File Reference

Simple-minded package to read a blif file. More...

#include "util.h"
#include "st.h"
#include "cudd.h"
Include dependency graph for bnet.h:

Go to the source code of this file.

Data Structures

struct  BnetTabline
 Type to store a line of the truth table of a node. More...
 
struct  BnetNode
 Node of the boolean network. More...
 
struct  BnetNetwork
 Very simple boolean network data structure. More...
 

Macros

#define BNET_CONSTANT_NODE   0
 
#define BNET_INPUT_NODE   1
 
#define BNET_PRESENT_STATE_NODE   2
 
#define BNET_INTERNAL_NODE   3
 
#define BNET_OUTPUT_NODE   4
 
#define BNET_NEXT_STATE_NODE   5
 
#define BNET_LOCAL_DD   0
 
#define BNET_GLOBAL_DD   1
 
#define TRUE   1
 
#define FALSE   0
 

Typedefs

typedef struct BnetTabline BnetTabline
 Type to store a line of the truth table of a node. More...
 
typedef struct BnetNode BnetNode
 Node of the boolean network. More...
 
typedef struct BnetNetwork BnetNetwork
 Very simple boolean network data structure.
 

Detailed Description

Simple-minded package to read a blif file.

Author
Fabio Somenzi

Typedef Documentation

◆ BnetNode

typedef struct BnetNode BnetNode

Node of the boolean network.

There is one node in the network for each primary input and for each .names directive. This structure has a field to point to the DD of the node function. The function may be either in terms of primary inputs, or it may be in terms of the local inputs. The latter implies that each node has a variable index associated to it at some point in time. The field "var" stores that variable index, and "active" says if the association is currently valid. (It is indeed possible for an index to be associated to different nodes at different times.)

◆ BnetTabline

typedef struct BnetTabline BnetTabline

Type to store a line of the truth table of a node.

The entire truth table implemented as a linked list of objects of this type.