table of contents
| SETLORES(3) | MBK LOGICAL FUNCTIONS | SETLORES(3) |
NAME¶
setlores - set the resistance value of a logical resistorORIGIN¶
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" void setlores(ptfig,name,newresi) lofig_list ∗ptfig ; const char ∗name ; double newresi ;
PARAMETERS¶
- ptfig
- Pointer to the figure in which the resistor should be seeked
- name
- Instance name of the resistor
- newresi
- New resistance value
DESCRIPTION¶
setlores looks in the list of resistors of the logical model pointed to by ptfig for a resistor identified by its instance name and set the RESI field to the newresi value.RETURN VALUE¶
NoneERRORS¶
"∗∗∗ mbk error ∗∗∗ setlores impossible : resistor name doesn't exist in figure ptfig -> NAME"No resistor matches the name.
EXAMPLE¶
#include "mlo.h"
void set_lores_value(char ∗figname,char ∗resname,double newresi)
{
setlores(getlofig(figname,'A'),resname,newresi) ;
}
SEE ALSO¶
mbk(1), lofig(3), lores(3), addlores(3), getlores(3), dellores(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.
| August 14, 2002 | ASIM/LIP6 |