abc-master
|
Go to the source code of this file.
Data Structures | |
struct | Ver_Bundle_t_ |
Typedefs | |
typedef struct Ver_Bundle_t_ | Ver_Bundle_t |
Enumerations | |
enum | Ver_SignalType_t { VER_SIG_NONE = 0, VER_SIG_INPUT, VER_SIG_OUTPUT, VER_SIG_INOUT, VER_SIG_REG, VER_SIG_WIRE } |
DECLARATIONS ///. More... | |
enum | Ver_GateType_t { VER_GATE_AND = 0, VER_GATE_OR, VER_GATE_XOR, VER_GATE_BUF, VER_GATE_NAND, VER_GATE_NOR, VER_GATE_XNOR, VER_GATE_NOT } |
Variables | |
int | glo_fMapped = 0 |
typedef struct Ver_Bundle_t_ Ver_Bundle_t |
enum Ver_GateType_t |
Enumerator | |
---|---|
VER_GATE_AND | |
VER_GATE_OR | |
VER_GATE_XOR | |
VER_GATE_BUF | |
VER_GATE_NAND | |
VER_GATE_NOR | |
VER_GATE_XNOR | |
VER_GATE_NOT |
Definition at line 43 of file verCore.c.
enum Ver_SignalType_t |
DECLARATIONS ///.
CFile****************************************************************
FileName [verCore.c]
SystemName [ABC: Logic synthesis and verification system.]
PackageName [Verilog parser.]
Synopsis [Parses several flavors of structural Verilog.]
Author [Alan Mishchenko]
Affiliation [UC Berkeley]
Date [Ver. 1.0. Started - August 19, 2006.]
Revision [
]
Enumerator | |
---|---|
VER_SIG_NONE | |
VER_SIG_INPUT | |
VER_SIG_OUTPUT | |
VER_SIG_INOUT | |
VER_SIG_REG | |
VER_SIG_WIRE |
Definition at line 33 of file verCore.c.
int Ver_FindGateInput | ( | Mio_Gate_t * | pGate, |
char * | pName | ||
) |
Function*************************************************************
Synopsis [Returns the index of the given pin the gate.]
Description []
SideEffects []
SeeAlso []
Definition at line 1525 of file verCore.c.
|
inlinestatic |
|
inlinestatic |
Function*************************************************************
Synopsis [Parses one directive.]
Description []
SideEffects []
SeeAlso []
Definition at line 892 of file verCore.c.
Function*************************************************************
Synopsis [Parses one directive.]
Description []
SideEffects []
SeeAlso []
Definition at line 1087 of file verCore.c.
|
static |
Function*************************************************************
Synopsis [Attaches the boxes to the network.]
Description [This procedure is called after the design is parsed. At that point, all the defined models have their PIs present. They are connected first. Next undef boxes are processed (if present). Iteratively, one bundle is selected to be driven by the undef boxes in such a way that there is no conflict (if it is driven by an instance of the box, no other net will be driven twice by the same formal net of some other instance of the same box). In the end, all the remaining nets that cannot be driven by the undef boxes are connected to the undef boxes as inputs.]
SideEffects []
SeeAlso []
Definition at line 2870 of file verCore.c.
Function*************************************************************
Synopsis [Parses one directive.]
Description []
SideEffects []
SeeAlso []
Definition at line 1732 of file verCore.c.
int Ver_ParseCheckNondrivenNets | ( | Vec_Ptr_t * | vUndefs | ) |
Function*************************************************************
Synopsis [Returns 1 if there are non-driven nets.]
Description []
SideEffects []
SeeAlso []
Definition at line 2440 of file verCore.c.
Function*************************************************************
Synopsis [Collects the undef boxes and maps them into their instances.]
Description []
SideEffects []
SeeAlso []
Definition at line 2356 of file verCore.c.
Function*************************************************************
Synopsis [Connects one box to the network]
Description []
SideEffects []
SeeAlso []
Definition at line 2071 of file verCore.c.
int Ver_ParseConnectDefBoxes | ( | Ver_Man_t * | pMan | ) |
Function*************************************************************
Synopsis [Connects the defined boxes.]
Description [Returns 2 if there are any undef boxes.]
SideEffects []
SeeAlso []
Definition at line 2310 of file verCore.c.
int Ver_ParseConstant | ( | Ver_Man_t * | pMan, |
char * | pWord | ||
) |
Function*************************************************************
Synopsis [Converts the network from the blackbox type into a different one.]
Description []
SideEffects []
SeeAlso []
Definition at line 351 of file verCore.c.
Function*************************************************************
Synopsis [Creates inverter and returns its net.]
Description []
SideEffects []
SeeAlso []
Definition at line 3021 of file verCore.c.
|
static |
Function*************************************************************
Synopsis [Create a latch with the given input/output.]
Description [By default, the latch value is a don't-care.]
SideEffects []
SeeAlso []
Definition at line 2990 of file verCore.c.
Function*************************************************************
Synopsis [Creates PI terminal and net.]
Description []
SideEffects []
SeeAlso []
Definition at line 2940 of file verCore.c.
Function*************************************************************
Synopsis [Creates PO terminal and net.]
Description []
SideEffects []
SeeAlso []
Definition at line 2965 of file verCore.c.
int Ver_ParseDriveFormal | ( | Ver_Man_t * | pMan, |
Abc_Ntk_t * | pNtk, | ||
Ver_Bundle_t * | pBundle0 | ||
) |
Function*************************************************************
Synopsis [Drives the bundle in the given undef box.]
Description []
SideEffects []
SeeAlso []
Definition at line 2542 of file verCore.c.
Function*************************************************************
Synopsis [Drives the bundle in the given undef box.]
Description []
SideEffects []
SeeAlso []
Definition at line 2616 of file verCore.c.
MACRO DEFINITIONS ///.
Function*************************************************************
Synopsis [File parser.]
Description []
SideEffects []
SeeAlso []
Definition at line 165 of file verCore.c.
Function*************************************************************
Synopsis [Finds the network by name or create a new blackbox network.]
Description []
SideEffects []
SeeAlso []
Definition at line 328 of file verCore.c.
Function*************************************************************
Synopsis [Finds the network by name or create a new blackbox network.]
Description []
SideEffects []
SeeAlso []
Definition at line 301 of file verCore.c.
Function*************************************************************
Synopsis [Parses one directive.]
Description []
SideEffects []
SeeAlso []
Definition at line 1426 of file verCore.c.
int Ver_ParseFormalNetsAreDriven | ( | Abc_Ntk_t * | pNtk, |
char * | pNameFormal | ||
) |
Function*************************************************************
Synopsis [Checks if formal nets with the given name are driven in any of the instances of undef boxes.]
Description []
SideEffects []
SeeAlso []
Definition at line 2474 of file verCore.c.
void Ver_ParseFreeBundle | ( | Ver_Bundle_t * | pBundle | ) |
|
static |
|
static |
Function*************************************************************
Synopsis [Parses one directive.]
Description []
SideEffects []
SeeAlso []
Definition at line 1550 of file verCore.c.
|
static |
Function*************************************************************
Synopsis [Parses one directive.]
Description []
SideEffects []
SeeAlso []
Definition at line 1330 of file verCore.c.
Ver_Bundle_t* Ver_ParseGetNondrivenBundle | ( | Abc_Ntk_t * | pNtk, |
int | Counter | ||
) |
Function*************************************************************
Synopsis [Returns the non-driven bundle that is given distance from the end.]
Description []
SideEffects []
SeeAlso []
Definition at line 2509 of file verCore.c.
Function*************************************************************
Synopsis [Parses one directive.]
Description []
SideEffects []
SeeAlso []
Definition at line 991 of file verCore.c.
int Ver_ParseInsertsSuffix | ( | Ver_Man_t * | pMan, |
char * | pWord, | ||
int | nMsb, | ||
int | nLsb | ||
) |
Function*************************************************************
Synopsis [Lookups the suffix of the signal of the form [m:n].]
Description []
SideEffects []
SeeAlso []
Definition at line 587 of file verCore.c.
|
static |
Function*************************************************************
Synopsis [File parser.]
Description []
SideEffects []
SeeAlso []
Definition at line 200 of file verCore.c.
int Ver_ParseLookupSuffix | ( | Ver_Man_t * | pMan, |
char * | pWord, | ||
int * | pnMsb, | ||
int * | pnLsb | ||
) |
int Ver_ParseMaxBoxSize | ( | Vec_Ptr_t * | vUndefs | ) |
Function*************************************************************
Synopsis [Returns the max size of any undef box.]
Description []
SideEffects []
SeeAlso []
Definition at line 2709 of file verCore.c.
|
static |
Function*************************************************************
Synopsis [Parses one Verilog module.]
Description []
SideEffects []
SeeAlso []
Definition at line 401 of file verCore.c.
void Ver_ParsePrintErrorMessage | ( | Ver_Man_t * | p | ) |
void Ver_ParsePrintLog | ( | Ver_Man_t * | pMan | ) |
Function*************************************************************
Synopsis [Prints the comprehensive report into a log file.]
Description []
SideEffects []
SeeAlso []
Definition at line 2735 of file verCore.c.
|
static |
void Ver_ParseReportUndefBoxes | ( | Ver_Man_t * | pMan | ) |
Function*************************************************************
Synopsis [Reports how many times each type of undefined box occurs.]
Description []
SideEffects []
SeeAlso []
Definition at line 2400 of file verCore.c.
|
static |
Function*************************************************************
Synopsis [Parses one directive.]
Description [The signals are added in the order from LSB to MSB.]
SideEffects []
SeeAlso []
Definition at line 805 of file verCore.c.
int Ver_ParseSignalPrefix | ( | Ver_Man_t * | pMan, |
char ** | ppWord, | ||
int * | pnMsb, | ||
int * | pnLsb | ||
) |
int Ver_ParseSignalSuffix | ( | Ver_Man_t * | pMan, |
char * | pWord, | ||
int * | pnMsb, | ||
int * | pnLsb | ||
) |
FUNCTION DEFINITIONS ///.
Function*************************************************************
Synopsis [Start parser.]
Description []
SideEffects []
SeeAlso []
Definition at line 104 of file verCore.c.
|
static |