diff options
author | Nilay Vaish <nilay@cs.wisc.edu> | 2014-03-01 23:59:57 -0600 |
---|---|---|
committer | Nilay Vaish <nilay@cs.wisc.edu> | 2014-03-01 23:59:57 -0600 |
commit | 67cd04b6fefd74e1f7c2da33f70d13af2a40fabb (patch) | |
tree | 52c34088aa291416aa37d5bd6f1789352d41a8ea /src/mem/ruby/slicc_interface | |
parent | 919baa603d0b835c3202f9968a617a31f9116549 (diff) | |
download | gem5-67cd04b6fefd74e1f7c2da33f70d13af2a40fabb.tar.xz |
ruby: make the max_size variable of the MessageBuffer unsigned
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("") |