Skip over BLOCKAGES section when reading DEF files
I'm seeing warnings when parsing a DEF with BLOCKAGES in it: DEF read, Line 572201 (Message): Unknown keyword "BLOCKAGES" in DEF file; ignoring. DEF read, Line 572202 (Message): Unknown keyword "-" in DEF file; ignoring. DEF read, Line 572205 (Error): END statement out of context. Skip over the section.
This commit is contained in:
parent
71fbcaca6e
commit
e30472d009
|
|
@ -1701,7 +1701,7 @@ enum def_sections {DEF_VERSION = 0, DEF_NAMESCASESENSITIVE,
|
|||
DEF_HISTORY, DEF_DIEAREA, DEF_COMPONENTS, DEF_VIAS,
|
||||
DEF_PINS, DEF_PINPROPERTIES, DEF_SPECIALNETS,
|
||||
DEF_NETS, DEF_IOTIMINGS, DEF_SCANCHAINS,
|
||||
DEF_CONSTRAINTS, DEF_GROUPS, DEF_EXTENSION,
|
||||
DEF_CONSTRAINTS, DEF_GROUPS, DEF_EXTENSION, DEF_BLOCKAGES,
|
||||
DEF_END};
|
||||
|
||||
void
|
||||
|
|
@ -1743,6 +1743,7 @@ DefRead(inName, dolabels)
|
|||
"CONSTRAINTS",
|
||||
"GROUPS",
|
||||
"BEGINEXT",
|
||||
"BLOCKAGES",
|
||||
"END",
|
||||
NULL
|
||||
};
|
||||
|
|
@ -1908,6 +1909,9 @@ DefRead(inName, dolabels)
|
|||
case DEF_EXTENSION:
|
||||
LefSkipSection(f, sections[DEF_EXTENSION]);
|
||||
break;
|
||||
case DEF_BLOCKAGES:
|
||||
LefSkipSection(f, sections[DEF_BLOCKAGES]);
|
||||
break;
|
||||
case DEF_END:
|
||||
if (!LefParseEndStatement(token, "DESIGN"))
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue