Scroll to navigation

ALLOCRDSINS(3) RDS PHYSICAL FUNCTIONS ALLOCRDSINS(3)

NAME


allocrdsins - allocates memory for an instance

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"rdsnnn.h"
rdsins_list ∗allocrdsins()

PARAMETER

none

DESCRIPTION

Allocates a memory block for rdsins_list structure. Fields contained in the structure are set to NULL for the pointers and 0L for numbers.

NOTE: Allocation by block ( see rdsalloc() function ).

RETURN VALUE

The pointer to the allocated instance.

ERRORS

"Rds202: rdsalloc error, can't continue !"

it's impossible to allocate the memory size desired.

EXAMPLE


#include "mutnnn.h" #include "rdsnnn.h" #include "rtlnnn.h" main() { rdsins_list ∗RdsInstance;
mbkenv();
rdsenv();
loadrdsparam(); RdsInstance = allocrdsins (); RdsInstance->FIGNAME = namealloc ("na2_y"); RdsInstance->INSNAME = namealloc ("and2"); ... }

SEE ALSO

librds, freerdsins, rdsalloc, rdsfree

BUG REPORT

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

October 1, 1997 ASIM/LIP6