diff options
author | Tim Edwards <tim@opencircuitdesign.com> | 2016-02-27 11:22:51 -0500 |
---|---|---|
committer | Tim Edwards <tim@opencircuitdesign.com> | 2016-02-27 11:22:51 -0500 |
commit | 8c265c05dc1dd931083be65d3918c421739dfe8c (patch) | |
tree | 20cdcedfeba18c4eb709eddef3ae80988e6da0bb /qconfig.c | |
parent | 09b70dccaac4db258de0ec9a4cb896472f6ce2e5 (diff) |
Corrected problem with offset vias causing offset route segments.
Also started an implementation of stage3 (cleanup) routing, not
finished yet.
Diffstat (limited to 'qconfig.c')
-rw-r--r-- | qconfig.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -55,6 +55,7 @@ int JogCost = 10; // Cost of 1 grid off-direction jog int XverCost = 4; // Cost of a crossover int BlockCost = 25; // Cost of a crossover when node has // only one tap point +int OffsetCost = 50; // Cost per micron of a node offset int ConflictCost = 50; // Cost of shorting another route // during the rip-up and reroute stage @@ -291,6 +292,9 @@ int read_config(FILE *fconfig, int is_info) OK = 1; XverCost = iarg; } + if ((i = sscanf(lineptr, "route offset cost %d", &iarg)) == 1) { + OK = 1; OffsetCost = iarg; + } if ((i = sscanf(lineptr, "route block cost %d", &iarg)) == 1) { OK = 1; BlockCost = iarg; } |