Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
layout editor.pdf
Скачиваний:
180
Добавлен:
05.06.2015
Размер:
3.04 Mб
Скачать

Virtuoso XL Layout Editor User Guide

Generating Your Layout with Virtuoso XL Layout Editor

To save current information about pins and design boundary from the cellview to a a template

file, follow these steps.

1.From the layout window, choose Design – Save To Template.

The Template File form appears.

2.In the Template file name field type a template file name,ex.row.lxt

3.Select the sections of the template file you want to save(I/O Pins Locations, Constraints, Boundary, Rows, and/or Partitions). If you want all selections, select All.

4.Click OK.

The data you selected is saved in the template file.

Template File Syntax

Template files generally follow the syntax rules for technology files, but they are not technology file fragments. Refer to theTechnology File and Display Resource File User Guide for information about white space, line breaks, case sensitivity, quotation of arguments, and similar syntax rules.

Templates contain these sections:

December 2002

154

Product Version 5.0

Virtuoso XL Layout Editor User Guide

Generating Your Layout with Virtuoso XL Layout Editor

Boundaries Section

I/O Pins Section

Partition Section

Row Section

A template may contain some or all of these sections.

General Syntax Rules

The following rules apply throughout the template file:

Comments

Begin comment lines with a semicolon (;).

; This is a comment

Layer Names

Specify layer names as either a layer name string or as a list containing the layer name and purpose.

met1

met2

(metal1 drawing)

Numeric Values

Specify numbers as floating-point or integer values or as expressions based on design rules in the technology file.

(minWidth metal1)

(minSpacing poly)

Layer names can be omitted if the layer is defined and not ambiguous. When you refer to the minWidth and minSpacing rules without specifying a layer, they must be enclosed in parentheses even though you are not expressing a list.

(minWidth)

(minSpacing)

December 2002

155

Product Version 5.0

Virtuoso XL Layout Editor User Guide

Generating Your Layout with Virtuoso XL Layout Editor

Points

Specify points as a pair of coordinates, either numbers or expressions. The syntax is

(x y)

For example:

((minWidth met1) (minWidth met1))

((minSpacing met2) 3)

Offset Points

Specify offset coordinates in a sequence of points as a relative shift from another point. The keyword D identifies offset coordinates. The syntax is

(D x y)

For example:

(D 3 5)

(D (minWidth met1) 7)

Sequences of Points

Specify a sequence of points as a list of points or offsets.

(0 0) (D 10 0) (D 0 20) (D -10 0)

(D 10 0) (D 0 10) (D -10 0)

If the first item is an offset, the entire list must be composed of offsets.

Polygons

Specify polygons using the polygon keyword followed by a sequence of points. The syntax is

(polygon sequence_of_points)

The last point of the sequence is always connected by an edge to the first one, even if such an edge does not appear in the sequence. Clockwise and counterclockwise orders are both acceptable. Polygons characterized by a sequence of offsets (no fixed points) are called

floating polygons. If a floating polygon is encountered in a context where a non-floating polygon is expected, the first point is implicitly set to(0 0).

The following examples all describe the same polygon

(polygon

(0 0)

(D

10 0)

(D 0 20)

(D

-10

0))

(polygon

(0 0)

(D

10 0)

(10 20)

(D

-10

0))

December 2002

156

Product Version 5.0

Virtuoso XL Layout Editor User Guide

Generating Your Layout with Virtuoso XL Layout Editor

(polygon

(0

20)

(0

0)

(10

0)

(10

20))

Rectangles

Specify rectangles using the rectangle keyword and the options in the table below. The syntax is

(rectangle options)

Table 7-3 Rectangle Specification Options

Option

Meaning

 

 

aspect_ratio X

Ratio between width and height. X must be a number.

height H

Absolute height of the rectangle. H can be a number or a

 

design rule.

width W

Absolute width of the rectangle. W can be a number or a

 

design rule.

lowerLeft point

Position of the lower-left corner.

upperRight point

Position of the upper-right corner.

left X

Position of the left side.

right X

Position of the right side.

bottom Y

Position of the bottom edge.

top Y

Position of the top edge.

center point

Position of the center of the rectangle.

 

 

No option can appear more than once.

Rectangles you define without using any of thecenter, upperRight, or lowerLeft options are floating rectangles. The shape of floating rectangles is defined, but not their absolute position. If a floating rectangle is encountered in a context where a nonfloating one is expected, its lower-left corner is implicitly set to (0 0).

Below are some examples.

(rectangle aspect_ratio 1.1 height 300 lowerLeft (0 0)) (rectangle width 30 height 20 upperRight (375 66)) (rectangle width 100 aspect_ratio 1) floating rectangle

December 2002

157

Product Version 5.0

Соседние файлы в предмете [НЕСОРТИРОВАННОЕ]