/* StockRamArea.java (c) 2008-2013 Edward Swartz All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html */ package v9t9.engine.memory; /** * This is RAM intended for testing purposes. Its latency is 0 and it allows * full-speed uninterpreted reads and writes everywhere. * @author ejs * */ public class StockRamArea extends WordMemoryArea { public StockRamArea(int size) { super(0); memory = new short[size]; read = memory; write = memory; } }