[core] syntax
This commit is contained in:
parent
717906ea17
commit
b8c66b06a0
|
@ -69,9 +69,9 @@ void compress_routing_hierarchy_template(T& openfpga_ctx,
|
||||||
"Detected %lu unique switch blocks from a total of %d (compression "
|
"Detected %lu unique switch blocks from a total of %d (compression "
|
||||||
"rate=%.2f%)\n",
|
"rate=%.2f%)\n",
|
||||||
openfpga_ctx.device_rr_gsb().get_num_sb_unique_module(),
|
openfpga_ctx.device_rr_gsb().get_num_sb_unique_module(),
|
||||||
find_device_rr_gsb_num_sb_modules(openfpga_ctx.device_rr_gsb()),
|
find_device_rr_gsb_num_sb_modules(openfpga_ctx.device_rr_gsb(), g_vpr_ctx.device().rr_graph),
|
||||||
100. *
|
100. *
|
||||||
((float)find_device_rr_gsb_num_sb_modules(openfpga_ctx.device_rr_gsb()) /
|
((float)find_device_rr_gsb_num_sb_modules(openfpga_ctx.device_rr_gsb(), g_vpr_ctx.device().rr_graph) /
|
||||||
(float)openfpga_ctx.device_rr_gsb().get_num_sb_unique_module() -
|
(float)openfpga_ctx.device_rr_gsb().get_num_sb_unique_module() -
|
||||||
1.));
|
1.));
|
||||||
|
|
||||||
|
@ -79,9 +79,9 @@ void compress_routing_hierarchy_template(T& openfpga_ctx,
|
||||||
"Detected %lu unique general switch blocks from a total of %d (compression "
|
"Detected %lu unique general switch blocks from a total of %d (compression "
|
||||||
"rate=%.2f%)\n",
|
"rate=%.2f%)\n",
|
||||||
openfpga_ctx.device_rr_gsb().get_num_gsb_unique_module(),
|
openfpga_ctx.device_rr_gsb().get_num_gsb_unique_module(),
|
||||||
find_device_rr_gsb_num_gsb_modules(openfpga_ctx.device_rr_gsb()),
|
find_device_rr_gsb_num_gsb_modules(openfpga_ctx.device_rr_gsb(), g_vpr_ctx.device().rr_graph),
|
||||||
100. *
|
100. *
|
||||||
((float)find_device_rr_gsb_num_gsb_modules(openfpga_ctx.device_rr_gsb()) /
|
((float)find_device_rr_gsb_num_gsb_modules(openfpga_ctx.device_rr_gsb(), g_vpr_ctx.device().rr_graph) /
|
||||||
(float)openfpga_ctx.device_rr_gsb().get_num_gsb_unique_module() -
|
(float)openfpga_ctx.device_rr_gsb().get_num_gsb_unique_module() -
|
||||||
1.));
|
1.));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue