}\r
/* NB: a generator is a block that has no data inputs\r
* and has at least one data output.\r
+ * By the way, blokcs that have no data input/output\r
+ * (like clkrstgen) are not generators !\r
*/\r
bool AbstractBlock::isGeneratorBlock() {\r
if (getDataInputs().size() > 0) return false;\r
- \r
+ if (getDataOutputs().size() == 0) return false;\r
return true;\r
}\r
\r