|
FAUST compiler
0.9.9.6b8
|
#include "propagate.hh"#include "prim2.hh"#include <assert.h>#include "ppbox.hh"#include "xtended.hh"#include "labels.hh"#include "Text.hh"#include "ppsig.hh"#include "names.hh"
Go to the source code of this file.
Functions | |
| siglist | mix (const siglist &lsig, int nbus) |
| propagate : box listOfSignal-> listOfSignal' More... | |
| siglist | split (const siglist &inputs, int nbus) |
| split une liste de signaux sur n bus More... | |
| siglist | makeSigProjList (Tree t, int n) |
| Fabrique une liste de n projections d'un groupe récursif. More... | |
| siglist | makeMemSigProjList (Tree t, int n) |
| Fabrique une liste de n mem projections d'un groupe récursif. More... | |
| siglist | makeSigInputList (int n) |
| Fabrique une liste de n entrées. More... | |
| siglist | makeList (Tree t) |
| siglist | listRange (const siglist &l, int i, int j) |
| siglist | listConcat (const siglist &a, const siglist &b) |
| Tree | listConvert (const siglist &a) |
| Convert an stl list of signals into a tree list of signals. More... | |
| void | treelist2siglist (Tree l, siglist &r) |
| Convert a tree list of signals into an stl list of signals. More... | |
| siglist | listLift (const siglist &l) |
| void | setPropagateProperty (Tree args, const siglist &lsig) |
| Store the propagation result as a property of the arguments tuplet. More... | |
| bool | getPropagateProperty (Tree args, siglist &lsig) |
| Retreive the propagation result as a property of the arguments tuplet. More... | |
| siglist | realPropagate (Tree slotenv, Tree path, Tree box, const siglist &lsig) |
| Propagate a list of signals into a block diagram. More... | |
| siglist | propagate (Tree slotenv, Tree path, Tree box, const siglist &lsig) |
| Propagate a list of signals into a block diagram. More... | |
| Tree | boxPropagateSig (Tree path, Tree box, const siglist &lsig) |
| Top level propagate a list of signals into a block diagram. More... | |
Variables | |
| static int | gDummyInput = 10000 |
| static Node | PROPAGATEPROPERTY (symbol("PropagateProperty")) |
| Propagate computes the outputs signals of a block-diagram according to a list of input signals. More... | |
Top level propagate a list of signals into a block diagram.
Do memoization.
| path | user interface group path |
| box | the block diagram |
| lsig | the list of input signals to propagate |
Definition at line 501 of file propagate.cpp.
References listConvert(), nil, and propagate().
Referenced by eval2double(), eval2int(), isBoxNumeric(), main(), mapPrepareEqSig(), and numericBoxSimplification().


Retreive the propagation result as a property of the arguments tuplet.
| args | propagation arguments |
| lsig | the propagation result if any |
Definition at line 194 of file propagate.cpp.
References getProperty(), PROPAGATEPROPERTY, tree(), and treelist2siglist().
Referenced by propagate().


Definition at line 117 of file propagate.cpp.
Referenced by realPropagate().

Convert an stl list of signals into a tree list of signals.
Definition at line 131 of file propagate.cpp.
Referenced by boxPropagateSig(), propagate(), realPropagate(), and setPropagateProperty().


Definition at line 148 of file propagate.cpp.
References lift().
Referenced by realPropagate().


Definition at line 110 of file propagate.cpp.
Referenced by realPropagate().

Definition at line 103 of file propagate.cpp.
Referenced by realPropagate().

Fabrique une liste de n mem projections d'un groupe récursif.
Definition at line 87 of file propagate.cpp.
References sigDelay1(), and sigProj().
Referenced by realPropagate().


| siglist makeSigInputList | ( | int | n | ) |
Fabrique une liste de n entrées.
Definition at line 96 of file propagate.cpp.
References sigInput().
Referenced by eval2double(), eval2int(), isBoxNumeric(), main(), mapPrepareEqSig(), and numericBoxSimplification().


Fabrique une liste de n projections d'un groupe récursif.
Definition at line 79 of file propagate.cpp.
References sigDelay0(), and sigProj().
Referenced by realPropagate().


propagate : box listOfSignal-> listOfSignal'
Propage une liste de signaux de l'entrée vers la sortie d'une boite La boite a été annotée aec son type mix une liste de signaux sur n bus
Definition at line 49 of file propagate.cpp.
References sigAdd(), and sigInt().
Referenced by realPropagate().


Propagate a list of signals into a block diagram.
Do memoization.
| slotenv | environment associating slots and signals |
| path | user interface group path |
| box | the block diagram |
| lsig | the list of input signals to propagate |
Definition at line 227 of file propagate.cpp.
References getPropagateProperty(), listConvert(), PROPAGATEPROPERTY, realPropagate(), setPropagateProperty(), and tree().
Referenced by boxPropagateSig(), and realPropagate().


Propagate a list of signals into a block diagram.
| slotenv | environment associating slots and signals |
| path | user interface group path |
| box | the block diagram |
| lsig | the list of input signals to propagate |
Actual function.
| slotenv | environment associating slots and signals |
| path | user interface group path |
| box | the block diagram |
| lsig | the list of input signals to propagate |
Definition at line 251 of file propagate.cpp.
References xtended::arity(), CTree::branches(), xtended::computeSigOutput(), cons(), ffarity(), gDummyInput, getBoxType(), getUserData(), isBoxButton(), isBoxCheckbox(), isBoxCut(), isBoxFConst(), isBoxFFun(), isBoxFVar(), isBoxHBargraph(), isBoxHGroup(), isBoxHSlider(), isBoxInt(), isBoxMerge(), isBoxNumEntry(), isBoxPar(), isBoxPrim0(), isBoxPrim1(), isBoxPrim2(), isBoxPrim3(), isBoxPrim4(), isBoxPrim5(), isBoxReal(), isBoxRec(), isBoxSeq(), isBoxSlot(), isBoxSplit(), isBoxSymbolic(), isBoxTGroup(), isBoxVBargraph(), isBoxVGroup(), isBoxVSlider(), isBoxWaveform(), isBoxWire(), lift(), listConcat(), listConvert(), listLift(), listRange(), makeList(), makeMemSigProjList(), makeSigProjList(), max(), min(), mix(), name(), normalizePath(), propagate(), pushEnv(), rec(), ref(), searchEnv(), sigButton(), sigCheckbox(), sigFConst(), sigFFun(), sigFVar(), sigHBargraph(), sigHSlider(), sigInput(), sigInt(), sigNumEntry(), sigReal(), sigVBargraph(), sigVSlider(), sigWaveform(), split(), and tree().
Referenced by propagate().

Store the propagation result as a property of the arguments tuplet.
| args | propagation arguments |
| value | propagation result |
Definition at line 182 of file propagate.cpp.
References listConvert(), PROPAGATEPROPERTY, setProperty(), and tree().
Referenced by propagate().


split une liste de signaux sur n bus
Definition at line 66 of file propagate.cpp.
Referenced by realPropagate().

Convert a tree list of signals into an stl list of signals.
Definition at line 142 of file propagate.cpp.
References hd(), isNil(), and tl().
Referenced by getPropagateProperty().


|
static |
Definition at line 157 of file propagate.cpp.
Referenced by realPropagate().
Propagate computes the outputs signals of a block-diagram according to a list of input signals.
| slotenv | input signals associated with symbolic slots |
| path | stack of user interface groups : (type,label)* |
| box | block-diagram where we propagate the signals |
| lsig | list of signals to be propagated into box |
Referenced by getPropagateProperty(), propagate(), and setPropagateProperty().
1.8.7