@@ -839,15 +839,15 @@ void Gia_ManMulFindPrintSet( Vec_Int_t * vSet, int fLit, int fSkipLast )
839839 }
840840 printf ( "}" );
841841}
842- void Gia_ManMulFindPrintOne ( Vec_Wec_t * vTerms , int m , int fBooth )
842+ void Gia_ManMulFindPrintOne ( Vec_Wec_t * vTerms , int m , int fBooth , int fInputLits )
843843{
844844 Vec_Int_t * vIn0 = Vec_WecEntry (vTerms , 3 * m + 0 );
845845 Vec_Int_t * vIn1 = Vec_WecEntry (vTerms , 3 * m + 1 );
846846 Vec_Int_t * vOut = Vec_WecEntry (vTerms , 3 * m + 2 );
847847 printf ( "%sooth %ssigned %d x %d: " , fBooth ? "B" : "Non-b" , Vec_IntEntryLast (vOut ) ? "" : "un" , Vec_IntSize (vIn0 ), Vec_IntSize (vIn1 ) );
848- Gia_ManMulFindPrintSet ( vIn0 , 0 , 0 );
848+ Gia_ManMulFindPrintSet ( vIn0 , fInputLits , 0 );
849849 printf ( " * " );
850- Gia_ManMulFindPrintSet ( vIn1 , 0 , 0 );
850+ Gia_ManMulFindPrintSet ( vIn1 , fInputLits , 0 );
851851 printf ( " = " );
852852 Gia_ManMulFindPrintSet ( vOut , 1 , 1 );
853853 printf ( "\n" );
@@ -862,9 +862,9 @@ void Gia_ManMulFind( Gia_Man_t * p, int nCutNum, int fVerbose )
862862 Vec_Wec_t * vTermsA = Gia_ManMulFindA ( p , vCuts3 , fVerbose );
863863 printf ( "Detected %d booth and %d non-booth multipliers.\n" , Vec_WecSize (vTermsB )/3 , Vec_WecSize (vTermsA )/3 );
864864 for ( m = 0 ; m < Vec_WecSize (vTermsA )/3 ; m ++ )
865- Gia_ManMulFindPrintOne ( vTermsA , m , 0 );
865+ Gia_ManMulFindPrintOne ( vTermsA , m , 0 , 0 );
866866 for ( m = 0 ; m < Vec_WecSize (vTermsB )/3 ; m ++ )
867- Gia_ManMulFindPrintOne ( vTermsB , m , 1 );
867+ Gia_ManMulFindPrintOne ( vTermsB , m , 1 , 0 );
868868 Vec_WecFree ( vTermsB );
869869 Vec_WecFree ( vTermsA );
870870 Vec_WecFree ( vCuts3 );
0 commit comments