• Aucun résultat trouvé

For each part in the design, Update Field Contents builds a text string from the value found in the part's Part Value

Dans le document Schematic Design Tools Reference Guide (Page 77-84)

field, a blank space, and the value found in the part's 1st Part Field.

Example

Assume that the Combine for Field 2 entry box contains V 1, as described above.

If a part has a value of "74LS04" in its Part Value field, and a value of "14DIP300" in its 1st Part Field, Update Field Contents builds the string:

74LS04 14DIP300

Then, Update Field Contents compares this match string to the first text string of each pair of text strings it finds in the

update file. .

For this example, the first item in each pair of text strings should contain

two

items to match, as shown here:

'74LS04 14DIP300' '14 pin Inverter Package' Update Field Contents puts the text, "14 pin Inverter Package" into the 2nd Part Field of a part whose Part Value field reads "74LS04" and whose 1st Part Field reads

"14DIP300" .

Points

to

remember

When defining part fields to match, keep these points in mind:

+

Only one field can be updated at a time-the one selected on the configuration screen for Update Field Contents. Each field can have can have its own

separate search criteria, so there are nine key fields for Update Field Contents on the Configure Schematic Design Tools screen.

+

The Reference field is protected and cannot be updated with Update Field Contents. If you wish to change the Reference field, use the EDIT Reference command in Draft.

+

For more information on Update Field Contents, see

Chapter

13:

Update Field Contents.

Create Netlist Part Value Combine

Create Netlist Module Value Combine

Configuring this key field tells Create Netlist and Create Hierarchical Netlist to read the Part Value (or combin-ation of values) in the Netlist Part Value field for each part in the design and use this as the Part Value for each part in the netlist. Generally, you should leave this field set to "V" for most netlist formats.

What value, if any, you should substitute for the Part Value depends on the netlist format you want to produce.

Different applications require netlists with different types of values in the netlist's Part Value position.

This key field tells Create Netlist and Create Hierar-chical Netlist to create a

module value

to show the name of the module to be used for layout. Most layout products refer to the pad shape separately from the part value.

For example, a 74LSOO comes in a 14 pin O.300-inch center DIP package or in a surface mount package. Accordingly, the

module value

is used to indicate the package type so the layout can have the correct pad shape.

What value, if any, you create for the

module value

depends on the particular netlist format you want to produce. Different applications require netlists with different types of module values.

If you do not specify this key field, the

module value

will be the Part Value field.

Create Bill of

To understand how this key field works, you must under-stand how Create Bill of Materials works.

Create Bill of Materials creates a list of the parts placed in a specified design. It uses the values found in the Part Value field of each part to determine whether parts are the same or different. Create Bill of Materials lists the parts it identifies as the same on the same line.

Configuring this key field instructs Create Bill of

Materials to read the Part Value (or combination of values) in the Combine Field for each part in the design and use this as the Part Value for each part in the Bill of Materials. Generally, you should leave this field set to

"V" (for Value) for most Bill of Materials formats. An example of how to use this key field follows.

The Bill of Materials Include File Combine key field is used to determine how the match string in the include file is applied to the schematic.

For example, if you want the values in the include file to be matched to the contents of Part Field 6, you enter 6 in this key field.

In a design, you placed several capacitors, all with the value of 50pF in their Part Value fields. Some of them are made of a plastic material and others of a cerainic. You want the part list to show this distinction.

To do this, edit Part Field 1 on the plastic capacitors to hold the value "Plastic," and edit Part Field 1 on the ceramic capacitors to hold the value "Ceramic." Then, in Key Fields area, enter the number 1 in "the Bill of Materials Include File Combine entry box.

When Create Bill of Materials runs on the design, all capacitors with a Part Field 1 value of "Plastic" and a Part Value of "50pF" appear on one line of the part list, and all capacitors with a Part Field 1 value of "Ceramic" and a Part Value of "50pF" appear on a different line of the part list.

Extract PLD PLD Part Combine and PLD Type Combine

Example

Use these key fields in conjunction with Extract PLD, one of the processes in the To PLD transfer to Programmable Logic Design Tools. Extract PLD extracts information from a schematic for use with OrCAD's programmable logic device compiler and places it in a .PLO file. The PLD Part

Combine data is placed immediately after the word

"Part:" following the pin information in the .PLO file. The PLD Type Combine data is placed immediately after the word "Type:'" in the .PLO file.

The next example shows how these key fields are used by Extract PLD. Figure 1-20 shows part of a design with a PLO.

I_I

Figure 1-20, Programmable logic device.

Assume the Extract PLD key fields are configured as shown below.

Extract PLD

PLD Part Combine

12

~==========:::::

PLD Type Combine ~Il

________________

~

When you run Extract PLD on the schematic containing the part, it creates a file called HRS.PLD. The contents of HRS.PLD are shown in figure 1-21. In the HRS.PLD output, the PLD Type Combine key field (1st Part Field) is shown in bold :l. tal:l.cB, and the PLD Part Combine key field

I Library: "EXAMPLE. LIB"

I

In ->n, eIN' & SET' & RESET' & RC' I}

IRC= «LC & RBCD[3-0]==3 & MIL) I #(LC & RBCD[3-0]==2 & MIL') I #(LC' & RBCD[3-0]==9»

I & RESET' & (CIN # SET) IMap: LBCD[3-0] -> LBCD[3-0]

I {

In ->1, RESET

In ->0, MIL & n==2 & RC In ->0, MIL' & n==1 & RC In ->n, RC' & RESET'

In ->n+1, «n<2 & MIL) # (n<1 & MIL'» & RC I }

ILC = ( (LBCD[3-0]==2 & MIL & RESET') I # (LBCD[3-0]==1 & MIL' & RESET') IVectors:

I {

display RESET,· ·,CLK,· ·,LC,· ·,LBCD[3-0], \

• ·,RBCD[3-0]

set CIN set MIL clear SET set RESET test CLK clear RESET

test CLK = 30(0,1) set RESET

test CLK clear RESET clear MIL

test CLK 30(0,1) end }

Figure 1-21. Extract PLD output (continued from previous page).

Check Electrical

Dans le document Schematic Design Tools Reference Guide (Page 77-84)