ABC: A System for Sequential Synthesis and Verification
 
Loading...
Searching...
No Matches
rewire_vec.h File Reference
#include <stdio.h>
#include <stdlib.h>
#include <assert.h>
#include <string.h>
#include "rewire_rng.h"
Include dependency graph for rewire_vec.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  vi_
 

Macros

#define RW_SWAP(Type, a, b)
 
#define Vi_ForEachEntry(v, entry, i)
 
#define Vi_ForEachEntryReverse(v, entry, i)
 
#define Vi_ForEachEntryStart(v, entry, i, start)
 
#define Vi_ForEachEntryStop(v, entry, i, stop)
 

Typedefs

typedef struct vi_ vi
 

Macro Definition Documentation

◆ RW_SWAP

#define RW_SWAP ( Type,
a,
b )
Value:
{ \
Type t = a; \
a = b; \
b = t; \
}

CFile****************************************************************

FileName [rewire_vec.h]

SystemName [ABC: Logic synthesis and verification system.]

PackageName [Re-wiring.]

Synopsis []

Author [Jiun-Hao Chen]

Affiliation [National Taiwan University]

Date [Ver. 1.0. Started - June 20, 2005.]

Revision [

Id
rewire_vec.h,v 1.00 2005/06/20 00:00:00 alanmi Exp

]

Definition at line 38 of file rewire_vec.h.

38#define RW_SWAP(Type, a, b) \
39 { \
40 Type t = a; \
41 a = b; \
42 b = t; \
43 }

◆ Vi_ForEachEntry

#define Vi_ForEachEntry ( v,
entry,
i )
Value:
for (i = 0; (i < (v)->size) && (((entry) = Vi_Read((v), i)), 1); i++)

Definition at line 52 of file rewire_vec.h.

◆ Vi_ForEachEntryReverse

#define Vi_ForEachEntryReverse ( v,
entry,
i )
Value:
for (i = (v)->size - 1; (i >= 0) && (((entry) = Vi_Read((v), i)), 1); i--)

Definition at line 53 of file rewire_vec.h.

◆ Vi_ForEachEntryStart

#define Vi_ForEachEntryStart ( v,
entry,
i,
start )
Value:
for (i = start; (i < (v)->size) && (((entry) = Vi_Read((v), i)), 1); i++)

Definition at line 54 of file rewire_vec.h.

◆ Vi_ForEachEntryStop

#define Vi_ForEachEntryStop ( v,
entry,
i,
stop )
Value:
for (i = 0; (i < stop) && (((entry) = Vi_Read((v), i)), 1); i++)

Definition at line 55 of file rewire_vec.h.

Typedef Documentation

◆ vi

typedef struct vi_ vi