ADDBDDVAR(3) BDD FUNCTIONS ADDBDDVAR(3)NAME
addbddvar - adds a new variable in the bdd system.
ORIGIN
This software belongs to the ALLIANCE CAD SYSTEM developed by the ASIM team at LIP6 laboratory of Universite Pierre et Marie CURIE, in
Paris, France.
Web : http://asim.lip6.fr/recherche/alliance/
E-mail : alliance-users@asim.lip6.fr
SYNOPSYS
#include "bdd101.h"
bddnode *addbddvar( BddSystem, Variable )
bddsystem *BddSystem;
bddvar Variable;
PARAMETERS
BddSystem The bdd system.
Variable The variable number.
DESCRIPTION
addbddvar creates a new variable, with the number Variable, in the bdd system BddSystem. If a null pointer is given, the default bdd sys-
tem is used.
RETURN VALUE
addbddvar returns a pointer to the bdd node of the new variable.
ERRORS
"no more variables, error !"
There is no variable number left.
"variable xxx out of range, error !"
The Variable parameter must be less or equal to the BddSystem->NUMBER_VAR field.
EXAMPLE
#include "bdd101.h"
bddsystem *BddSystem;
bddnode *BddNode;
BddSystem = createbddsystem( 100, 1000, 100, 50000 );
BddNode = addbddvar( (bddsystem *)0, 0 );
destroybddsystem( (bddsystem *)0 );
SEE ALSO bdd(1)BUG REPORT
This tool is under development at the ASIM department of the LIP6 laboratory.
We need your feedback to improve documentation and tools.
ASIM /LIP6 October 1, 1997 ADDBDDVAR(3)
Check Out this Related Man Page
SWAPBDDVAR(3) BDD FUNCTIONS SWAPBDDVAR(3)NAME
swapbddvar - swaps two contiguous variables.
ORIGIN
This software belongs to the ALLIANCE CAD SYSTEM developed by the ASIM team at LIP6 laboratory of Universite Pierre et Marie CURIE, in
Paris, France.
Web : http://asim.lip6.fr/recherche/alliance/
E-mail : alliance-users@asim.lip6.fr
SYNOPSYS
#include "bdd101.h"
void swapbddvar( BddSystem, Variable )
bddsystem *BddSystem;
bddvar Variable;
PARAMETERS
BddSystem The bdd system.
Variable The variable to swap.
DESCRIPTION
swapbddvar swaps the variable number Variable with the variable number Variable + 1, in the bdd system BddSystem. If a null pointer is
given, the default bdd system is used. This function is usefull for the bdd nodes reordering.
RETURN VALUE
swapbddvar returns nothing.
ERRORS
"variable xxx out of range, error !"
The Variable and Variable + 1, must be valid variables number.
EXAMPLE
#include "bdd101.h"
bddsystem *BddSystem;
bddnode *BddNode1;
bddnode *BddNode2;
BddSystem = createbddsystem( 100, 1000, 100, 50000 );
BddNode1 = addbddvar( (bddsystem *)0, 0 );
BddNode2 = addbddvar( (bddsystem *)0, 0 );
swapbddvar( (bddsystem *)0, 0 );
destroybddsystem( (bddsystem *)0 );
SEE ALSO bdd(1)BUG REPORT
This tool is under development at the ASIM department of the LIP6 laboratory.
We need your feedback to improve documentation and tools.
ASIM /LIP6 October 1, 1997 SWAPBDDVAR(3)
Hi, i m trying to loop a variable value, Basically i m reading variable value from an input file and using in rest of the program. Bu my problem is when i first time read value and assign to variable it works fine, but in second read it concatinate second value to first value with a LF. I want to... (2 Replies)
Hi,
I have a variable v_iteration which can equal any 3 digit number eg 001 or 926
I would like to dynamically make a new variable name up using this 3 digit number
eg
v_another_variable_001=fred
v_another_variable_926=joe
The following are examples of what I have tried
... (2 Replies)
Hello all,
How can i access the value of variable within a variable?
Please go through the following code:
count=0
newstr=aaaa${count}
echo "enter value : "
read $newstr <---- Suppose the value entered by the user is "home"
echo $newstr <---- This will print "aaaa0"... (4 Replies)
how can i check that a variable is between 0-100, like if i ask a user to input a number between 1-100 and i want to excute commands WHILE that number is between that range or else i will keep asking the user to make another input
here's what i got
#!/bin/bash
echo "Guess my secret number... (2 Replies)
I am missing something here, I have a file which contains only one line and that is either a number or character string. I am trying to read the file and assign that value to a variable and here it seems I am missing something and not getting the expected results... Here is the code :
#!/bin/ksh... (2 Replies)
How do I check whether a variable has a value or not. When I am reading a value into a variable, I want to check whether the variable has value or not. How do I null check the variable.
My Problem is I am reading an IP Address into a variable. When I press enter without entering any value,... (4 Replies)
hi all,
i want use the variable value as a new variable name. print output of new variable.
for i in COMPUTER1 COMPUTER2
do
flag_name=${i}_FLAG
eval ${flag_name}=123
echo $i'_FLAG'
done
output is
COMPUTER1_FLAG
COMPUTER2_FLAG
i need output as
123
123 (2 Replies)
Hi,
I've got a small problem.
If varible A stores "B" and Variable B stores C,
How to get the value of variable B by using only Variable A..?
I tried the following but didnt work pease help..
$ var1=vikram
$ echo $var1
vikram
$ vikram=sampath
$ echo $vikram
sampath
$ echo... (6 Replies)
i was wondering is there anyway to take the output of a command and put it into a variable??
what i need to to is only take a certain part of the output that lies between <"data needed ">
---------- Post updated at 09:39 PM ---------- Previous update was at 09:38 PM ----------
and place... (6 Replies)
Hi All,
OS HPUX 11.11
I am using following script to take controlfile backup. I have used SID variable to hold "ffin1" value, which I again subsitute in "'/db/ffin1/home/oraffin1/$SID_$wdate.ctl'" command. Well, after running this, SID variable does not subsittue it's value, while wdate... (6 Replies)
i have a variable that has more than one value. i am declaring another variable, which will have the old variable data one by one. i want to use the second variable to hold the track of all the variable it has parsed from the first one. can somebody help me how do i declare and use the second... (7 Replies)
I want to match exact string stored in Variable INO and print next two lines. I have written below code which partially matches:
awk '/\'$VAR'/{getline; getline; print}'
Will be thankful , if somebody can help in to resolve this problem.
Please view this code tag video for how to use... (9 Replies)
Friends,
I'm trying to export a variable as follows. But getting error message "not a valid identifier". However the variable has exact value.
# INSTSALL_PATH=/opt/tmp/Ora10.9/default
# ORAHOME=/apps/opt/Oracle
# export ${ORAHOME}=${INSTSALL_PATH}
-bash: export:... (3 Replies)
Hello All,
I was wondering how I can assign a here document facility to a variable. I have tried the following:
menu=$(<<MENU
Option1
Option2
Option3
Option4
MENU
)
...but when I echo the $menu variable, the multiline list comes out in a single line such as:
Option1 Option2 Option3... (14 Replies)