Table of Contents

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

Name

beh_addbegen , beh_delbegen , beh_rmvbegen , beh_frebegen

Synopsys

struct begen *beh_addbegen (list, name, type, value) struct begen *list;
char *name;
char *type;
void *value;

struct begen *beh_delbegen (list, pnt, mode) struct begen *list;
struct begen *pnt;
char mode;

struct begen *beh_rmvbegen (list, name, mode) struct begen *list;
char *name;
char mode;

void beh_frebegen (list)
struct begen *list;

Parameters

list
pointer of a list of begen structures
name
name of the generic to be added to or removed from the list
pnt
pointer of the begen structure to be removed from the list
type
type of the generic
type
type of the generic (integer, bit, natural, ...)
value
pointer on the structure representing the value of the genereic
mode
recursive mode (Y or N)

Description

A begen is a data structure representing a constant value relative to a circuit.

beh_addbegen() adds a begen structure at the top of a list of begen structures. The name registred in the begen structure is produced by namealloc(). The function returns the pointer of the new list. No checks are made by this function.

beh_delbegen() deletes a begen structure (pointed by pnt) from a list of begen structures. The function returns the pointer of the new list. No action is made if the structure pointed by pnt doesn't belong to the list. If mode is set to `Y' all objects pointed by the begen will also be removed. If mode is set to `N' and there is any object pointed by the begen a warning message is printed on the standard error output.

beh_rmvbegen() deletes a begen structure (named name) from a list of begen structures. name is supposed to be produced by namealloc(). The function returns the pointer of the new list. No action is made if no structure named name has been found in the list. If mode is set to `Y' all objects pointed by the begen will also be removed. If mode is set to `N' and there is any object pointed by the begen a warning message is printed on the standard error output.

beh_frebegen() deletes a list of begen structures (pointed by list). No action is made if list is an empty list (NULL pointer). No checks are made by this function.

Example

#include <beh108.h>

struct begen *list;

list = beh_addbegen (list,"surface","natural",600);

See Also

beh(3) , begen(3) , namealloc(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.

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.