summaryrefslogtreecommitdiff
path: root/src/intersim/flit.cpp
blob: 8ec248b5807281da84465a4116dea4891b7c32d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#include "booksim.hpp"
#include "flit.hpp"

ostream& operator<<( ostream& os, const Flit& f )
{
   os << "  Flit ID: " << f.id << " (" << &f << ")" 
   << " Head: " << f.head << " Tail: " << f.tail << endl;
   os << "  Source : " << f.src << "  Dest : " << f.dest << endl;
   os << "  Injection time : " << f.time << endl;

   return os;
}