Commit 08b69297 by Alan Mishchenko

Improvements and tuning of CBA.

parent ffaf8b39
...@@ -43,9 +43,11 @@ box = array containing model name, instance name, followed by pairs of formal ...@@ -43,9 +43,11 @@ box = array containing model name, instance name, followed by pairs of formal
- all formal names present in the module description should be listed - all formal names present in the module description should be listed
- if an input pin is not driven or an output pin has no fanout, the actual pin name is NULL - if an input pin is not driven or an output pin has no fanout, the actual pin name is NULL
- word-level formal name "a" is written as bit-level names (a[0]. a[1], etc) ordered LSB to MSB - word-level formal name "a" is written as bit-level names (a[0]. a[1], etc) ordered LSB to MSB
- primitive names should be given as char*-strings in description of nodes and boxes - the boxes can appear in any order (topological order is not expected)
- in description of nodes and boxes, primitive names should be given as char*-strings ("AndT", "OrT", etc)
- constant 0/1 nets should be driven by constant nodes having primitive names "Const0T" and "Const1T"
- primitive modules should not be written, but the list of primitives and formal names should be provided - primitive modules should not be written, but the list of primitives and formal names should be provided
- constant 0/1 nets can be specified as char*-strings "NetConst0" and "NetConst1". - currently only "boxes" are supported (the array of "nodes" should contain no entries)
- arrays of input-arrival/output-required times in the module description are optional - arrays of input-arrival/output-required times in the module description are optional
*/ */
...@@ -382,7 +384,6 @@ Vec_Ptr_t * Cba_PtrTransformTest( Vec_Ptr_t * vDes ) ...@@ -382,7 +384,6 @@ Vec_Ptr_t * Cba_PtrTransformTest( Vec_Ptr_t * vDes )
SeeAlso [] SeeAlso []
***********************************************************************/ ***********************************************************************/
void Cba_PtrTransformTestTest() void Cba_PtrTransformTestTest()
{ {
char * pFileName = "c/hie/dump/1/netlist_1.v"; char * pFileName = "c/hie/dump/1/netlist_1.v";
......
...@@ -462,6 +462,7 @@ Vec_Ptr_t * Cba_PtrDeriveFromCba( Cba_Man_t * p ) ...@@ -462,6 +462,7 @@ Vec_Ptr_t * Cba_PtrDeriveFromCba( Cba_Man_t * p )
Cba_Ntk_t * pTemp; int i; Cba_Ntk_t * pTemp; int i;
if ( p == NULL ) if ( p == NULL )
return NULL; return NULL;
Cba_ManAssignInternNames( p );
vDes = Vec_PtrAllocExact( 1 + Cba_ManNtkNum(p) ); vDes = Vec_PtrAllocExact( 1 + Cba_ManNtkNum(p) );
Vec_PtrPush( vDes, p->pName ); Vec_PtrPush( vDes, p->pName );
Cba_ManForEachNtk( p, pTemp, i ) Cba_ManForEachNtk( p, pTemp, i )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment