OASIS Dump Tool

As a spin-off from the OASIS reader and writer development, a OASIS dump tool is provided here. Currently this is a source repository with a Makefile. It can be built on most Linux systems right from the command line.

The build currently requires the QtCore module. To build the tool, download the Source Package and build on the command line:

tar hzxvf dump_oas_src.tar.gz
cd dump_oas_src
make

Here is a sample of the output for the t6.1 sample from the OASIS testdata in the KLayout project.

dump_oas t6.1.oas
000000000   25 53 45 4d 49 2d 4f 41  magic bytes
000000008 + 53 49 53 0d 0a 
000000013   01                       START
000000014   03 31 2e 30              version ("1.0")
000000018   00 e8 07                 resolution (1000)
000000021   00 00                    tables entry (0)
000000023   00                       tables entry (0)
000000024   00                       tables entry (0)
000000025   00                       tables entry (0)
000000026   00                       tables entry (0)
000000027   00                       tables entry (0)
000000028   00                       tables entry (0)
000000029   00                       tables entry (0)
000000030   00                       tables entry (0)
000000031   00                       tables entry (0)
000000032   00                       tables entry (0)
000000033   00                       tables entry (0)
000000034   0e 03 41 42 43           CELL ("ABC")
000000039   16 fb                    PATH
000000041   01                       layer=1
000000042   02                       datatype=2
000000043   0a                       half_width=10
000000044   0f                       extensions (type=15)
000000045   0a                         e1=5
000000046   0b                         e2=-5
000000047   00                       pointlist (type=0)
000000048   03 ac 02                   xy=150,0
000000051   64                         xy=150,50
000000052   65                         xy=100,50
000000053   00                       x=0
000000054   c8 01                    y=100
000000056   10                       XYRELATIVE
000000057   16 eb                    PATH
000000059   01                       layer=1
000000060   02                       datatype=2
000000061   0a                       half_width=10
000000062   00                       extensions (type=0)
000000063   00                       pointlist (type=0)
000000064   03 ac 02                   xy=150,0
000000067   64                         xy=150,50
000000068   65                         xy=100,50
000000069   90 03                    y=200
000000071   16 e9                    PATH
000000073   01                       layer=1
000000074   0a                       half_width=10
000000075   04                       extensions (type=4)
000000076   00                       pointlist (type=0)
000000077   03 ac 02                   xy=150,0
000000080   64                         xy=150,50
000000081   65                         xy=100,50
000000082   90 03                    y=200
000000084   16 ea                    PATH
000000086   02                       datatype=2
000000087   0c                       half_width=12
000000088   05                       extensions (type=5)
000000089   00                       pointlist (type=0)
000000090   03 ac 02                   xy=150,0
000000093   64                         xy=150,50
000000094   65                         xy=100,50
000000095   90 03                    y=200
000000097   16 ab                    PATH
000000099   01                       layer=1
000000100   02                       datatype=2
000000101   0a                       extensions (type=10)
000000102   00                       pointlist (type=0)
000000103   03 ac 02                   xy=150,0
000000106   64                         xy=150,50
000000107   65                         xy=100,50
000000108   90 03                    y=200
000000110   16 0b                    PATH
000000112   02                       layer=2
000000113   03                       datatype=3
000000114   90 03                    y=200
000000116   16 0f                    PATH
000000118   02                       layer=2
000000119   03                       datatype=3
000000120   90 03                    y=200
000000122   01                       repetition (type=1)
000000123   01                         nx=1
000000124   02                         ny=2
000000125   c8 01                      dx=200
000000127   ac 02                      dy=300
000000129   10                       XYRELATIVE
000000130   16 15                    PATH
000000132   01                       layer=1
000000133   d0 0f                    x=1000
000000135   00                       repetition (type=0)
000000136   02                       END
000000137   00 00 00 00 00 00 00 00  tail
000000145 + 00 00 00 00 00 00 00 00 
000000153 + 00 00 00 00 00 00 00 00 
000000161 + 00 00 00 00 00 00 00 00 
000000169 + 00 00 00 00 00 00 00 00 
000000177 + 00 00 00 00 00 00 00 00 
000000185 + 00 00 00 00 00 00 00 00 
000000193 + 00 00 00 00 00 00 00 00 
000000201 + 00 00 00 00 00 00 00 00 
000000209 + 00 00 00 00 00 00 00 00 
000000217 + 00 00 00 00 00 00 00 00 
000000225 + 00 00 00 00 00 00 00 00 
000000233 + 00 00 00 00 00 00 00 00 
000000241 + 00 00 00 00 00 00 00 00 
000000249 + 00 00 00 00 00 00 00 00 
000000257 + 00 00 00 00 00 00 00 00 
000000265 + 00 00 00 00 00 00 00 00 
000000273 + 00 00 00 00 00 00 00 00 
000000281 + 00 00 00 00 00 00 00 00 
000000289 + 00 00 00 00 00 00 00 00 
000000297 + 00 00 00 00 00 00 00 00 
000000305 + 00 00 00 00 00 00 00 00 
000000313 + 00 00 00 00 00 00 00 00 
000000321 + 00 00 00 00 00 00 00 00 
000000329 + 00 00 00 00 00 00 00 00 
000000337 + 00 00 00 00 00 00 00 00 
000000345 + 00 00 00 00 00 00 00 00 
000000353 + 00 00 00 00 00 00 00 00 
000000361 + 00 00 00 00 00 00 00 00 
000000369 + 00 00 00 00 00 00 00 00 
000000377 + 00 00 00 00 00 00 00 00 
000000385 + 00 00 00 00 00 00