Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Coriolis VLSI EDA
Coriolis
Commits
1569e280
Commit
1569e280
authored
Jun 12, 2021
by
Jean-Paul Chaput
Browse files
In CRL::GdsParser, GDS layers indexes up to 1024, just in case.
parent
f3ccf31e
Changes
1
Hide whitespace changes
Inline
Side-by-side
crlcore/src/ccore/gds/GdsParser.cpp
View file @
1569e280
...
@@ -723,10 +723,10 @@ namespace {
...
@@ -723,10 +723,10 @@ namespace {
void
GdsStream
::
_staticInit
()
void
GdsStream
::
_staticInit
()
{
{
_gdsLayerTable
=
vector
<
const
Layer
*>
(
256
,
NULL
);
_gdsLayerTable
=
vector
<
const
Layer
*>
(
1024
,
NULL
);
for
(
const
BasicLayer
*
layer
:
DataBase
::
getDB
()
->
getTechnology
()
->
getBasicLayers
()
)
{
for
(
const
BasicLayer
*
layer
:
DataBase
::
getDB
()
->
getTechnology
()
->
getBasicLayers
()
)
{
uint16_t
gdsNumber
=
layer
->
getGds2Layer
();
uint16_t
gdsNumber
=
layer
->
getGds2Layer
();
if
(
gdsNumber
<
256
)
_gdsLayerTable
[
gdsNumber
]
=
layer
;
if
(
gdsNumber
<
1024
)
_gdsLayerTable
[
gdsNumber
]
=
layer
;
}
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment