43a44
> #include "debug/RubyQueue.hh"
47a49,50
> #include "params/MessageBuffer.hh"
> #include "sim/sim_object.hh"
49c52
< class MessageBuffer
---
> class MessageBuffer : public SimObject
52c55,56
< MessageBuffer(const std::string &name = "");
---
> typedef MessageBufferParams Params;
> MessageBuffer(const Params *p);
54,58d57
< std::string name() const { return m_name; }
<
< void setRecycleLatency(Cycles recycle_latency)
< { m_recycle_latency = recycle_latency; }
<
80a80
> DPRINTF(RubyQueue, "Setting consumer: %s\n", *consumer);
90a91
> DPRINTF(RubyQueue, "Setting sender: %s\n", obj->name());
96a98
> DPRINTF(RubyQueue, "Setting receiver: %s\n", obj->name());
101,103d102
< void setDescription(const std::string& name) { m_name = name; }
< std::string getDescription() { return m_name;}
<
105a105,106
> bool getOrdered() { return m_strict_fifo; }
>
129,136d129
< void
< setOrdering(bool order)
< {
< m_strict_fifo = order;
< m_ordering_set = true;
< }
<
< void resize(unsigned int size) { m_max_size = size; }
138d130
< void setRandomization(bool random_flag) { m_randomization = random_flag; }
158a151,153
> //added by SS
> const Cycles m_recycle_latency;
>
162,164d156
< //added by SS
< Cycles m_recycle_latency;
<
179d170
< std::string m_name;
181c172
< unsigned int m_max_size;
---
> const unsigned int m_max_size;
198,200c189,190
< bool m_strict_fifo;
< bool m_ordering_set;
< bool m_randomization;
---
> const bool m_strict_fifo;
> const bool m_randomization;