mbschk Utility

mbschk is a lightweight Mebes pattern file reader that can output boundary equivalents to a GDSII file or stdout.
All messaging goes to stderr. It does not have the unionizing feature that mbs2tiff has.

It was not based on the code found in mbs2tiff in order to provide a sterile environment in which to provide an independent method of testing mbs2tiff.

Usage of mbschk

Usage of mbschk is documented below:

[hagai@asmsc37 examples]$ ../bin/mbschk -h

mbschk Version 1.05  (rcs 1.133) (11/23/10) DEMO
(C)2010 Artwork Conversion Software, Inc.  (831)426-6163
info@artwork.com,  http://www.artwork.com


mbschk  [options]

options

-strict     do not quit on syntax errors
-gds[:N]    create gds stream optionally using N as the output name
-bystripe   create a structure for each stripe (implies -bysegment)
-bysegment  create a structure for each segment
-aref       convert repetitions to AREF data
-native     gds stream user units are derived from mebes file
-grid:G     set gds stream user units to G
-layer:L    output stream data to layer L, -1 implies layering
            by stripe number

[hagai@asmsc37 examples]$ 

Examples of mbschk

Command line example of mbschk is documented below:

../bin/mbschk my_mebes_file.mbs
Displays information about the mebes file found in the file header, as well as, summaries found in each segment.


../bin/mbschk my_mebes_file.mbs -gds
In addition to the usual informational summaries, a GDSII file named my_mebes_file.gds will be created with the following units: um with a precision of 1/1000.


../bin/mbschk ref5_l1.mbs -gds:aref5_l1.gds -native -bysegment -aref -layer:1
In this example, the MEBES file contained an array function which is called a repetition. The -aref option converts repetitions to AREFs in the GDSII output. The output GDSII file will be much smaller compare to not using this option.


../bin/mbschk my_mebes_file.mbs -gds:zed.sf
In addition to the usual informational summaries, a GDSII file named zed.sf will be created with the following units: um with a precision of 1/1000.


../bin/mbschk my_mebes_file.mbs -gds:stdout
In addition to the usual informational summaries, a GDSII file will be streamed to stdout with the following units: um with a precision of 1/1000.


../bin/mbschk my_mebes_file.mbs -gds -grid:0.25
In addition to the usual informational summaries, a GDSII file named my_mebes_file.gds will be created with the following units: um with a precision of 1/4.


../bin/mbschk my_mebes_file.mbs -gds -native
In addition to the usual informational summaries, a GDSII file named my_mebes_file.gds will be created with the following units: um with a precision equal to that found in the MEBES file.


../bin/mbschk my_mebes_file.mbs -gds -layer:10
In addition to the usual informational summaries, a GDSII file named my_mebes_file.gds will be created with the following units: um with a precision of 1/1000. The boundaries will be output to GDSII layer 10, datatype 0.


../bin/mbschk test.m5 2>&1 | more
In this example, we pipe the MEBES file information to the screen. User can then verify the format of the MEBES file, the grid, date created, number of segments and stripes.
Additional information includes the number of stripes in each segment, number of rectangles and trapezoids in each segment, and number of repetitions (arrays) in each segment.
Here is a sample output...
mbschk Version 1.05  (rcs 1.133) (11/23/10) FLEXlm v11.3 LICENSE (blade1500)
(C)2010 Artwork Conversion Software, Inc.  (831)426-6163
info@artwork.com,  http://www.artwork.com


file: test.m5 (8632320) bytes
format is 5
number of data fields: 3
address size (bit pattern): 00000000.00100000.00011000.11001001
grid: 0.001000
step height: 1024
cx: 6932000
cy: 8799000
month: 2 day: 15 year: 2008
rdos filename: 32G170PDA.M5
pattern file length in 2048 byte records: 4215 or 8632320 (bytes) compared to 8632320 bytes
format is 5
segment @ 2048, 0x800
segment @ 6144, 0x1800
segment @ 12288, 0x3000
.
.
.
mask shop info: PATACON

segment 0 @ 2048 0x800
segment: mode 5: 1
first stripe: mode 5: 1
segment summary:
  stripes      : 137
  compact      : 0
  manhattan    : 138
  parallelogram: 0
  trapezoid 1  : 0
  trapezoid 2  : 0
  trapezoid 3  : 0
  repetitions  : 138

segment 1 @ 6144 0x1800
segment: mode 5: 2
first stripe: mode 5: 1
segment summary:
  stripes      : 135
  compact      : 0
  manhattan    : 272
.
.
.
end drawing @ 8631774 0x83b5de






MBS2TIFF Main Page Price Download Revision History


ARTWORK CONVERSION SOFTWARE, INC.       Company Profile
417 Ingalls St., Santa Cruz, CA 95060    Tel (831) 426-6163     Fax 426-2824    email: info@artwork.com