Sequencer.py revision 6876
1from m5.params import *
2from MemObject import MemObject
3
4class RubyPort(MemObject):
5    type = 'RubyPort'
6    abstract = True
7    port = VectorPort("M5 port")
8    controller = Param.RubyController("")
9    version = Param.Int(0, "")
10
11class RubySequencer(RubyPort):
12    type = 'RubySequencer'
13    cxx_class = 'Sequencer'
14    icache = Param.RubyCache("")
15    dcache = Param.RubyCache("")
16    max_outstanding_requests = Param.Int(16,
17        "max requests (incl. prefetches) outstanding")
18    deadlock_threshold = Param.Int(500000,
19        "max outstanding cycles for a request before deadlock/livelock declared")
20    funcmem_port = Port("port to functional memory")
21
22class DMASequencer(RubyPort):
23    type = 'DMASequencer'
24