orCADPADS学习笔记.doc

上传人:jian****018 文档编号:8306126 上传时间:2020-03-28 格式:DOC 页数:13 大小:475.50KB
返回 下载 相关 举报
orCADPADS学习笔记.doc_第1页
第1页 / 共13页
orCADPADS学习笔记.doc_第2页
第2页 / 共13页
orCADPADS学习笔记.doc_第3页
第3页 / 共13页
点击查看更多>>
资源描述
orCAD_PADS学习笔记-林旭OrCAD篇如何在orCAD中批量修改元器件属性?1. 选择项目文件(*.dsn),点击ToolsExport Properties。2. 设置参数。Scope:Export entire design or Library(导出全部项目或库文件)。Contents:part Properties(器件属性)。Mode:Export Instance Properties(使用当前属性)。3. 进入存放路径,右击导出的*.exp文件,选择用Excel打开。4. 修改表中需要修改的参数,保存并选择“是”。5. 回到原理图环境下面,点击ToolsImport Properties,导入刚保存的Excel文件,完毕。注意:修改时不能修改或删除属性文件的第一行和每一行的第一项和第二项。orCAD如何生成BOM表?1. 选择项目文件(*.dsn),点击ToolsBill of Materials。2. 设置参数。Scope:Export entire design or Library(导出全部项目或库文件)。Contents:part Properties(器件属性)。Mode:Export Instance(Properties)(使用当前属性)。3. Line Item Definition中:(以下为我常用的)Header:项目t属性t封装t数量t元器件编号tCombined property string:ItemtValuetpcb footprinttQuantitytReferencet4. 选中Open in Excel。5. 点OK就可以了。为什么orCAD中无法输出网表?1. DRC检查时问题特征为:ERROR NET0021 Cannot get part.FMT0024 Ref-des not found. Possible Logical/Physical annotation conflict.FMT0018 Errors processing intermediate file.2. 问题的原因是因为使用了orCAD中的Pspice器件库。3. 解决方法:点击EditFind,输入“*”查找全部器件,找到库文件不同的器件。删除并重新添加器件 如何在orCAD中分割大元件?1. 从项目管理器中选择器件,选择ToolsSplit Part。2. 在“NO. of Sections”中输入要分割的块数,在下表中的Section部分选择序号,将元件分为多块。3. 单击ViewPackage,可以看到中个封装中的元件,然后保存。如何在orCAD中为端口连接符添加图纸页面编号信息?1.在项目管理器窗口中选择执行ToolsAnotate命令,屏幕显示如图对话框:2.选择Add Intersheet References,点确定,出现如图对话框:3.设置参数即可。orCAD如何定义ROOM属性?将一个或一些元件定义在一个ROOM的好处是,在进行PCB布局时可以按ROOM定义摆放元件,从而大大提高摆放效率。1. 双击器件,“Filter by”栏选择Cadence-Allegro类,在ROOM栏输入ROOM名,如“CPU”,并将“Filter by”栏选择为“Current properties”。orCAD中层次原理图如何同步pin及port?1.子原理图中加好port后,点击根原理图,选择对应hiererchy,右击选择synchronize up,pin会出现在对应hiererchy的右下角。2.或者根原理图中加好pin后,点击根原理图,选择对应hiererchy,右击选择synchronize down,port会出现在子原理图的右上角。orCAD如何为器件自动编号?Scope:Update entire design:更新整个设计Update selection:更新选择的部分电路Action: Incremental reference update:在现有的基础上进行增加排序 Unconditional reference update:无条件进行排序 Reset part reference to “?”:把所有的序号都变成“?” Add Intersheet References:在分页图纸间的端口的序号加上图纸编号 Delete Intersheet References:删除分页图纸间的端口的序号上的图纸编号Combined property:把对话框中的属性相结合Reset reference numbers to begin at 1 each page:编号时每张图纸都从1开始Annotate as per PM page ordering:Annotate as per page ordering in the Title block:Do not change the page number:不要改变图纸编号Include non-primitive parts:包括非基本的器件orCAD如何进行DRC检查?Scope: Check entire design:DRC检查整个原理图 Check Selection:DRC检查选择的部分电路Mode: Use occurrences:选择所有事件 Use instances(preferred):使用当前实体(建议)(所谓实体是指放在绘图页内的元件符号,而事件指的是在绘图页内同一实体出现多次的实体电路。例如,在复杂层次电路图中,某个子方块电路重复使用了3次,就形成了3次事件;不过子方块电路内本身的元件却是实体。)Action: Check design rules:进行DRC检测 Delete existing DRC marker:删除DRC检测标志Report: Create DRC markers for warnings:进行DRC检测若发现错误,在错误之处放置警告标志 Check hierarchical port connection:检测阶层端口的连接性 Check off-page connector connection:检测分页图纸间接口的连接性 Report identical part references:报告是否有重复的器件序号 Report invalid packaging:报告无效的封装 Report hierarchical ports and off-page connection:报告阶层端口和分页图纸间接口的连接 Report Misleading Tap Connection:报告易误解的连接 Check visible unconnected power:检测未连接的可见电源 Check unconnected net:检测未连接的网络 Check SDT compatibility:检测对于SDT文件的兼容性 Report off-grid objects:报告未放置在格点上的器件 Report all net name:报告所有网络名称orCAD中IEEE符号说明3 state:三态动作输出逻辑门符号Active Low Left:低电平动作输入符号,信号管脚在左边Active Low Right:低电平动作输入符号,信号管脚在右边Amplified Left:放大器,信号管脚在左边Amplified right:放大器,信号管脚在右边Anolog:模拟信号输入符号Arrow left:信号方向为由左到右的箭头符号Arrow right: 信号方向为由右到左的箭头符号Bidirectional:双向箭头符号Dynamic left:动态信号符号,信号管脚在左边Dynamic right:动态信号符号,信号管脚在右边GE:大于等于的符号Generator:信号产生的符号Hysteresis:施密特触发的符号LE:小于等于的符号NE:不等于的符号Non logic:非逻辑的符号Open circuit H-type:开路输出高电平符号Open circuit L-type:开路输出低电平符号Open circuit open:开路输出空接状态符号Passive pull down:被动式输出低电平符号Passive pull up:被动式输出高电平符号PI:(未知)Postponed:暂缓输出符号。以下降沿触发的主从式触发器为例,当输入信号由低到高,再由高到低电平变化时,其输出信号才会变化。Shift left:数据右移的符号,信号管脚在左边Shift right:数据左移的符号,信号管脚在右边Sigma:加法器符号orCAD常见的DRC错误及解决方法:1. DRC0001Invalid port type:2. DRC0002Invalid pin type:3. DRC0003Port has a type which is inconsistent with other ports on the net *:端口类型和其他端口不一致。4. DRC0004Possible pin conflict:可能的管脚类型冲突。引脚类型错误或DRC设置错误。5. DRC0005Unconnected pin:引脚没有连接,不用的引脚最好添加不连接符号,“PlaceNo Connect”。6. DRC0006Net has fewer than two connections *:有网络但没有连接。7. DRC0007Net has not driver source *:引脚类型为Power,但却没有连接电源。8. DRC0008Two nets in same schematic have the same name, but there is no off-page connector *:没有添加Off-Page符号。9. DRC0009No matching off-page connector *:与错误8同时出现,没有添加Off-Page符号。10. DRC0010Duplicate reference *:与错误31同时出现,位号重复。11. DRC0011Reference is invalid for this part *:位号错误,不是有效格式,或者是把Ref写成Value,Value写成Ref。12. DRC0012Pin has no matching port in implementation below *:根目录原理图端口与阶层原理图端口冲突13. DRC0013Port has no matching pin in part instance above *:根目录原理图端口与阶层原理图端口冲突14. DRC0014Type of pin above does not match the pin type of corresponding port below *:根目录原理图端口与阶层原理图端口冲突15. DRC0015Pin buses exist in the schematic:16. DRC0016User properties exist on an object that is not a part instance:17. DRC0017Pin number is greater than 255:18. DRC0018Pin number is not numeric:19. DRC0019Pin has been placed on top or bottom of hierarchical block:20. DRC0020More than 8 user properties exist on this part instance:21. DRC0021More than 1 titleblock exists on this page:titleblock重复22. DRC0022The schematic contains multiple pages and hierarchy:23. DRC0023The package contains more than 16 parts:24. DRC0024The package contains different types of parts:25. DRC0025The comment graphic is not a single dashed line:26. DRC0026This reference has already been assigned to a different package type Y1:与错误10同时出现,Y1位号重复。或者是两者被重新编辑保存过,器件库不同。27. DRC0027Other parts in this package have different values or PCB footprints Y1:与错误11同时出现,Y1位号重复。28. DRC0028Bus has multiple names with conflicting ranges:29. DRC0029Bus has no name and therefore defines no signals:30. DRC0030Bus width does not match port width:31. DRC0031Same Pin Number connected to more than one net:与错误10同时出现,位号重复。32. DRC0034Two wires/busses of different nets intersect visually, yet nets are not connected :忘记了。33. DRC0037 Net has two or more aliases - possible short:34. DRC0038Visible unconnected Power Pins are connected to global nets:电源或地没连接。PADS 2005篇PADS中如何利用Layout输出BOM表1. 点击ToolsBasic Scripts Basic Scripts Editor。2. 复制以下代码(分割线中部分),另存为“17 - Excel Part List Report.BAS”*分割线* This sample demonstrates how to generate PADS Layout reports in Excel. For more details, please refer to the PADS Layout Basic Editor Help File.Sub Main Open temporarly text fileRandomizefilename = DefaultFilePath & tmp & CInt(Rnd()*10000) & .txtOpen filename For Output As #1 Output HeadersPrint #1, PartType;Space(32); Print #1, RefDes;Space(24); Print #1, PartDecal;Space(32); Print #1, Pins;Space(6); Print #1, Layer;Space(26); Print #1, Orient.;Space(24); Print #1, X;Space(30); Print #1, Y;Space(29); Print #1, SMD;Space(7); Print #1, Glued;Space(0) Lock server to speed up processLockServer Go through each component in the design and output valuesFor Each nextComp In ActiveDocument.ComponentsBoolean bindex = 0 b = FalseFor Each nextAttr In nextComp.Attributes If nextAttr.Name = Value Thenb = Trueindex = index + 1 Next nextAttr If b = TrueThenPrint #1, nextComp.Attributes(Value).value ;Space$(40-Len(nextComp.Attributes(Value).value ); ElsePrint #1, 0;Space$(30-Len(nextComp.Name);End IfPrint #1, nextComp.Name;Space$(30-Len(nextComp.Name); Print #1, nextComp.Decal;Space$(40-Len(nextComp.Decal); Print #1, nextComp.Pins.Count;Space$(10-Len(nextComp.Pins.Count); Print #1, ActiveDocument.LayerName(nextComp.layer);Space$(30-Len(ActiveDocument.LayerName(nextComp.layer); Print #1, nextComp.Orientation;Space$(30-Len(nextComp.Orientation); Print #1, nextComp.PositionX;Space$(30-Len(nextComp.PositionX); Print #1, nextComp.PositionY;Space$(30-Len(nextComp.PositionY); Print #1, nextComp.IsSMD;Space$(10-Len(nextComp.IsSMD); Print #1, nextComp.Glued;Space$(10-Len(nextComp.Glued)Next nextComp Unlock the serverUnlockServer Close the text fileClose #1 Start Excel and loads the text fileOn Error GoTo noExcelDim excelApp As ObjectSet excelApp = CreateObject(Excel.Application)On Error GoTo 0excelApp.Visible = TrueexcelApp.Workbooks.OpenText FileName:= filenameexcelApp.Rows(1:1).SelectWith excelApp.Selection.Font.Bold = True.Font.Italic = TrueEnd WithexcelApp.Range(A1).SelectSet excelApp = NothingEndnoExcel: Display the text fileShell Notepad & filename, 3End Sub*分割线*3. 点击ToolsBasic Scripts Basic ScriptsLoad File,导入生成的文件17 - Excel Part List Report.BAS,点击Run即可。PADS中如何进行规则检查1. 点击ToolsVerify Design,如下图:2. 点击setup,选择1.2.4.6.7项,如下图:3. 选择Clearance(Connectivi或High Speed),点击Start,即可查看错误。如图:发为什么在PCB中导入asc文件时提示错误?在PCB中导入asc文件时提示储物,问题特征为:“*Bad *PART* ascii data line formatD3 LED0.1,RED OUT”是因为PADS不接受空格字符,将“RED OUT”改为RED_OUT等值即可。为什么在PCB比对时出错?比对时出现如图提示,无法比对时,要把ECO模式关掉。
展开阅读全文
相关资源
相关搜索

当前位置:首页 > 建筑环境 > 建筑资料


copyright@ 2023-2025  zhuangpeitu.com 装配图网版权所有   联系电话:18123376007

备案号:ICP2024067431-1 川公网安备51140202000466号


本站为文档C2C交易模式,即用户上传的文档直接被用户下载,本站只是中间服务平台,本站所有文档下载所得的收益归上传人(含作者)所有。装配图网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。若文档所含内容侵犯了您的版权或隐私,请立即通知装配图网,我们立即给予删除!