//----------------------------------------------------------------------------- // Function: ModelParameterVerilogWriter::write() //----------------------------------------------------------------------------- void ModelParameterVerilogWriter::write(QTextStream& output) const { if (nothingToWrite()) { return; } output << createDeclaration(); }
IpeModuleRoot* IpeModuleRoot::allocate() { if (sRootModule == 0) { ModuleSymbol* modSym = createDeclaration(); sRootModule = new IpeModuleRoot(modSym); sRootModule->init(); } else { printf("Fatal error:: IpeModuleRoot:allocate has already been executed\n"); INT_ASSERT(false); } return sRootModule; }