Layouteditor set cell hierachy3/25/2023 ![]() You can also select subcells using area selection (the a and A macros): any unexpanded subcells that intersect the area of the box will be selected. Try selecting and moving the top subcell in tut4a. All the selection operations ( :move, :copy, :delete, etc.) apply to subcells. When you select a cell the box will be set to the cell's bounding box, the cell's name will be highlighted, and a message will be printed on the text display. You can also select a cell by typing s when the cursor is over a location where there's no paint f is probably more convenient, particularly for cells that are completely covered with paint. To select a subcell, place the cursor over the subcell and type f (`` find cell''), which is a macro for :select cell. Subcells can be manipulated using the same selection mechanism that you learned in Tutorial #2. Instance id's are used for routing and circuit extraction, and are discussed in Section 6. The bottom name inside each bounding box is called an instance identifier, and is used to distinguish different instances of the same subcell. The cell's contents are stored in a file with this name plus a. The top name is the name of the subcell (the name you would type when invoking Magic to edit the cell). This means that no details of the subcell are displayed all you see is the cell's bounding box, plus two names inside the bounding box. Initially, each subcell is displayed in unexpanded form. Two of the subcells are instances of cell tut4x and two are instances of tut4y. The cell tut4a contains four subcells plus some blue paint. ![]() ![]() To look at an example of a hierarchical layout, enter Magic with the shell command magic tut4a. Selecting and Viewing Hierarchical Designs ``Hierarchical structure'' means that each cell can contain other cells as components. However, many things are greatly improved if you use a hierarchical structure, including the efficiency of the design tools, the speed with which you can enter the design, and the ease with which you can modify it later.Ģ. Strictly speaking, hierarchical structure isn't necessary: any design that can be represented hierarchically can also be represented ``flat'' (with all the paint and labels in a single cell). This tutorial describes Magic's facilities for building up cell hierarchies. Tutorial #2 showed you how to create and edit paint and labels. Each cell contains three things: paint, labels, and subcells. Introduction In Magic, a layout is a hierarchical collection of cells. :array, :edit, :expand, :flush, :getcell, :identify, :load, :path, :see, :unexpandġ. Magic Tutorial #2: Basic Painting and Selection This tutorial corresponds to Magic version 6. Magic Tutorial #4: Cell Hierarchies John OusterhoutĪctive version by Mário Computer Science DivisionĮlectrical Engineering and Computer Sciences
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |