Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

How do I add Physical text to a GDS ?

Status
Not open for further replies.

truebs

Full Member level 5
Joined
Jan 21, 2005
Messages
310
Helped
22
Reputation
44
Reaction score
4
Trophy points
1,298
Location
Asia
Activity points
2,980
lesearchhierarchy

Hi friends,

I've a GDS and i have the coordinates and the layer number where I'd like to put text.
The original GDS has no text, How can i write another GDS (or modify the same one) so that it contains the text along with original goemetries. ??

Thanks,
 

There's a text layer. You have to manually enable this layer in the LSW.
 

How can you manually enable layers in LSW for GDSII purpose?

Can you give us a little bit of procedure?

Thanks
 

U can enable layers using the LSW menu Edit->set Valid Layer..

Now coming to ur question. U can write simple skill scripts to
create labels where ever u want in the gds.
 

I am afraid that you've got the question wrong....more appropiately I did not provide proper explaination.

I don't want to use any layout editor ....that is quite simple.

I just want ...


GDS1------> DO SOMETHING -------> GDS2 (with added texts)

DO SOMETHING : can be a script.

If i;ve a layout editor ...its quite simple to achieve this. But it is manual. I wanted to automate it.


Also SKILL works with CADENCE only......just like SCHEME works with SYNOPSYS.... I want to use perl/ or other open source....

Thanks for your feedbacks,
truebs
 

I am pasting a SKILL script. Maybe you could modify it per your requirement and get what you are looking for.

------------------------SKILL Script---------------------------
The following SKILL procedure searches for top level pads containing a particular
string ("_io" in this example) and output those into an ASCII file. With this code,
when there is no label at top level matching the request criteria, then it gives
a line in the CIW saying so. There are no popup windows with this procedure.

You can change/add the print statements, cell list in this code as desired. The
procedure has to be called using searchPadLabel() in CIW after loading the SKILL code.


procedure(searchPadLabel()
let((cv mylabel out mybBox)
out=outfile("./padlist")

foreach(newpads '("top_pads_new" "bottom_pads_new" "right_pads_new" "left_pads_new")

cv=dbOpenCellViewByType("new_pads_lib" newpads "layout" nil "r")

mybBox=cv~>bBox

mylabel=leSearchHierarchy( cv mybBox 0 "label"
list( list( "text" "==" "_io" ))
)

if(mylabel then
fprintf(out "\nThe labels for the cell %s are : \n" newpads)
foreach(lab mylabel
;printf("%s " lab~>theLabel)
fprintf(out "\t %s\t" lab~>theLabel)
fprintf( out "\t%f\t%f\n" (car lab~>xy) (cadr lab~>xy))
);foreach

else
fprintf(out "\nNo labels found in cell %s that satisfy the search criteria..\n"
newpads)
printf("\nNo labels found in the cell %s that satisfy the search criteria..\n"
newpads)
);if
);foreach

close(out)
);let
);procedure


###############upto here################

Note : Consider the leSearchHierarchy() function used in the above code :
---------------------------
mylabel=leSearchHierarchy( cv mybBox 0 "label"
list( list( "text" "==" "_io" ))
)
---------------------------
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top