memtest-ruby.py (8802:ef66a9083bc4) memtest-ruby.py (8808:8af87554ad7e)
1# Copyright (c) 2006-2007 The Regents of The University of Michigan
2# Copyright (c) 2010 Advanced Micro Devices, Inc.
3# All rights reserved.
4#
5# Redistribution and use in source and binary forms, with or without
6# modification, are permitted provided that the following conditions are
7# met: redistributions of source code must retain the above copyright
8# notice, this list of conditions and the following disclaimer;

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

101 ruby_port.deadlock_threshold = 1000000
102
103 #
104 # Ruby doesn't need the backing image of memory when running with
105 # the tester.
106 #
107 ruby_port.access_phys_mem = False
108
1# Copyright (c) 2006-2007 The Regents of The University of Michigan
2# Copyright (c) 2010 Advanced Micro Devices, Inc.
3# All rights reserved.
4#
5# Redistribution and use in source and binary forms, with or without
6# modification, are permitted provided that the following conditions are
7# met: redistributions of source code must retain the above copyright
8# notice, this list of conditions and the following disclaimer;

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

101 ruby_port.deadlock_threshold = 1000000
102
103 #
104 # Ruby doesn't need the backing image of memory when running with
105 # the tester.
106 #
107 ruby_port.access_phys_mem = False
108
109
110# Connect the system port for loading of binaries etc
111system.system_port = system.ruby._sys_port_proxy.port
112
113# -----------------------
114# run simulation
115# -----------------------
116
117root = Root(full_system = False, system = system)
118root.system.mem_mode = 'timing'
119
120# Not much point in this being higher than the L1 latency
121m5.ticks.setGlobalFrequency('1ns')
109# -----------------------
110# run simulation
111# -----------------------
112
113root = Root(full_system = False, system = system)
114root.system.mem_mode = 'timing'
115
116# Not much point in this being higher than the L1 latency
117m5.ticks.setGlobalFrequency('1ns')