klayoutmatthias / dump_oas_gds2 Goto Github PK
View Code? Open in Web Editor NEWAn OASIS and GDS2 (chip layout format) binary dump tool for debugging
License: GNU General Public License v2.0
An OASIS and GDS2 (chip layout format) binary dump tool for debugging
License: GNU General Public License v2.0
dump_gds2 issues an ERROR for gds with zero padding at the end to get to multiple of 2k file sizes.
it should just ignore everything past ENDLIB
dump_gds2 test.gds.gz
000002452 00 04 07 00 ENDSTR
000002456 00 04 04 00 ENDLIB
*** ERROR: Invalid record length less than 4 (position=2462, cell=UNKNOWN_CELL)
gunzip -c test.gds.gz | xxd
00000980: 0000 0708 0000 0190 0000 06a4 0000 012c ...............,
00000990: 0004 1100 0004 0700 0004 0400 0000 0000 ................
000009a0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
000009b0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
...
00000fe0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
00000ff0: 0000 0000 0000 0000 0000 0000 0000 0000 ................
MyHost{sekigawa}(1)$ gcc --version
gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0
Copyright (C) 2019 Free Software Foundation, Inc.
This is free software; see the sourc
MyHost{sekigawa}(2)$ make
gcc -o dump_oas.o -c dump_oas.cc -O3
In file included from tlStream.h:29,
from dbOASISDumper.h:28,
from dump_oas.cc:23:
tlString.h:695:64: warning: dynamic exception specifications are deprecated in C++11 [-Wdeprecated]
695 | KLAYOUT_DLL void from_string (const std::string &s, double &v) throw (tl::Exception);
| ^~~~~
:
:
:
g++ -o dump_gds2 dump_gds2.o dbOASISDumper.o dbGDS2Dumper.o tlStream.o tlVariant.o \
tlException.o tlString.o tlDeflate.o tlAssert.o -lstdc++ -lz
MyHost{sekigawa}(3)$ ll -rt
:
:
368 -rwxrwxr-x 1 sekigawa sekigawa 375160 Dec 20 09:18 dump_oas* <===
368 -rwxrwxr-x 1 sekigawa sekigawa 375160 Dec 20 09:18 dump_gds2 <===
MyHost{sekigawa}(4)$ ./dump_oas -h
dump_oas - An OASIS file disassembly tool
Usage: dump_oas [options] [OASIS file]
Options:
-n <width> number of bytes to print per line
-s short: abbreviate hex dump with more than "width" bytes
Version 0.2
Author: Matthias Köfferlein, 2013
Distributed under GPL V2 or later
MyHost{sekigawa}(5)$ ./dump_gds2 -h
dump_gds2 - An GDS2 file disassembly tool
Usage: dump_gds2 [options] [GDS2 file]
Options:
-n <width> number of bytes to print per line
-s short: abbreviate hex dump with more than "width" bytes
Version 0.1
Author: Matthias Köfferlein, 2013
Distributed under GPL V2 or later
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.