37 #include "debug/RubyNetwork.hh"
115 m_vcs[vc]->insertFlit(t_flit);
124 if (pipe_stages == 1) {
129 assert(pipe_stages > 1);
147 Credit *t_credit =
new Credit(in_vc, free_signal, curTime);
156 uint32_t num_functional_writes = 0;
158 num_functional_writes +=
m_vcs[
i]->functionalWrite(pkt);
161 return num_functional_writes;
Cycles is a wrapper class for representing cycle counts, i.e.
int route_compute(RouteInfo route, int inport, PortDirection direction)
void scheduleEventAbsolute(Tick timeAbs)
Cycles curCycle() const
Determine the current cycle, corresponding to a tick aligned to a clock edge.
Tick clockEdge(Cycles cycles=Cycles(0)) const
Determine the tick when a cycle begins, by default the current one, but the argument also enables the...
void schedule_wakeup(Cycles time)
std::string PortDirection
void deletePointers(C< T, A > &container)
A Packet is used to encapsulate a transfer between two objects in the memory system (e...
bool isReady(Cycles curTime)
void advance_stage(flit_stage t_stage, Cycles newTime)