diff --git a/src/lay/lay/doc/about/index.xml b/src/lay/lay/doc/about/index.xml index 71465e8ab..948703245 100644 --- a/src/lay/lay/doc/about/index.xml +++ b/src/lay/lay/doc/about/index.xml @@ -12,6 +12,7 @@ + diff --git a/src/lay/lay/doc/about/layer_specs.xml b/src/lay/lay/doc/about/layer_specs.xml new file mode 100644 index 000000000..eb63bb9a7 --- /dev/null +++ b/src/lay/lay/doc/about/layer_specs.xml @@ -0,0 +1,104 @@ + + + + + + About Layer Specifications + +

+ Layer specifications are used in various places, for example in layer mapping + files (). + Layer specifications are used inside the database to give a layer a name or + a number/datatype pair or both. Layer specifications are the text representation + of LayerInfo objects. +

+ +

+ Blanks within layer specifications are ignored and can be put between + the different components of the specification. +

+ +

+ A simple number for the specification will indicate a layer with this layer number and a + datatype of zero: +

+ +
17
+ +

will give layer 17, datatype 0. +

+ +

+ A number followed by a slash and another number will indicate a layer number + and datatype: +

+ +
17/5
+ +

+ will give layer 17, datatype 5. +

+ +

+ Layers can be named. Named layers are present in DXF, CIF or other formats + which don't use the GDS layer/datatype number scheme. Just giving a name + will indicate such a layer: +

+ +
METAL1
+ +

+ will give a named layer called "METAL1". +

+ +

+ If you want to use a name that is a number, use quotes: +

+ +
"17"
+ +

+ will give a named layer called "17". +

+ +

+ If you want to use a name that includes blanks, put it into quotes + as well: +

+ +
"METAL 1"
+ +

+ will give a named layer called "METAL 1" (however, such layer names are usually illegal). +

+ +

+ Finally, a layer can have both a name and layer/datatype numbers. + In this case, add the layer/datatype number to the name in round + brackets: +

+ +
METAL1 (17)
+ +

+ will give a layer named "METAL1" with layer 17 and datatype 0 and +

+ +
METAL1 (17/5)
+ +

+ will give a layer named "METAL1" with layer 17 and datatype 5. +

+ +

Layer specifications as targets

+ +

+ When used in a target context (e.g. for layer mapping), a layer specification + can use wildcards and relative layer/datatype specifications. + Using "*" instead of a layer or datatype number means to reuse the source + layer or datatype number. Using "+x" or "-x" for layer or datatype number means + to add or subtract "x" from the source layer or datatype number. +

+ +
+ diff --git a/src/lay/lay/layHelpResources.qrc b/src/lay/lay/layHelpResources.qrc index 731ef64c8..e840931ef 100644 --- a/src/lay/lay/layHelpResources.qrc +++ b/src/lay/lay/layHelpResources.qrc @@ -21,6 +21,7 @@ doc/about/ide_snapshot.png doc/about/index.xml doc/about/layer_mapping.xml + doc/about/layer_specs.xml doc/about/layer_sources.xml doc/about/macro_editor.xml doc/about/macro_in_menu.xml diff --git a/src/plugins/streamers/lefdef/lay_plugin/LEFDEFTechnologyComponentEditor.ui b/src/plugins/streamers/lefdef/lay_plugin/LEFDEFTechnologyComponentEditor.ui index 65c1784f4..7ddb0871a 100644 --- a/src/plugins/streamers/lefdef/lay_plugin/LEFDEFTechnologyComponentEditor.ui +++ b/src/plugins/streamers/lefdef/lay_plugin/LEFDEFTechnologyComponentEditor.ui @@ -587,6 +587,16 @@ + + + + <html><body>(<a href="int:/about/layer_specs.xml">See here for the layer specification</a>)</body></html> + + + Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter + + + diff --git a/src/plugins/streamers/lefdef/lay_plugin/layLEFDEFImportDialogs.cc b/src/plugins/streamers/lefdef/lay_plugin/layLEFDEFImportDialogs.cc index 0cfded15b..868aca328 100644 --- a/src/plugins/streamers/lefdef/lay_plugin/layLEFDEFImportDialogs.cc +++ b/src/plugins/streamers/lefdef/lay_plugin/layLEFDEFImportDialogs.cc @@ -366,6 +366,7 @@ LEFDEFReaderOptionsEditor::LEFDEFReaderOptionsEditor (QWidget *parent) connect (browse_mapfile, SIGNAL (clicked ()), this, SLOT (browse_mapfile_clicked ())); lay::activate_help_links (help_label); + lay::activate_help_links (help_label2); } void