diff options
Diffstat (limited to 'configs/example/ruby_network_test.py')
-rw-r--r-- | configs/example/ruby_network_test.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/configs/example/ruby_network_test.py b/configs/example/ruby_network_test.py index 74bdd5504..b6fdc416f 100644 --- a/configs/example/ruby_network_test.py +++ b/configs/example/ruby_network_test.py @@ -104,11 +104,14 @@ cpus = [ NetworkTest(fixed_pkts=options.fixed_pkts, # create the desired simulated system system = System(cpu = cpus, - physmem = SimpleMemory()) -system.clock = options.sys_clock + physmem = SimpleMemory(), + clk_domain = SrcClockDomain(clock = options.sys_clock)) Ruby.create_system(options, system) +# Create a seperate clock domain for Ruby +system.ruby.clk_domain = SrcClockDomain(clock = options.ruby_clock) + i = 0 for ruby_port in system.ruby._cpu_ruby_ports: # |