OaScan is a command line utility that scans an OASIS file and generates a report in form of a human-readable text file. This report contains the following information:
- Grid (Resolution)
- Number of CBLOCKs
- Layers and Datatypes containing data
- List of Cells
- Number of Placements, Texts and elements per cell (optional)
- List of Top Cells
- Cell Hierarchy (optional)
If the OASIS file contains CBLOCKs, OasScan decompresses and parses them on-the-fly. The entire OASIS file is read only once.
Sample Output
OASIS FILE: demo5.cblocks.oas
GRID: 1000 <-- number of ticks per um. OASIS units always um.
CBLOCK_COUNT: 13 <-- number of CBLOCKs found in this file
LAYERS_CONTAINING_DATA <-- list of layer:datatype that have any type
0 : 0 of entity data
1 : 0
2 : 0
3 : 0
4 : 0
5 : 0
6 : 0
7 : 0
8 : 0
9 : 0
10 : 0
11 Layers, 11 Layer:Datatype Combinations
TOP_STRUCTURE_LIST <-- list of top level structures -i.e. those that
1) 1988 are not referenced by any other structure.
2) TOP
STRUCTURE_LIST (RT, PO, PA, TR, CT, CI, XG, PL, TX, XE)
RT: Rectangle
PO: Polygon Each structure in the list is followed a count of
PA: Path the number of different elements contained in that
TR: Trapezoid structure.
CT: CTrapezoid
CI: Circle Note: this list can be quite long - many OASIS files
XG: XGeometry have as many as 500K individual structures defined.
PL: Placement
TX: Text
XE: XElement
1) HVLS (15 10 0 0 0 0 0 22 4 0)
2) CONT (2 0 0 0 0 0 0 0 0 0)
3) PTAP2 (4 0 0 0 0 0 0 0 0 0)
4) POLYHD1 (1 0 0 0 0 0 0 1 0 0)
5) POLYHD3 (1 0 0 0 0 0 0 1 0 0)
6) CMP2 (21 17 1 0 0 0 0 47 12 0)
7) NTAP (1 0 0 0 0 0 0 1 0 0)
.
.
.
44) CMPTTL (12 11 0 0 0 0 0 27 5 0)
45) VN_INGATE (43 45 0 0 0 0 0 80 1 0)
46) INGATE2 (19 20 0 0 0 0 0 35 8 0)
47) TOP (8 4 0 0 0 0 0 109 32 0)
HIERARCHY_OF_INDEPENDENT_STRUCTURES <-- structure list organized in hierarchical fashion.
this output is optional. (-sh on command line)
1988 <-- note that this cell is essentially an orphan
TOP
|
|_ NTAP
| |
| |_ CONT
|
|_ PAD
|
|_ COMLOGIC
| |
| |_ HVLS
| | |
| | |_ CONT
| | |
| | |_ PTAP2
| | |
| | |_ POLYHD1
.
.
.
|