Skip to content

Commit

Permalink
Added vc in traffic local
Browse files Browse the repository at this point in the history
  • Loading branch information
davidepatti committed Nov 12, 2018
1 parent 5976d4d commit 5801937
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ProcessingElement.cpp
Expand Up @@ -189,9 +189,9 @@ Packet ProcessingElement::trafficLocal()
p.dst_id = dst_set[i_rnd];
p.timestamp = sc_time_stamp().to_double() / GlobalParams::clock_period_ps;
p.size = p.flit_left = getRandomSize();

p.vc_id = randInt(0,GlobalParams::n_virtual_channels-1);

return p;

}


Expand Down

0 comments on commit 5801937

Please sign in to comment.