#include "amapInt.h"
Go to the source code of this file.
Classes | |
| struct | Amap_Pair_t_ |
| struct | Amap_Item_t_ |
| struct | Amap_Tree_t_ |
Macros | |
| #define | ABC_MAX_LIB_STR_LEN 5000 |
| DECLARATIONS ///. | |
| #define | Amap_ItemForEachChild(p, pItem, pChild) |
Typedefs | |
| typedef struct Amap_Pair_t_ | Amap_Pair_t |
| typedef struct Amap_Item_t_ | Amap_Item_t |
| typedef struct Amap_Tree_t_ | Amap_Tree_t |
Enumerations | |
| enum | Amap_LibertyType_t { AMAP_LIBERTY_NONE = 0 , AMAP_LIBERTY_PROC , AMAP_LIBERTY_EQUA , AMAP_LIBERTY_LIST } |
| #define ABC_MAX_LIB_STR_LEN 5000 |
DECLARATIONS ///.
CFile****************************************************************
FileHead [amapLiberty.c]
SystemHead [ABC: Logic synthesis and verification system.]
PackageHead [Technology mapper for standard cells.]
Synopsis [Liberty parser.]
Author [Alan Mishchenko]
Affiliation [UC Berkeley]
Date [Ver. 1.0. Started - June 20, 2005.]
Revision [
]
Definition at line 30 of file amapLiberty.c.
| #define Amap_ItemForEachChild | ( | p, | |
| pItem, | |||
| pChild ) |
Definition at line 79 of file amapLiberty.c.
| typedef struct Amap_Item_t_ Amap_Item_t |
Definition at line 47 of file amapLiberty.c.
| typedef struct Amap_Pair_t_ Amap_Pair_t |
Definition at line 40 of file amapLiberty.c.
| typedef struct Amap_Tree_t_ Amap_Tree_t |
Definition at line 59 of file amapLiberty.c.
| enum Amap_LibertyType_t |
| Enumerator | |
|---|---|
| AMAP_LIBERTY_NONE | |
| AMAP_LIBERTY_PROC | |
| AMAP_LIBERTY_EQUA | |
| AMAP_LIBERTY_LIST | |
Definition at line 33 of file amapLiberty.c.
| int Amap_LibertyBuildItem | ( | Amap_Tree_t * | p, |
| char ** | ppPos, | ||
| char * | pEnd ) |
Function*************************************************************
Synopsis [Returns free item.]
Description []
SideEffects []
SeeAlso []
Definition at line 877 of file amapLiberty.c.


| Amap_Item_t * Amap_LibertyCellArea | ( | Amap_Tree_t * | p, |
| Amap_Item_t * | pCell ) |
Function*************************************************************
Synopsis [Returns cell's area.]
Description []
SideEffects []
SeeAlso []
Definition at line 299 of file amapLiberty.c.

| int Amap_LibertyCellCountOutputs | ( | Amap_Tree_t * | p, |
| Amap_Item_t * | pCell ) |
Function*************************************************************
Synopsis [Count cell's output pins (pins with a logic function).]
Description []
SideEffects []
SeeAlso []
Definition at line 322 of file amapLiberty.c.


| int Amap_LibertyCellIsDontUse | ( | Amap_Tree_t * | p, |
| Amap_Item_t * | pCell ) |
Function*************************************************************
Synopsis [Returns cell's function.]
Description []
SideEffects []
SeeAlso []
Definition at line 221 of file amapLiberty.c.

| int Amap_LibertyCellIsFlop | ( | Amap_Tree_t * | p, |
| Amap_Item_t * | pCell ) |
Function*************************************************************
Synopsis [Returns cell's function.]
Description []
SideEffects []
SeeAlso []
Definition at line 200 of file amapLiberty.c.

| Amap_Item_t * Amap_LibertyCellOutput | ( | Amap_Tree_t * | p, |
| Amap_Item_t * | pCell ) |
Function*************************************************************
Synopsis [Returns output pin(s).]
Description []
SideEffects []
SeeAlso []
Definition at line 261 of file amapLiberty.c.

| Vec_Ptr_t * Amap_LibertyCellOutputs | ( | Amap_Tree_t * | p, |
| Amap_Item_t * | pCell ) |
Definition at line 273 of file amapLiberty.c.


| int Amap_LibertyCountItems | ( | char * | pBeg, |
| char * | pEnd ) |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 652 of file amapLiberty.c.

| int Amap_LibertyFileSize | ( | char * | pFileName | ) |
Function*************************************************************
Synopsis [Returns the file size.]
Description [The file should be closed.]
SideEffects []
SeeAlso []
Definition at line 606 of file amapLiberty.c.

| void Amap_LibertyFixFileHead | ( | char * | pFileName | ) |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 633 of file amapLiberty.c.

| char * Amap_LibertyGetString | ( | Amap_Tree_t * | p, |
| Amap_Pair_t | Pair ) |
Function*************************************************************
Synopsis [Gets the name to write.]
Description []
SideEffects []
SeeAlso []
Definition at line 347 of file amapLiberty.c.


| char * Amap_LibertyGetStringFormula | ( | Amap_Tree_t * | p, |
| Amap_Pair_t | Pair ) |
Function*************************************************************
Synopsis [Gets the name to write.]
Description []
SideEffects []
SeeAlso []
Definition at line 367 of file amapLiberty.c.


| int Amap_LibertyParse | ( | char * | pFileName, |
| int | fVerbose ) |
Function*************************************************************
Synopsis [Parses the standard cell library in Liberty format.]
Description [Writes the resulting file in Genlib format.]
SideEffects []
SeeAlso []
Definition at line 1044 of file amapLiberty.c.

| Vec_Str_t * Amap_LibertyParseStr | ( | char * | pFileName, |
| int | fVerbose ) |
Function*************************************************************
Synopsis [Parses the standard cell library in Liberty format.]
Description [Writes the resulting file in Genlib format.]
SideEffects []
SeeAlso []
Definition at line 1091 of file amapLiberty.c.

| Amap_Item_t * Amap_LibertyPinFunction | ( | Amap_Tree_t * | p, |
| Amap_Item_t * | pPin ) |
Function*************************************************************
Synopsis [Returns pin's function.]
Description []
SideEffects []
SeeAlso []
Definition at line 241 of file amapLiberty.c.

| int Amap_LibertyPrintGenlib | ( | Amap_Tree_t * | p, |
| char * | pFileName, | ||
| int | fVerbose ) |
Function*************************************************************
Synopsis [Prints parse tree in Genlib format.]
Description []
SideEffects []
SeeAlso []
Definition at line 387 of file amapLiberty.c.


| Vec_Str_t * Amap_LibertyPrintGenlibStr | ( | Amap_Tree_t * | p, |
| int | fVerbose ) |
Function*************************************************************
Synopsis [Prints parse tree in Genlib format.]
Description []
SideEffects []
SeeAlso []
Definition at line 504 of file amapLiberty.c.


| int Amap_LibertyPrintLiberty | ( | Amap_Tree_t * | p, |
| char * | pFileName ) |
Function*************************************************************
Synopsis [Prints parse tree in Liberty format.]
Description []
SideEffects []
SeeAlso []
Definition at line 143 of file amapLiberty.c.

| void Amap_LibertyPrintLibertyItem | ( | FILE * | pFile, |
| Amap_Tree_t * | p, | ||
| Amap_Item_t * | pItem, | ||
| int | nOffset ) |
FUNCTION DEFINITIONS ///.
Function*************************************************************
Synopsis [Prints parse tree in Liberty format.]
Description []
SideEffects []
SeeAlso []
Definition at line 97 of file amapLiberty.c.


| Amap_Tree_t * Amap_LibertyStart | ( | char * | pFileName | ) |
Function*************************************************************
Synopsis [Starts the parsing manager.]
Description []
SideEffects []
SeeAlso []
Definition at line 983 of file amapLiberty.c.


| void Amap_LibertyStop | ( | Amap_Tree_t * | p | ) |
Function*************************************************************
Synopsis [Stops the parsing manager.]
Description []
SideEffects []
SeeAlso []
Definition at line 1024 of file amapLiberty.c.

| char * Amap_LibertyTimeStamp | ( | ) |
Function*************************************************************
Synopsis [Returns the time stamp.]
Description [The file should be closed.]
SideEffects []
SeeAlso []
Definition at line 175 of file amapLiberty.c.


| void Amap_LibertyWipeOutComments | ( | char * | pBeg, |
| char * | pEnd ) |
Function*************************************************************
Synopsis [Removes C-style comments.]
Description []
SideEffects []
SeeAlso []
Definition at line 671 of file amapLiberty.c.
