ACT Library
Loading...
Searching...
No Matches
Classes | Macros | Typedefs
netlist.h File Reference
#include <stdio.h>
#include <act/act.h>
#include <act/passes/booleanize.h>
#include <common/bool.h>
#include <common/list.h>
#include <common/bitset.h>
#include <common/array.h>

Go to the source code of this file.

Classes

struct  act_nl_varinfo
 
struct  node
 
struct  edge
 
struct  netlist_capacitor
 
struct  netlist_t
 
class  ActNetlistPass
 

Macros

#define EDGE_NFET   0
 
#define EDGE_PFET   1
 
#define _STD_WIDTH_PER_FOLD(x)   ((x)->w/(x)->nfolds)
 
#define _RESIDUAL_WIDTH(x)   ((x)->w % (x)->nfolds)
 
#define EDGE_WIDTH(x, i)   (_STD_WIDTH_PER_FOLD(x) + (((i) == (x)->nfolds-1) ? _RESIDUAL_WIDTH(x) : 0))
 

Typedefs

typedef struct edge edge_t
 
typedef struct node node_t
 

Macro Definition Documentation

◆ _RESIDUAL_WIDTH

#define _RESIDUAL_WIDTH (   x)    ((x)->w % (x)->nfolds)

◆ _STD_WIDTH_PER_FOLD

#define _STD_WIDTH_PER_FOLD (   x)    ((x)->w/(x)->nfolds)

◆ EDGE_NFET

#define EDGE_NFET   0

◆ EDGE_PFET

#define EDGE_PFET   1

◆ EDGE_WIDTH

#define EDGE_WIDTH (   x,
 
)    (_STD_WIDTH_PER_FOLD(x) + (((i) == (x)->nfolds-1) ? _RESIDUAL_WIDTH(x) : 0))

Typedef Documentation

◆ edge_t

typedef struct edge edge_t

◆ node_t

typedef struct node node_t