Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic 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.

Register Log in

top cell name in GDSII db

Status
Not open for further replies.

bsrin

Junior Member level 3
Joined
Apr 14, 2009
Messages
28
Helped
6
Reputation
12
Reaction score
6
Trophy points
1,283
Activity points
1,485
Hi Everybody,
How can I get top cellname in gdsII database without opening it. I mean, is there any cadence/calibre command or any script which tells top cellname with gdsII database taking as input.

Thanks in advance.
 

erikl

Super Moderator
Staff member
Joined
Sep 9, 2008
Messages
8,112
Helped
2,687
Reputation
5,354
Reaction score
2,284
Trophy points
1,393
Location
Germany
Activity points
44,153
If you don't get a cadence/calibre command, you could try a std. UNIX/LINUX command:
od -a <file_name.gds> | head

Here's an example from one of my old .gds files:
od -a CLKBUF3.gds | head
0000000 nul ack nul stx nul enq nul fs soh stx nul nul nul nul nul nul
0000020 nul dc2 nul etx nul eot nul nul nul nul nul nul nul dc2 nul etx
0000040 nul eot nul dc2 stx ack g s c l 4 5 n m _ f
0000060 i n a l nul dc4 etx enq > A 89 7 K ? ? ?
0000100 9 D ? / ? 9b Z T nul fs enq stx nul nul nul nul
0000120 nul nul nul dc2 nul etx nul eot nul nul nul nul nul nul nul dc2
0000140 nul etx nul eot nul ff ack ack C L K B U F 3 nul
0000160 nul eot ff nul nul ack cr stx nul nak nul ack syn stx nul soh
0000200 nul ack etb soh nul enq nul bs si etx nul nul nul d nul ack
0000220 sub soh nul nul nul ff esc enq @ em 99 99 99 99 99 9a
The top cellname (CLKBUF3) shows up after an "ff" (new page control character) followed by 2 "ack" characters.

I have found this setup in quite a lot of my .gds files, but of course I'm not sure if this is valid for all of them.
May be this can help?
 

Status
Not open for further replies.
Toggle Sidebar

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top