diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2012-01-15 09:15:10 -0800 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2012-01-15 09:15:10 -0800 |
commit | 1f0e5533dc32c8c3543dece554a148815c7d49c2 (patch) | |
tree | 2bc16805e6f2c2b3fc8fc53aca215c5b19caa76d /src/map/if/if.h | |
parent | 60a84f7350f6a4a07342c99fa28821574700a6bf (diff) | |
download | abc-1f0e5533dc32c8c3543dece554a148815c7d49c2.tar.gz abc-1f0e5533dc32c8c3543dece554a148815c7d49c2.tar.bz2 abc-1f0e5533dc32c8c3543dece554a148815c7d49c2.zip |
Several small bug fixes in the mapper.
Diffstat (limited to 'src/map/if/if.h')
-rw-r--r-- | src/map/if/if.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/if/if.h b/src/map/if/if.h index 85de7026..ea830065 100644 --- a/src/map/if/if.h +++ b/src/map/if/if.h @@ -51,7 +51,7 @@ ABC_NAMESPACE_HEADER_START // a very large number #define IF_INFINITY 100000000 // the largest possible user cut cost -#define IF_COST_MAX ((1<<14)-1) +#define IF_COST_MAX 8191 // ((1<<13)-1) // object types typedef enum { @@ -216,7 +216,7 @@ struct If_Cut_t_ float Power; // the power flow float Delay; // delay of the cut unsigned uSign; // cut signature - unsigned Cost : 13; // the user's cost of the cut + unsigned Cost : 13; // the user's cost of the cut (related to IF_COST_MAX) unsigned fCompl : 1; // the complemented attribute unsigned fUser : 1; // using the user's area and delay unsigned fUseless: 1; // using the user's area and delay |