NAME¶
dellotrs - delete a logical transistor
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@asim.lip6.fr
SYNOPSYS¶
#include "mlo.h"
int dellotrs(ptfig, pttrs)
lofig_list ∗ptfig;
lotrs_list ∗pttrs;
PARAMETERS¶
- ptfig
- Pointer to the figure in which the transistor should be deleted
- pttrs
- Pointer to the transistor to be deleted.
DESCRIPTION¶
dellotrs delete the transistor pointed to by
pttrs in the figure
pointed to by
ptfig. The list consistency is maintainded, and the space
freed. The transistor connectors are also freed, since if the transistor
disapear, no more connections can occur on it.
RETURN VALUE¶
dellotrs returns
1 if the transistor has been deleted,
0 if
the transistor pointer does nit exists in the list.
EXAMPLE¶
#include "mlo.h"
char ∗was_existing(ptfig, pttrs)
lofig_list ∗ptfig;
lotrs_list ∗pttrs;
{
return dellotrs(ptfig, pttrs) ? "you just killed it!"
: "wasn't here anyway";
}
SEE ALSO¶
mbk(1),
lofig(3),
lotrs(3),
addlotrs(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.