The necessary companion conversion of Ruby objects generated by SLICC are converted to M5 SimObjects in the following patch, so this patch alone does not compile. Conversion of Garnet network models is also handled in a separate patch; that code is temporarily disabled from compiling to allow testing of interim code.
14 lines
458 B
Python
14 lines
458 B
Python
from m5.params import *
|
|
from m5.SimObject import SimObject
|
|
|
|
class RubyController(SimObject):
|
|
type = 'RubyController'
|
|
cxx_class = 'AbstractController'
|
|
abstract = True
|
|
version = Param.Int("")
|
|
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")
|
|
recycle_latency = Param.Int(10, "")
|
|
number_of_TBEs = Param.Int(256, "")
|