⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 oaverilogoptionsin.cpp

📁 openaccess与verilog互相转化时所用的源代码
💻 CPP
📖 第 1 页 / 共 2 页
字号:
// This function returns a reference to a string that defines the DM System used// to manage libraries.// *****************************************************************************voidOptionsIn::getDMSystem(oaString	&value)	{    value = dmSystem;}// *****************************************************************************// OptionsIn::getModuleDepthName()//// This function gets the name of the extension that holds the module depth // information.// *****************************************************************************const oaString&OptionsIn::getModuleDepthName() const{    return moduleDepthName;}// *****************************************************************************// OptionsIn::getModuleIndexName()//// This function gets the name of the extension that holds the module index // information.// *****************************************************************************const oaString&OptionsIn::getModuleIndexName() const{    return moduleIndexName;}// *****************************************************************************// OptionsIn::getTopModuleGroupName()//// This function gets the name the group used to select the top module.// *****************************************************************************const oaString&OptionsIn::getTopModuleGroupName() const{    return topModuleGroupName;}// *****************************************************************************// OptionsIn::getVerilogFiles()//// This function gets the list of Verilog files to parse.// *****************************************************************************StringList*OptionsIn::getVerilogFiles(){    return &verilogFiles;}// *****************************************************************************// OptionsIn::getFirstLeafLib()//// This function returns a reference to the first leaf library name in the // list of leaf library names.// *****************************************************************************const oaScalarName&OptionsIn::getFirstLeafLib() const	{    return *leafLibs.front();}// *****************************************************************************// OptionsIn::getFirstLeafView()//// This function returns a reference to the first leaf view name in the list of// leaf view names.// *****************************************************************************const oaScalarName&OptionsIn::getFirstLeafView() const	{    return *leafViews.front();}// *****************************************************************************// OptionsIn::getLibPath()//// This function returns a reference to the path used to create library // definitions.// *****************************************************************************voidOptionsIn::getLibPath(oaString	&value){    if (libPath.isEmpty()) {	oaNativeNS  ns;	oaString    libNameStr;	libName.get(ns, libNameStr);	value = "./";	value += libNameStr;    } else {	value = libPath;    }}// *****************************************************************************// OptionsIn::getTempDesignName()//// This function returns the name to use for temporary designs.// *****************************************************************************const oaScalarName&OptionsIn::getTempDesignName() const{    return tempDesignName;}// *****************************************************************************// OptionsIn::getTempDesignPrefix()//// This function returns the prefix to use when generating temporary cell names// for designs.// *****************************************************************************const oaString&OptionsIn::getTempDesignPrefix() const{    return tmpDesignPrefix;}// *****************************************************************************// OptionsIn::getViewType()//// This function returns the oaViewType used for all designs that are created by// the reader.// *****************************************************************************oaViewType*OptionsIn::getViewType() const{    return viewType;}// *****************************************************************************// OptionsIn::setDMSystem()//// This function sets the name of the DM System used to manage libraries.// *****************************************************************************voidOptionsIn::setDMSystem(const oaString	&value) 	{    dmSystem = value;}// *****************************************************************************// OptionsIn::setLibPath()//// This function sets the path used to create library definitions.// *****************************************************************************voidOptionsIn::setLibPath(const oaString	&value) 	{    libPath = value;}// *****************************************************************************// OptionsIn::setTempDesignName()//// This function sets the name to use for temporary designs.// *****************************************************************************voidOptionsIn::setTempDesignName(const oaScalarName	&tmpName){    tempDesignName = tmpName;}// *****************************************************************************// OptionsIn::setViewType()//// This function sets the view type for all designs created by the reader.  The// name of the view type must correspond to one of the string values of // oaViewType// *****************************************************************************voidOptionsIn::setViewType(const oaString	&viewTypeName){    viewType = oaViewType::find(viewTypeName);    if (!viewType) {	viewType = oaViewType::create(viewTypeName);    }}// *****************************************************************************// OptionsIn::testBlackBoxEnabled()//// This function returns true if writing black box cells is enabled.// *****************************************************************************oaBooleanOptionsIn::testBlackBoxEnabled() const {    return blackBoxEnabled;}// *****************************************************************************// OptionsIn::testDesignPerMod()//// This function returns true if the "Design per Module" option is active and // false otherwise.// *****************************************************************************oaBooleanOptionsIn::testDesignPerMod() const{    return designPerMod;}// *****************************************************************************// OptionsIn::testOverwriteEnabled()//// This function returns true if the reader is allowed to overwrite designs.// *****************************************************************************oaBooleanOptionsIn::testOverwriteEnabled() const{    return overwriteEnabled;}// *****************************************************************************// OptionsIn::testPurgeLeafsEnabled()//// This function returns true if the reader is allowed to purge leaf designs.// *****************************************************************************oaBooleanOptionsIn::testPurgeLeafsEnabled() const{    return purgeLeafsEnabled;}// *****************************************************************************// OptionsIn::testTolerate()//// This function returns true if unimplemented features should be tolerated by// the reader.  It returns false if unimplemented features generate an error.// *****************************************************************************oaBooleanOptionsIn::testTolerate() const{    return tolerate;}// *****************************************************************************// OptionsIn::testTopWarning()//// This function returns true if a warning should be printed when leaf cells // that do not have top modules are encountered.// *****************************************************************************oaBooleanOptionsIn::testTopWarning() const{    return topWarningEnabled;}END_VERILOG_NAMESPACE

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -