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_addberin , beh_delberin , beh_rmvberin , beh_freberin

Synopsys

struct berin *beh_addberin (list, name) struct berin *list;
char *name;

struct berin *beh_delberin (list, pnt)
struct berin *list;
struct berin *pnt;

struct berin *beh_rmvberin (list, name) struct berin *list;
char *name;

void beh_freberin (list)
struct berin *list;

Parameters

list
pointer of a list of berin structures
name
name of the port or register to be added to or removed from the list
pnt
pointer of the berin structure to be removed from the list

Description

A berin is a data structure representing a one-bit port or internal register.

beh_addberin() adds a berin structure at the top of a list of berin structures. The name registred in the berin structure is produced by namealloc(). The function returns the pointer of the new list. No checks are made by this function. beh_delberin() deletes a berin structure (pointed by pnt) from a list of berin 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.

beh_rmvberin() deletes a berin structure (named name) from a list of berin 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.

beh_freberin() deletes a list of berin 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 berin *list;
char *name;

name = namealloc ("slave_clock");
list = beh_addberin (list,"master_clock"); list = beh_rmvberin (list,name);

See Also

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