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_addbiabl , beh_delbiabl , beh_frebiabl

Synopsys

struct biabl *beh_addbiabl (list, label, cond, value) struct biabl *list;
char *label;
struct chain *cond;
struct chain *value;

struct biabl *beh_delbiabl (list, pnt, mode) struct biabl *list;
struct biabl *pnt;
char mode;

void beh_frebiabl (list)
struct biabl *list;

Parameters

list
pointer of a list of biabl structures
label
driver's label
cond
abl representing the expression of the connection condition of the driver
value
abl representing the expression of the value emitted by the driver
pnt
pointer of the biabl structure to be removed from the list
mode
recursive mode (Y or N)

Description

A biabl is a data structure representing a one-bit deconnectable VHDL driver. beh_addbiabl() adds a biabl structure at the top of a list of biabl structures. cond is a pointer on the abl representing the condition that makes the driver active. value is the abl of the expression of the value produced by the driver. label is the identification of the driver. The label registred in the biabl structure is produced by namealloc(). The function returns the pointer of the new list. No checks are made by this function.

beh_delbiabl() deletes a biabl structure (pointed by pnt) from a list of biabl 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_frebiabl() deletes a list of biabl structures (pointed by list). No action is made if list is an empty list (NULL pointer). No checks are made by this function. If mode is set to `Y' all objects (abl) pointed by the biabl will also be deleted. If mode is set to `N' and there is any object (abl) pointed by the structure a warning message is printed on the standard error output.

Example

#include <beh108.h>

struct biabl *list;

list = beh_addbiabl (list, write_reg", NULL, NULL);

See Also

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