We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c4c8f95 commit bf3f72cCopy full SHA for bf3f72c
vpr/src/pack/pack.cpp
@@ -480,9 +480,7 @@ static void get_intercluster_switch_fanin_estimates(const t_arch& arch,
480
*/
481
482
/* Fan-in to opin/ipin/wire switches depends on whether the architecture is unidirectional/bidirectional */
483
- // FIXME This line may have precision issues. Should 2 and 4 be floats?
484
- // This should also use parenthesis to make it more clear what each term means.
485
- (*opin_switch_fanin) = 2 * type->num_drivers / 4 * Fc_out;
+ (*opin_switch_fanin) = 2.f * type->num_drivers / 4.f * Fc_out;
486
(*wire_switch_fanin) = routing_arch.Fs;
487
(*ipin_switch_fanin) = Fc_in;
488
if (routing_arch.directionality == UNI_DIRECTIONAL) {
0 commit comments