⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mvcprint.c

📁 主要进行大规模的电路综合
💻 C
字号:
/**CFile****************************************************************  FileName    [mvcPrint.c]  PackageName [MVSIS 2.0: Multi-valued logic synthesis system.]  Synopsis    [Printing cubes and covers.]  Author      [MVSIS Group]    Affiliation [UC Berkeley]  Date        [Ver. 1.0. Started - February 1, 2003.]  Revision    [$Id: mvcPrint.c,v 1.7 2003/05/27 23:15:15 alanmi Exp $]***********************************************************************/#include "mvc.h"///////////////////////////////////////////////////////////////////////////                        DECLARATIONS                              //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////                     FUNCTION DEFITIONS                           ////////////////////////////////////////////////////////////////////////////**Function*************************************************************  Synopsis    []  Description []                 SideEffects []  SeeAlso     []***********************************************************************/void Mvc_CoverPrint( Mvc_Cover_t * pCover ){    Mvc_Cube_t * pCube;    int i;    // print general statistics    printf( "The cover contains %d cubes (%d bits and %d words)\n",         pCover->lCubes.nItems, pCover->nBits, pCover->nWords );    // iterate through the cubes    Mvc_CoverForEachCube( pCover, pCube )        Mvc_CubePrint( pCover, pCube );    if ( pCover->pLits )    {        for ( i = 0; i < pCover->nBits; i++ )            printf( " %d", pCover->pLits[i] );        printf( "\n" );     }    printf( "End of cover printout\n" ); }/**Function*************************************************************  Synopsis    []  Description []                 SideEffects []  SeeAlso     []***********************************************************************/void Mvc_CubePrint( Mvc_Cover_t * pCover, Mvc_Cube_t * pCube ){    int iLit, Value;    // iterate through the literals    printf( "Size = %2d   ", Mvc_CubeReadSize(pCube) );    Mvc_CubeForEachLiteral( pCover, pCube, iLit, Value )        printf( "%c", '0' + Value );    printf( "\n" );}///////////////////////////////////////////////////////////////////////////                       END OF FILE                                ///////////////////////////////////////////////////////////////////////////

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -