Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
tools:layout:start [2024/06/16 16:08] – rajit | tools:layout:start [2025/03/20 20:44] (current) – [Coordinate system] ole | ||
---|---|---|---|
Line 44: | Line 44: | ||
==== Coordinate system ==== | ==== Coordinate system ==== | ||
- | The coordinate system used by rectangles in this file are designed to work directly with '' | + | The internal |
< | < | ||
:box 0 0 10 20 | :box 0 0 10 20 | ||
Line 50: | Line 50: | ||
is of size 10 by 20 units. If we view a box as a collection of 1 by 1 pixels, then this box occupies pixels starting from (0,0) to (9,19). All '' | is of size 10 by 20 units. If we view a box as a collection of 1 by 1 pixels, then this box occupies pixels starting from (0,0) to (9,19). All '' | ||
+ | the rect command is specifed by 2 coordinate pairs, following the above example: | ||
+ | < | ||
+ | rect < | ||
+ | |||
+ | rect # m1 0 0 9 19 | ||
+ | </ | ||
==== Bounding box ==== | ==== Bounding box ==== | ||
Line 56: | Line 62: | ||
A user-specified place and route boundary and bounding box can be specified using the '' | A user-specified place and route boundary and bounding box can be specified using the '' | ||
- | ==== Abutment and attributes | + | ==== Abutment and alignment |
The layout library has support for manipulating layout. To aid in this, a '' | The layout library has support for manipulating layout. To aid in this, a '' | ||
+ | |||
+ | A aliment box is required to mark the boundary the next cell is abutted to: | ||
< | < | ||
Line 64: | Line 72: | ||
</ | </ | ||
This means that the box used for abutting this cell with another has the specified coordinates. | This means that the box used for abutting this cell with another has the specified coordinates. | ||
+ | |||
+ | The layout engine checks if it can abut 2 cells by looking up if they have a matching label, so next to the abutmentbox you need to specify abutment markers: | ||
+ | these markers are just a single coordinate thus the first coordinate pair is just repeated. | ||
< | < |