Ruby.py (8839:eeb293859255) Ruby.py (8923:820111f58fbb)
1# Copyright (c) 2012 ARM Limited
2# All rights reserved.
3#
4# The license below extends only to copyright in the software and shall
5# not be construed as granting a license to any other intellectual
6# property including but not limited to intellectual property relating
7# to a hardware implementation of the functionality of the software
8# licensed hereunder. You may use the software subject to the license

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

92 % protocol)
93 except:
94 print "Error: could not create sytem for ruby protocol %s" % protocol
95 raise
96
97 # Create a port proxy for connecting the system port. This is
98 # independent of the protocol and kept in the protocol-agnostic
99 # part (i.e. here).
1# Copyright (c) 2012 ARM Limited
2# All rights reserved.
3#
4# The license below extends only to copyright in the software and shall
5# not be construed as granting a license to any other intellectual
6# property including but not limited to intellectual property relating
7# to a hardware implementation of the functionality of the software
8# licensed hereunder. You may use the software subject to the license

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

92 % protocol)
93 except:
94 print "Error: could not create sytem for ruby protocol %s" % protocol
95 raise
96
97 # Create a port proxy for connecting the system port. This is
98 # independent of the protocol and kept in the protocol-agnostic
99 # part (i.e. here).
100 sys_port_proxy = RubyPortProxy(version = 0,
101 physMemPort = system.physmem.port,
102 physmem = system.physmem,
103 ruby_system = ruby)
100 sys_port_proxy = RubyPortProxy(ruby_system = ruby)
104 # Give the system port proxy a SimObject parent without creating a
105 # full-fledged controller
106 system.sys_port_proxy = sys_port_proxy
107
108 # Connect the system port for loading of binaries etc
109 system.system_port = system.sys_port_proxy.slave
110
111

--- 78 unchanged lines hidden ---
101 # Give the system port proxy a SimObject parent without creating a
102 # full-fledged controller
103 system.sys_port_proxy = sys_port_proxy
104
105 # Connect the system port for loading of binaries etc
106 system.system_port = system.sys_port_proxy.slave
107
108

--- 78 unchanged lines hidden ---