Table of Contents

Origin

This software belongs to the ALLIANCE CAD system from the CAO-VLSI team at ASIM/LIP6/UPMC laboratory.
LIP6/ASIM
University P. et M. Curie 4, place Jussieu 75252 PARIS Cedex 05 FRANCE
Fax : {33/0} 1.44.27.62.86
E-mail support : alliance-support@asim.lip6.fr

Name

proofCct - checks the equivalence of two circuits

Synopsys

#include logmmm.h"
int proofCct(pC1,pC2)
pCircuit pC1;
pCircuit pC2;

Parameters

pC1
first circuit to proof
pC2
second circuit to proof

Description

proofCct() checks the logical equivalence of pC1 and pC2. In order to correctly compare the two description, the circuits must contains the same primary inputs, primary outputs and association order of the primary inputs with the indexes (You can use for example the cpOrderCct() function).

Example

#include mutnnn.h
/* mbk utilities */ #include logmmm.h" pCircuit pC1,pC2; chain_list *expr;

initializeBdd(SMALL_BDD);
pC1 = initializeCct("circuit 1",10,10);
pC2= initializeCct("circuit 2",10,10);

/* let's suppose that pC1 and pC2 are set */

proofCct(pC1,pC2)

/* it will display
************* PROOF between circuit 1 & circuit 2 ********** OUTPUT = s1 is equal
OUTPUT = s2 is different
s2 = (AND a b)
s2 = (AND (OR a b) c) *********************** END OF PROOF *********************** */

destroyCct(pC1) ;
destroyCct(pC2) ;
destroyBdd(1) ;

See Also

log(1) , bdd(1) , cpOrderCct(3) , gcNodeCct(3) .

Bug Report

This tool is under development at the ASIM/LIP6/UPMC laboratory, cao-vlsi research team.
We need your feedbak to improve documentation and tools. If you find bugs, please fill-in the form at http://asim.lip6.fr/alliance/support/bug-report/ Thanks for doing this.


Table of Contents

 



Alliance Web Site © 1997, 2002 ASIM/LIP6/UPMC, page maintained by Czo [Olivier Sirol] , last updated on 26 May 2000.