#include "SpecialBlock.h"\r
#include "FunctionalInterface.h"\r
\r
-SpecialBlock::SpecialBlock(int _type, GroupBlock* _parent, ReferenceBlock* _reference, bool createIfaces) throw(Exception) : FunctionalBlock(_parent, _reference, createIfaces) {\r
+SpecialBlock::SpecialBlock(Graph *_graph, int _type, GroupBlock* _parent, ReferenceBlock* _reference, bool createIfaces) throw(Exception) : FunctionalBlock(_graph, _parent, _reference, createIfaces) {\r
specialType = _type;\r
}\r
\r
}\r
void SpecialBlock::computeOutputPatternSource(int nbExec) throw(Exception) {\r
\r
- cout << "computing output pattern of " << qPrintable(name) << " for " << nbExec << " executions" << endl;\r
+ cout << "computing output pattern of special block " << qPrintable(name) << " for " << nbExec << " executions" << endl;\r
foreach(AbstractInterface* iface, getControlOutputs()) {\r
FunctionalInterface* connIface = AI_TO_FUN(iface);\r
// create output pattern\r
#ifdef DEBUG_FCTNAME\r
cout << "call to " << qPrintable(fctName) << endl;\r
#endif\r
- cout << "computing output pattern of " << qPrintable(name) << endl;\r
+ cout << "computing output pattern of special block " << qPrintable(name) << endl;\r
\r
/* CAUTION: it is assumed that all clock domain converters are using\r
* a clk_in and clk_out signals for input and output clocks.\r
*/\r
AbstractInterface* clkIn = getIfaceFromName("clk_in");\r
AbstractInterface* clkOut = getIfaceFromName("clk_out");\r
- cout << "freq clk_in = " << clkIn-\r
+ cout << "freq clk_in = " << clkIn->getClockFrequency() << endl;\r
+ cout << "freq clk_out = " << clkOut->getClockFrequency() << endl;\r
\r
// in case of inputPattern not created, do it\r
if (lengthIP <= 0) {\r