byucc.jhdl.platforms.util
Class MemoryFileParser
java.lang.Object
byucc.jhdl.platforms.util.MemoryFileParser
- public class MemoryFileParser
- extends java.lang.Object
Method Summary |
static void |
parseMemoryFile(java.lang.String filename,
int memoryWidth,
int addressBits,
MemoryFileParserInterface output,
java.io.PrintWriter pw,
int maxReportedErrors)
Loads memory from a file. |
protected static boolean |
parseMemoryFile(java.lang.String filename,
int memoryWidth,
int addressBits,
MemoryFileParserInterface output,
java.io.PrintWriter pw,
int maxReportedErrors,
boolean parseOnly)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MemoryFileParser
public MemoryFileParser()
parseMemoryFile
public static void parseMemoryFile(java.lang.String filename,
int memoryWidth,
int addressBits,
MemoryFileParserInterface output,
java.io.PrintWriter pw,
int maxReportedErrors)
- Loads memory from a file. The format is as follows:
- Parameters:
filename
- Name of the file to load.memoryWidth
- Width of the memory which the data will be loaded in.addressBits
- Width of the address line to the destination memory.output
- Object which will get the parser callbacks.
parseMemoryFile
protected static boolean parseMemoryFile(java.lang.String filename,
int memoryWidth,
int addressBits,
MemoryFileParserInterface output,
java.io.PrintWriter pw,
int maxReportedErrors,
boolean parseOnly)
Copyright ? 2006 Brigham Young University, Configurable Computing Laboratory. All Rights Reserved.