Configs: Use connectAllPorts to connect ports for simple-timing-ruby.
authorGabe Black <gblack@eecs.umich.edu>
Sun, 9 Oct 2011 06:24:34 +0000 (23:24 -0700)
committerGabe Black <gblack@eecs.umich.edu>
Sun, 9 Oct 2011 06:24:34 +0000 (23:24 -0700)
tests/configs/simple-timing-ruby.py

index 1d67f6f976a6d4b9cc1780af7d114f59779280af..d03b8606887bb6994318866795d97a8893b919ee 100644 (file)
@@ -82,8 +82,7 @@ assert(len(system.ruby._cpu_ruby_ports) == 1)
 # Tie the cpu cache ports to the ruby cpu ports and
 # physmem, respectively
 #
-cpu.icache_port = system.ruby._cpu_ruby_ports[0].port
-cpu.dcache_port = system.ruby._cpu_ruby_ports[0].port
+cpu.connectAllPorts(system.ruby._cpu_ruby_ports[0])
 
 # -----------------------
 # run simulation