cpOrderCct(2)

ORIGIN
Cao-vlsi libraries, log package, libbddmmm.a

NAME
cpOrderCct - copies the association order of the inputs with the indexes in another circuit

SYNOPSIS
#include "logmmm.h"
void cpOrderCct(pC1,pC2)
pCircuit pC1;
pCircuit pC2;

PARAMETERS

pC1 circuit from which the order is copied

pC2 circuit that recieves the new order

DESCRIPTION
cpOrderCct() copies the association order of pC1 in pC2.

EXAMPLE
#include "mutnnn.h"		/* mbk utilities */
#include "logmmm.h"
pCircuit pC;
pCircuit pCp;
displayBdd(SMALL_BDD);
pC = initializeCct("circuit 1",10,10);
pCp = initializeCct("circuit 1p",10,10);
addInputCct(pC,"a");
addInputCct(pC,"b");
cpOrderCct(pC,pCp)
displayCct(pC,1)
displayCct(pCp,1)
/* it will display
************* DISPLAY circuit 1 **********
INPUT = a	INDEX = 2
INPUT = b	INDEX = 3
--------- NUMBER OF INPUTS = 2
--------- NUMBER OF OUTPUTS = 0
******************************************
************* DISPLAY circuit 1p **********
INPUT = a	INDEX = 2
INPUT = b	INDEX = 3
--------- NUMBER OF INPUTS = 2
--------- NUMBER OF OUTPUTS = 0
******************************************
*/
destroyCct(pC);
destroyCct(pCp);
destroyBdd(1);

SEE ALSO
log(1), bdd(1), addInputCct(2), searchInputCct(2).

SUPPORT STATUS
if bugs arise, please e-mail to cao-vlsi@masi.ibp.fr