diff options
Diffstat (limited to 'src/mem/ruby/slicc_interface')
-rw-r--r-- | src/mem/ruby/slicc_interface/AbstractController.hh | 2 | ||||
-rw-r--r-- | src/mem/ruby/slicc_interface/Controller.py | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/mem/ruby/slicc_interface/AbstractController.hh b/src/mem/ruby/slicc_interface/AbstractController.hh index d6ba928fd..4ef3f328b 100644 --- a/src/mem/ruby/slicc_interface/AbstractController.hh +++ b/src/mem/ruby/slicc_interface/AbstractController.hh @@ -146,7 +146,7 @@ class AbstractController : public ClockedObject, public Consumer unsigned int m_cur_in_port; int m_number_of_TBEs; int m_transitions_per_cycle; - int m_buffer_size; + unsigned int m_buffer_size; Cycles m_recycle_latency; //! Map from physical network number to the Message Buffer. diff --git a/src/mem/ruby/slicc_interface/Controller.py b/src/mem/ruby/slicc_interface/Controller.py index 638d50b61..f82e0a70d 100644 --- a/src/mem/ruby/slicc_interface/Controller.py +++ b/src/mem/ruby/slicc_interface/Controller.py @@ -40,7 +40,8 @@ class RubyController(ClockedObject): transitions_per_cycle = \ Param.Int(32, "no. of SLICC state machine transitions per cycle") - buffer_size = Param.Int(0, "max buffer size 0 means infinite") + buffer_size = Param.UInt32(0, "max buffer size 0 means infinite") + recycle_latency = Param.Cycles(10, "") number_of_TBEs = Param.Int(256, "") ruby_system = Param.RubySystem("") |