How to create a bubble with xsection script?

edited October 2014 in General
Hy everybody!

I like the xsection addon (creating cross sections out of layout) from klayout very much but come now to a point where I can't get further.

I Need to create a bubble in another layer. For example: Create a deep implantation inside Epitaxy. The Workaround I found out was, to create the implant and after that, create another implant (with Epitaxy) on top of the deep implant and combine it afterwards. Here is the code:

epi = deposit(7.0)
mbody = mask(cmbody).grow(2.1, 1.2, :mode => :round, :through => [fox, gox], :into => [epi])
epiTop = mask(cmbody).grow(1.0, 2.0, :mode => :round, :through => [fox, gox], :into => [mbody])
epiAll = epi.or(epiTop)

Looks not very nice...

Maybe someone has an idea.

Have a nice day!

Tom

Comments

Sign In or Register to comment.