Sequencer.py (8706:b1838faf3bcc) Sequencer.py (8839:eeb293859255)
1# Copyright (c) 2009 Advanced Micro Devices, Inc.
2# All rights reserved.
3#
4# Redistribution and use in source and binary forms, with or without
5# modification, are permitted provided that the following conditions are
6# met: redistributions of source code must retain the above copyright
7# notice, this list of conditions and the following disclaimer;
8# redistributions in binary form must reproduce the above copyright

--- 20 unchanged lines hidden (view full) ---

29
30from m5.params import *
31from m5.proxy import *
32from MemObject import MemObject
33
34class RubyPort(MemObject):
35 type = 'RubyPort'
36 abstract = True
1# Copyright (c) 2009 Advanced Micro Devices, Inc.
2# All rights reserved.
3#
4# Redistribution and use in source and binary forms, with or without
5# modification, are permitted provided that the following conditions are
6# met: redistributions of source code must retain the above copyright
7# notice, this list of conditions and the following disclaimer;
8# redistributions in binary form must reproduce the above copyright

--- 20 unchanged lines hidden (view full) ---

29
30from m5.params import *
31from m5.proxy import *
32from MemObject import MemObject
33
34class RubyPort(MemObject):
35 type = 'RubyPort'
36 abstract = True
37 port = VectorPort("M5 port")
37 slave = VectorSlavePort("CPU slave port")
38 master = VectorMasterPort("CPU master port")
38 version = Param.Int(0, "")
39 version = Param.Int(0, "")
39 pio_port = Port("Ruby_pio_port")
40 pio_port = MasterPort("Ruby_pio_port")
40 physmem = Param.PhysicalMemory("")
41 physmem = Param.PhysicalMemory("")
41 physMemPort = Port("port to physical memory")
42 physMemPort = MasterPort("port to physical memory")
42 using_ruby_tester = Param.Bool(False, "")
43 using_network_tester = Param.Bool(False, "")
44 access_phys_mem = Param.Bool(True,
45 "should the rubyport atomically update phys_mem")
46 ruby_system = Param.RubySystem("")
47
48class RubyPortProxy(RubyPort):
49 type = 'RubyPortProxy'

--- 13 unchanged lines hidden ---
43 using_ruby_tester = Param.Bool(False, "")
44 using_network_tester = Param.Bool(False, "")
45 access_phys_mem = Param.Bool(True,
46 "should the rubyport atomically update phys_mem")
47 ruby_system = Param.RubySystem("")
48
49class RubyPortProxy(RubyPort):
50 type = 'RubyPortProxy'

--- 13 unchanged lines hidden ---