Closed cai-zhi-jie closed 8 months ago
Besides, the unsigned type capacity will also lead to 0 capacity when the actual capacity is a float number, which may be a bug.
Thanks for pointing out the bugs! We will update the cap files to make sure all the capacity values are ints.
Vias passing through a grid cell take a fractional amount of demand from the borders. I'd suggest making the capacity in the evaluator a float, so that the cost functions and routing problems could model things like incremental routing (where some routes and via locations are fixed -- resulting in fractional remaining capacity on the routing grid).
That's a good point! We will make the capacity in the evaluator a float instead. Thanks for the great suggestion!
In the cap file, there is a float capacity:
But in the evaluator, the Gcell takes the capacity as unsigned int:
Is there a contradiction here?