Cadence UPD文件

http://www.doczj.com/doc/fa7e22b48e9951e79b8927ca-6.html

Creating an update file

You can create an update (.UPD) file using any text editor that saves files in ASCII format.

The file can include comments;

any text to the right of a semicolon is ignored by the Update Properties tool.

Strings in the update file (except for comments) must be enclosed in quotation marks and cannot exceed 124 characters.

You can use spaces and tab characters to format the update file in rows and columns, as shown in the example below.

The first line of the update file is a header line. It starts with a combined property string that identifies which properties to compare. In the example, only the Net Name property is compared. The other strings on the first line specify which properties to update when a match is found.

The rest of the file contains lines for each match string to be compared and the values to be recorded in the updated properties.

In the following example, the combined property string is {Net Name}. For every object whose Net Name property value matches one of the strings in the first column,

the object's Track Width, Net Spacing, and Routing Priority properties are updated with the corresponding values.

For example, every object whose Net Name property is set to VCC will be updated as follows: the Track Width property is set to 0.04, the Net Spacing property to 0.035, and the Routing Priority property to 3.

Combined property strings

With many of the tools in Capture, such as Create Netlist and Annotate, you use combined property strings to convey information to the tool or to limit the tool's action. A combined property string consists of one or more property names, enclosed in braces, and can also contain literal text.

Capture combines the values of the named properties with any literal text to create a string. An example is:

{Value}{Reference}

where "Value" and "Reference" are property names. Using this combined property string and a part with a part value of 74LS32 and a part reference of U?A, Capture creates the string:

74LS32U?A

You can include spaces and other characters in the combined property string, as in this example:

Part: {Value} ({Reference})

Using this combined property string and the same part, Capture creates the string:

Part: 74LS32 (U?A)

Different tools use combined property strings in different ways.

For example, Annotate uses one to compare parts—if one part's combined property string matches another part's combined property string, it packages the parts together.

  • Bill of Materials and other commands on the Tools menu that generate an output file based on a combined property string may produce errors if you include extra curly braces.
  • You can include tabs in combined property strings, so that the output file can be manipulated in a spreadsheet or database application. Tabs also help format report files, such as those created by the Bill of Materials command. Wherever you want to have a tab in the output file, insert the characters \t (a backslash and a lowercase "t") in the combined property string.
  • Do not use {GROUP} as a property name in combined property strings. This may cause problems while annotating your design for a PCB Editor tool, like Allegro PCB Editor. The GROUP property is used in PCB Editor for a specific purpose.
  • Except for the header line, update files for Capture have the same format as the update files used by Update Field Contents in SDT. Once you add the appropriate header line, you can use an SDT update file without modification to change individual property values using Update Properties. You can also build on an SDT update file for a more elaborate property update, because Capture can update multiple properties in a single pass.

Example :

"{Net Name}" "Track Width" "Net Spacing" "Routing Priority"

"VCC" "0.04" "0.035" "3" ; Any text to the right

"CLK" "0.01" "0.025" "1" ; of a semicolon is

"CLR" "0.01" "0.025" "3" ; ignored by the

"RESET" "0.01" "0.025" "3" ; Update Properties

"GND" "0.04" "0.035" "2" ; tool.

Do not create an empty string (two consecutive double quotation marks without intervening characters) in the header line. Update Properties reports an empty string as an error.

"{Value}"          "BOM Value"              "BOM Code"          "BOM name"              "PCB Footprint"
"0.1uF"          "0.1uF,10%,50V,0603"              "EC.0065A"          "贴片电容"              "C0603"

Value 不能带有中文

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值