Skip to content

Commit b347963

Browse files
author
Jan Moritz Joseph
committed
cosmetrics
1 parent 0118e94 commit b347963

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

simulator/src/model/router/RouterVC.cpp

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,6 @@ void RouterVC::initialize()
103103
void RouterVC::thread()
104104
{
105105
if (clk.posedge()) {
106-
//route();
107-
// key: connection position of output, value: the requesting inputs.
108106
send();
109107

110108
std::map<int, std::vector<Channel>> switch_requests = switchAllocation_generateRequests();
@@ -403,10 +401,6 @@ void RouterVC::receiveFlowControlCredit()
403401
}
404402
}
405403

406-
RouterVC::~RouterVC()
407-
{
408-
}
409-
410404
int RouterVC::VCAllocation_getNextVCToBeAllocated(int in, std::map<int, int> inputVCPtr)
411405
{
412406
auto vcs = generateVCsFromPtr(in, inputVCPtr);
@@ -454,3 +448,7 @@ std::vector<int> RouterVC::generateVCsFromPtr(int direction, std::map<int, int>
454448
std::for_each(vcs.begin(), vcs.end(), [&vcCount](int& vc) { vc = vc%vcCount; });
455449
return vcs;
456450
}
451+
452+
RouterVC::~RouterVC()
453+
{
454+
}

0 commit comments

Comments
 (0)