From dcc8f7d726620e7e2c7667fcff4c134c664971d9 Mon Sep 17 00:00:00 2001 From: David Li Date: Tue, 29 Dec 2015 14:36:49 -0700 Subject: Update test for new cache --- src/simulator.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/simulator.rs') diff --git a/src/simulator.rs b/src/simulator.rs index 2e7ddbd..55b2b41 100644 --- a/src/simulator.rs +++ b/src/simulator.rs @@ -75,7 +75,7 @@ impl RegisterFile { impl Simulator { pub fn new(num_cores: usize, binary: Binary) -> Simulator { - let memory = Memory::new(0x2000, binary); + let memory = Memory::new_from_binary(0x2000, binary); // TODO: initialize GP, registers (GP is in headers) Simulator { num_cores: num_cores, -- cgit v1.2.3