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.
2 parents b6094d4 + 93eed6a commit 113655fCopy full SHA for 113655f
vpr/src/pack/sync_netlists_to_routing_flat.cpp
@@ -367,10 +367,7 @@ static void sync_clustered_netlist_to_routing(void){
367
* be under this OPIN, so this is valid (we don't need to get the branch explicitly) */
368
if(node_type == OPIN){
369
std::string net_name;
370
- if(clb_nets_so_far == 0)
371
- net_name = atom_ctx.nlist.net_name(parent_net_id);
372
- else
373
- net_name = atom_ctx.nlist.net_name(parent_net_id) + "_" + std::to_string(clb_nets_so_far);
+ net_name = atom_ctx.nlist.net_name(parent_net_id) + "_" + std::to_string(clb_nets_so_far);
374
clb_net_id = clb_netlist.create_net(net_name);
375
atom_lookup.add_atom_clb_net(atom_net_id, clb_net_id);
376
clb_nets_so_far++;
0 commit comments