sourCEntral - mobile manpages

pdf

GETLOSIG

NAME

getlosig - retrieve a logical signal

ORIGIN

This software belongs to the ALLIANCE CAD SYSTEM developed by the ASIM team at LIP6 laboratory of Université Pierre et Marie CURIE, in Paris, France.

Web : http://asim.lip6.fr/recherche/alliance/
E-mail : alliance-users AT asim DOT lip6 DOT fr

SYNOPSIS

#include "mlo.h"
losig_list ∗getlosig(ptfig, index)
lofig_list ∗ptfig;
long index;

PARAMETERS

ptfig

Pointer to the figure in which the signal should be seeked

index

Index of the signal

DESCRIPTION

getlosig looks in the list of signals of the logical model pointed to by ptfig for a signal identified by its index. This signal is unique, since the index is the signal identifier.

RETURN VALUE

getlosig returns a pointer to the signal that matches the index.

ERRORS

"∗∗∗ mbk error ∗∗∗ illegal getlosig signal index doesn’t exist in figure ptfig->NAME"

No signal has index as INDEX in the figure.

EXAMPLE

#include "mlo.h"
losig_list ∗get_sig_by_name(figname, index)
char ∗figname;
long index;
{
return getlosig(getlofig(figname), index);
}

SEE ALSO

mbk(1), lofig(3), losig(3), addlosig(3), dellosig(3).

BUG REPORT

This tool is under development at the ASIM department of the LIP6 laboratory.
We need your feedback to improve documentation and tools.

pdf