Skip to content

Commit 29cc58d

Browse files
Merge pull request #3172 from AlexandreSinger/feature-netlist-writer
[NetlistWriter] Fixed Failing Nightly Test
2 parents bcf74d0 + 0e919c1 commit 29cc58d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vpr/src/base/netlist_writer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1551,7 +1551,7 @@ class NetlistWriterVisitor : public NetlistVisitor {
15511551

15521552
if (port_class == "clock") {
15531553
VTR_ASSERT(pb_graph_node->num_clock_pins[iport] == 1); //Expect a single clock pin
1554-
input_port_conns["clock"].push_back(net);
1554+
input_port_conns[port->name].push_back(net);
15551555
} else {
15561556
VPR_FATAL_ERROR(VPR_ERROR_IMPL_NETLIST_WRITER,
15571557
"Unrecognized input port class '%s' for primitive '%s' (%s)\n", port_class.c_str(), atom->name, pb_type->name);

0 commit comments

Comments
 (0)