[Artwork] / [QisMLib] / [Programmer's Corner]
LayerSynthApp
A console program to synthesize new layers based on an expression involving boolean operations between existing layers
LayerSynthAppCommand-line ReferenceRequired+input:{input-gdsii-oasis-dbload-file}
+outdir:{directory-for-output-files}
+layerspec:{layersynth-spec}
WINDOW SPEC-window:LLUR,{filename}:{llx},{lly},{urx},{ury}
-window:LLWH,{filename}:{llx},{lly},{width},{height}
-window:CWH,{filename}:{cx},{cy},{width},{height}
@windows:LLUR,{filename}:{window-list-file}
@windows:WHLL,{filename}:{window-list-file}
@windows:WGC,{filename}:{window-list-file}
-tiles:RXY,{filename}:{roi_llx},{roi_lly},{roi_urx},{roi_ury}:{nx},{ny}[:{i},{j}]*
-tiles:RWH,{filename}:{roi_llx},{roi_lly},{roi_urx},{roi_ury}:{width},{height}[:{i},{j}]*
-tiles:WHC,{filename}:{width},{height}[:{cx},{cy}]+
MISC OPTIONS-cell::{view-cell-name}
-diskload
-thrnum:{n-synthesizer-threads}
-noclip
-log:${new_log_file}] || [-log+:${log_file}
-silent
Command-line Reference
Required
+input:{input-gdsii-oasis-dbload-file}
- Specify the path to a valid GDSII/OASIS or DBLOAD file
+outdir:{directory-for-output-files}
- Specify an exisiting directory where the output file will be created
+layerspec:{layersynth-spec}
- Expression for layer synthesis
- See here for complete syntax
WINDOW SPEC
- Specify at least ONE of the following
-window:LLUR,{filename}:{llx},{lly},{urx},{ury}
- Specify a window using it's lower left and upper right co-ordinates (in file units)
- The filename is used to identify the window and the file generated thereof
- Final output path = {output-dir} + {filename} + {extension}
-window:LLWH,{filename}:{llx},{lly},{width},{height}
- Specify a window using it's lower left co-ordinates, width and height (in file units)
- The filename is used to identify the window and the file generated thereof
- Final output path = {output-dir} + {filename} + {extension}
-window:CWH,{filename}:{cx},{cy},{width},{height}
- Specify a window using it's center co-ordinates, width and height (in file units)
- The filename is used to identify the window and the file generated thereof
- Final output path = {output-dir} + {filename} + {extension}
@windows:LLUR,{filename}:{window-list-file}
- Read a set of windows from a text file located at {window-list-file}
- Each line in that file specifies a single window as {LLX},{LLY},{URX},{URY} (in file units)
- Lines beginning with a
#
are treated as comments - The filename is used to identify the windows and the files generated thereof
- Final output path = {output-dir} + {filename} + {line_num} + {extension}
@windows:WHLL,{filename}:{window-list-file}
- Read a set of windows from a text file located at {window-list-file}
- The first line specifies the {WIDTH},{HEIGHT} (in file units) to be used for all windows
- Each subsequent line in that file specifies the lower left co-ordinate (in file units) where a single window is to be placed
- Lines beginning with a
#
are treated as comments - The filename is used to identify the windows and the files generated thereof
- Final output path = {output-dir} + {filename} + { line_num } + {extension}
@windows:WGC,{filename}:{window-list-file}
- Read a set of windows from a text file located at {window-list-file}
- The first line specifies the {WIDTH},{HEIGHT} (in file units) to be used for all windows
- Each subsequent line in that file specifies the co-ordinates a point (in file units) where the center of a window is to be placed
- Lines beginning with a
#
are treated as comments - The filename is used to identify the windows and the files generated thereof
- Final output path = {output-dir} + {filename} + { line_num } + {extension}
-tiles:RXY,{filename}:{roi_llx},{roi_lly},{roi_urx},{roi_ury}:{nx},{ny}[:{i},{j}]*
- Generate {nx} x {ny} same sized tiles from a region defined by it's lower left and upper right co-ordinates (in file units)
- Optionally, if a set of {i},{j} tile positions (1 {= i {= nx and 1 {= j {= ny)are specified, only those tiles will be extracted. Otherwise, all tiles will be extracted
- The filename is used to identify the windows and the files generated thereof
- Final output path = {output-dir} + {filename} + {i}.{j} + {extension}
-tiles:RWH,{filename}:{roi_llx},{roi_lly},{roi_urx},{roi_ury}:{width},{height}[:{i},{j}]*
- Generate {WIDTH} x {HEIGHT} same sized tiles from a region defined by it's lower left and upper right co-ordinates (in file units)
- Optionally, if a set of {i},{j} tile positions (1 <= i <= Num. tiles in X and 1 <= j <= Num. tiles in Y)are specified, only those tiles will be extracted. Otherwise, all tiles will be extracted
- The filename is used to identify the windows and the files generated thereof
- Final output path = {output-dir} + {filename} + {i}.{j} + {extension}
-tiles:WHC,{filename}:{width},{height}[:{cx},{cy}]+
- Generate {WIDTH} x {HEIGHT} sized tiles centered at one or more co-ordinates
- The filename is used to identify the windows and the files generated thereof
- Final output path = {output-dir} + {filename} + {COUNTER} + {extension}
MISC OPTIONS
-cell::{view-cell-name}
- Set the view cell
- Default: Deepest root cell in the file
-diskload
- If specified, the file is accessed from the disk for all operations
- Default: File is loaded to memory
-thrnum:{n-synthesizer-threads}
- Specify the number of threads to be used for boolean operations
- Default: No. CPU cores
-noclip
- If specified, polygons will not be clipped at window extents
- Default: Polygons are clipped at the window extents
-log:${new_log_file}] || [-log+:${log_file}
- Create an execution log at the specified path (including file name). The directory component of the path must exist with suitable write permissions
- By default, no log is created
- If -log+ is used, an existing file at that path will be appended. With -log, an existing file will be overwritten
-silent
- If used, no messages are written to stdout/stderr
- If not used (by default), the execution log is written to stdout and error warning messages are written to stderr
417 Ingalls St. Unit C, Santa Cruz, CA 95060 831.426.6163 email:
info@artwork.com