Table of Contents

Name

lofigchain - creates a netlist in terms of connectors on signals

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

Synopsys

#include mlo404.h"
void lofigchain(ptfig)
lofig_list *ptfig;

Parameter

ptfig
Pointer to a lofig_list

Description

The lofigchain function creates the dual representation of natural mbk netlists. In mbk, netlists are described in terms of signal attached to connectors. With lofigchain, one can have the dual sight : connectors attached to signals. This can be very useful, depending on the application, but it's also memory consuming on big netlists, since two views of the same thing are present in memory at the same time.

The information resulting of a call to lofigchain is present in the USER field of all signals of the figure, accessible through ptfig->LOSIG. The USER field has a ptype typed LOFIGCHAIN, that points on a chain_list whose DATA points on each locon beeing connected to the given signal.

Error

*** mbk error *** lofigchain impossible : figure ptfig->NAME is interface only"
In order to be valid, the netlist resulting of a call to lofigchain must be done on a figure entirely loaded in ram. See getlofig for details.

Example

#include mut404.h"
#include mlo404.h"
void print_netlist(p)
lofig_list *p;
{
losig_list *s;
chain_list *c;
lofigchain(p) ; for (s = p->LOSIG; s; s = s->NEXT){ (void)fprintf(stdout, signal : index = %ld name = %s\n", s->INDEX, getsigname(s));
c = (chain_list *)(getptype(s->USER, (long)LOFIGCHAIN)->DATA); while (c) {
fprintf(stdout, conname : %s\n", (locon_list *)(c->DATA)->NAME); c = c->NEXT;
}
}
}

See Also

mbk(1) , lofig(3) , locon(3) , losig(3) , getlofig(3) , loadlofig(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.