diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2015-07-31 20:47:09 -0700 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2015-07-31 20:47:09 -0700 |
commit | f6a7f695c06cbc0a41069e7ef08e9926c3bb3116 (patch) | |
tree | b0c38e09a80cfa2149022e0bc16ca5d9751a8bd4 /src/base/cba/cbaReadVer.c | |
parent | bab71101ec16852f1fbefdf5183a8e6300233323 (diff) | |
download | abc-f6a7f695c06cbc0a41069e7ef08e9926c3bb3116.tar.gz abc-f6a7f695c06cbc0a41069e7ef08e9926c3bb3116.tar.bz2 abc-f6a7f695c06cbc0a41069e7ef08e9926c3bb3116.zip |
Improvements to Cba data-structure.
Diffstat (limited to 'src/base/cba/cbaReadVer.c')
-rw-r--r-- | src/base/cba/cbaReadVer.c | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/src/base/cba/cbaReadVer.c b/src/base/cba/cbaReadVer.c index 67a7c3b7..10032a9f 100644 --- a/src/base/cba/cbaReadVer.c +++ b/src/base/cba/cbaReadVer.c @@ -865,6 +865,32 @@ void Prs_ManReadVerilogTest( char * pFileName ) Prs_ManVecFree( vPrs ); } +Cba_Man_t * Prs_ManBuildCbaVerilog( char * pFileName, Vec_Ptr_t * vDes ) +{ + return NULL; +} + +/**Function************************************************************* + + Synopsis [] + + Description [] + + SideEffects [] + + SeeAlso [] + +***********************************************************************/ +Cba_Man_t * Cba_ManReadVerilog( char * pFileName ) +{ + Cba_Man_t * p = NULL; + Vec_Ptr_t * vDes = Prs_ManReadVerilog( pFileName ); + if ( vDes && Vec_PtrSize(vDes) ) + p = Prs_ManBuildCbaVerilog( pFileName, vDes ); + if ( vDes ) + Prs_ManVecFree( vDes ); + return p; +} //////////////////////////////////////////////////////////////////////// /// END OF FILE /// |