Coder Social home page Coder Social logo

dump_oas_gds2's People

Contributors

klayoutmatthias avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

dump_oas_gds2's Issues

dump_gds2 ERROR when faced with 2k zero padding at the end

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  ................

test.gds.gz

Build the tool in different environments

1. Linux: Mint 20

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.