EBV Text

EBV Text format

Apart from layout data and mask data, neoEBV can display vector data in text files with the following format.

Element

The following elements are available in the EBV text format

  • Whole file attributes
    • unit
    • size
  • Area attributes (applies until the same element is encountered again)
    • field
    • layno
  • Figure
    • rect
    • xtrap
    • ytrap
    • poly
    • lines
    • multigon
  • Figure attributes (applied to the previous figure. It is also possible to apply multiple attributes)
    • mirrorX
    • mirrorY
    • rotate
    • scale

Elements and Formatting

The first line of the file must contain a header indicating that it is EBV Text.

It has to be

#EBV

Comments

Any line starting with # is treated as a comment.

Address Unit

unit <au[um]>
  • The size of the address unit (unit: um).
  • If omitted, the value is 0.001[um].

Chip Area

size <sx>,<sy>,<ex>,<ey>
  • Indicates the chip area.
  • If omitted, the bounding rectangle of all figures becomes the chip area.
  • The chip area is enlarged when the bounding rectangle of a figure is outside the area.
              (ex, ey)
     +-----------+
     |           |
     |           |
     |           |
     |           |
     |           |
     *-----------+
  (sx, sy)

Fields

field <sx>,<sy>,<ex>,<ey> [<option>]
  • Indicates field area.
  • The coordinates of figures after the field line are relative to the field origin.
              (ex, ey)
     +-----------+
     |           |
     |           |
     |           |
     |           |
     |           |
     *-----------+
  (sx, sy)

The following option can be specified. If the same option is specified more than once, the only last specification affects.

Option Description
name=<str> Specify field name.

Layer, Data Type

layno <layer>[:<datatype>]
  • If not specified, the default is 0:0.
  • Only datatype can be omitted. (default is 0).

Rectangle

rect <x>,<y>,<w>,<h>[,<nx>,<ny>,<dx>,<dy>]
  • If nx or later is present, it is treated as a repeat.
                  nx individual
      +---+                  +---+
      |   |  ~ ~ ~ ~ ~     |   |
      o---+                  o---+

        :                      :

      +---+ XXX : ny individual
      |   |
      o---+                    :
   ^
 dy:  +---+    +---+         +---+
   :  |   |    |   |  ~ ~ ~  |   |
   v  *---+    o---+         o---+
   (x,y)
      <- - - ->
          dx

X Trapezoid

xtrap <x>,<y>,<w>,<h>,<left-x>,<right-x>[,<nx>,<ny>,<dx>,<dy>]
      left-x
     --> +----------+
     ^  /          /
  h  : /          /
     :/          /
     *----------+ -->
  (x,y)   w       right-x

Y Trapezoid

ytrap <x>,<y>,<w>,<h>,<lower-y>,<upper-y>[,<nx>,<ny>,<dx>,<dy>]
          ^    +
          :   /|
  upper-y :  / |
          : /  |
          :/   |
          +    |
          |    |
          |    +
          |   /^
        w |  / :
          | /  : lower-y
          |/   :
          * --->
       (x,y) h

Polygon

poly
xy <x0>,<y0>
xy <x1>,<y1>
...
xy <xn>,<yn>
xy <x0>,<y0>
end[,<nx>,<ny>,<dx>,<dy>]
  p5                  p4
   +----------------+
   |                |
   |       p2       | 
   |        +-------+ p3
   |        |
   |        |
   *--------+
  p0        p1

Line

lines
xy <x0>,<y0>
xy <x1>,<y1>
...
xy <xn>,<yn>
end[,<nx>,<ny>,<dx>,<dy>]
                  p2
                 +
                /
               /
              /
     *-------+
   p0        p1

Multigon

multigon
  section <type>:<degree> [<option>]
    xy <x0>,<y0>
    xy <x1>,<y1>
    ...
    xy <xn>,<yn>
  end # section end
  section <type>:<degree> [<option>]
    xy <x3>,<y3>
    xy <x4>,<y4>
    ...
    xy <xn>,<yn>
  end # section end
  ... <multiple sections>
  hole
    section <type>:<degree> [<option>]
      xy  <xa>, <ya>
      xy  <xb>, <yb>
      ...
    end # section end
    ... <multiple sections>
  end[,<nx>,<ny>,<dx>,<dy>] # hole end
end[,<nx>,<ny>,<dx>,<dy>] # multigon end
  p1                            p2
   +----------------------------+
   |                            |
   | p5      p6                 |
   |  +------+    +-+    +-+    |
   |  |      |    | | .. | |    |
   |  *------+    +-+    +-+    |
   | p4      p7    .      .     |
   |               .      .     |
   |             p9 p10         |
   |              +-+    +-+    |
   |              | | .. | |    |
   |              +-+    +-+    |
   |             p8 p11         |
   |                            |
   |                            |
   |                            |
   *----------------------------+
  p0                            p3
Multigon Record

This records displays one outer curvy pattern and multiple holes.

Hole Record

This record displays hole in multigon.

Section Record

This record describes points in multigon or hole.

The section record has some parameters.

Item Description
type linear (Points connect with linear lines.)
bezier (Points connect with Bezier curve. It is treated as explicit.)
bspline (Points connect with B-Spline curve. The clamped option discribed later can be specified.)
degree 1 (When type = linear, degree must be 1.), 2 or 3 (This specifies degree of Bezier or B-Spline curve.)

And following option can be specified.

Item Description
clamped Specifies clamped when B-Spline.
0 (Curve pass through on the start and the end points of section.)
1 (Curve does not pass through on the start and the end points of section.)
ratio Specifies ratio to calculate the intermediate control points of a Bezier curve.
If this option is specified, the Bezier curve is read as Implicit Bezier.

X-axis Mirror

mirrorX
          +....+
         /     :
        /      :
       *.......+
        \      |
         \     |
          +----+

Y-axis Mirror

mirrorY
               
    +----+     +....+
    |     \   /     :
    |      \ /      :
    +-------*.......+

Rotation

rotate <deg>

  rotate 90

                   +.........+
                   : +......+
    +-+            : :
    | |            : +....+
    | |   +-+      + +....+
    | |   | |      : :
    | +---+ +------+ :
    +--------------* +

Scale

scale <scale>

     +---------------+
     |               |
     |               |
     |               |
     |               |
     |               |
     +...+           |
     :   :           |
     *...+-----------+

EBV Text Sample

#EBV
unit 0.001
size 500,500,1500,2500

# This part is a comment
layno 0:0
field 500,500,4500,4500 name=field_1
rect 0,0,100,60,2,3,2000,3000
xtrap 1000,0,80,60,-20,-40,2,3,2000,3000
ytrap 0,1000,80,60,-20,-40,2,3,2000,3000
poly
xy 1000,1061.8
xy 1082.9,1000
xy 1050,1100
xy 1017.1,1000
xy 1100,1061.8
xy 1000,1061.8
end
lines
xy 1000,1061.8
xy 1017.1,1000
xy 1082.9,1000
xy 1100,1061.8
xy 1050,1100
xy 1000,1061.8
end

layno 1:1
rect 0,0,100,60,2,3,2000,3000
mirrorX
xtrap 1000,0,80,60,-20,-40,2,3,2000,3000
mirrorX
ytrap 0,1000,80,60,-20,-40,2,3,2000,3000
mirrorX
poly
xy 1000,1061.8
xy 1082.9,1000
xy 1050,1100
xy 1017.1,1000
xy 1100,1061.8
xy 1000,1061.8
end
mirrorX
lines
xy 1000,1061.8
xy 1017.1,1000
xy 1082.9,1000
xy 1100,1061.8
xy 1050,1100
xy 1000,1061.8
end
mirrorX

layno 2:2
rect 0,0,100,60,2,3,2000,3000
mirrorY
xtrap 1000,0,80,60,-20,-40,2,3,2000,3000
mirrorY
ytrap 0,1000,80,60,-20,-40,2,3,2000,3000
mirrorY
poly
xy 1000,1061.8
xy 1082.9,1000
xy 1050,1100
xy 1017.1,1000
xy 1100,1061.8
xy 1000,1061.8
end
mirrorY
lines
xy 1000,1061.8
xy 1017.1,1000
xy 1082.9,1000
xy 1100,1061.8
xy 1050,1100
xy 1000,1061.8
end
mirrorY

layno 3:3
rect 0,0,100,60,2,3,2000,3000
rotate 180.0
xtrap 1000,0,80,60,-20,-40,2,3,2000,3000
rotate 180.0
ytrap 0,1000,80,60,-20,-40,2,3,2000,3000
rotate 180.0
poly
xy 1000,1061.8
xy 1082.9,1000
xy 1050,1100
xy 1017.1,1000
xy 1100,1061.8
xy 1000,1061.8
end
rotate 180.0
lines
xy 1000,1061.8
xy 1017.1,1000
xy 1082.9,1000
xy 1100,1061.8
xy 1050,1100
xy 1000,1061.8
end
rotate 180.0

multigon
 section bspline:3 clamped=0
  xy 0,0
  xy 0,100
  xy 100,50
 end
 hole
  section bspline:3 clamped=0
   xy 10,35
   xy 10,45
   xy 20,45
   xy 20,35
  end
 end,2,2,20,20
end
multigon
 section bspline:3 clamped=1
  xy 1000,0
  xy 950,50
  xy 1000,100
 end
 section bspline:3 clamped=1
  xy 1000,100
  xy 1100,75
  xy 1100,50
 end
 section bspline:3 clamped=1
  xy 1100,50
  xy 1100,25
  xy 1000,0
 end
end,2,2,200,200
multigon
  section bezier:3 ratio=0.3
    xy 540,540
  end
  section bezier:3 ratio=0.5
    xy 560,560
    xy 580,540
    xy 560,520
  end
  hole
    section bezier:3 ratio=0.3
      xy 550,540
      xy 560,550
      xy 570,540
      xy 560,530
    end
  end
end
Last modified December 10, 2024