Added the handling of SHAPE statements in NET records in the DEF

file read routine.
This commit is contained in:
Tim Edwards 2019-07-02 10:48:34 -04:00
parent 5bd3fb91c9
commit 95ca3d93cc
1 changed files with 7 additions and 3 deletions

View File

@ -431,8 +431,8 @@ endCoord:
enum def_net_keys {DEF_NET_START = 0, DEF_NET_END}; enum def_net_keys {DEF_NET_START = 0, DEF_NET_END};
enum def_netprop_keys { enum def_netprop_keys {
DEF_NETPROP_USE = 0, DEF_NETPROP_ROUTED, DEF_NETPROP_FIXED, DEF_NETPROP_USE = 0, DEF_NETPROP_ROUTED, DEF_NETPROP_FIXED,
DEF_NETPROP_COVER, DEF_NETPROP_SOURCE, DEF_NETPROP_WEIGHT, DEF_NETPROP_COVER, DEF_NETPROP_SOURCE, DEF_NETPROP_SHAPE,
DEF_NETPROP_PROPERTY}; DEF_NETPROP_WEIGHT, DEF_NETPROP_PROPERTY};
void void
DefReadNets(f, rootDef, sname, oscale, special, total) DefReadNets(f, rootDef, sname, oscale, special, total)
@ -460,6 +460,7 @@ DefReadNets(f, rootDef, sname, oscale, special, total)
"FIXED", "FIXED",
"COVER", "COVER",
"SOURCE", "SOURCE",
"SHAPE",
"WEIGHT", "WEIGHT",
"PROPERTY", "PROPERTY",
NULL NULL
@ -516,7 +517,10 @@ DefReadNets(f, rootDef, sname, oscale, special, total)
switch (subkey) switch (subkey)
{ {
case DEF_NETPROP_USE: case DEF_NETPROP_USE:
/* Presently, we ignore this */ case DEF_NETPROP_SHAPE:
/* Presently, we ignore this, except to */
/* absorb the following value. */
token = LefNextToken(f, TRUE);
break; break;
case DEF_NETPROP_ROUTED: case DEF_NETPROP_ROUTED:
case DEF_NETPROP_FIXED: case DEF_NETPROP_FIXED: