FAUST compiler  0.9.9.6b8
Functions
parSchema.cpp File Reference
#include "parSchema.h"
#include <assert.h>
#include <iostream>
Include dependency graph for parSchema.cpp:

Go to the source code of this file.

Functions

schemamakeParSchema (schema *s1, schema *s2)
 

Function Documentation

schema* makeParSchema ( schema s1,
schema s2 
)

Definition at line 28 of file parSchema.cpp.

References makeEnlargedSchema(), and schema::width().

Referenced by addSchemaInputs(), addSchemaOutputs(), generateAbstractionSchema(), generateInsideSchema(), and makeSeqSchema().

29 {
30  // make sure s1 and s2 have same width
31  return new parSchema( makeEnlargedSchema(s1, s2->width()),
32  makeEnlargedSchema(s2, s1->width()) );
33 }
place two schemi in parallel
Definition: parSchema.h:33
double width() const
Definition: schema.h:126
schema * makeEnlargedSchema(schema *s, double width)
Returns an enlarged schema, but only if really needed that is if the requiered width is greater that ...

Here is the call graph for this function:

Here is the caller graph for this function: