All Packages Class Hierarchy This Package Previous Next Index
Class byucc.jhdl.Xilinx.Virtex.Memory
java.lang.Object
|
+----byucc.jhdl.base.Nameable
|
+----byucc.jhdl.base.Node
|
+----byucc.jhdl.base.Cell
|
+----byucc.jhdl.base.Structural
|
+----byucc.jhdl.Logic.Logic
|
+----byucc.jhdl.Xilinx.Virtex.Memory
- public abstract class Memory
- extends Logic
- implements MemoryInterface, ExternallyUpdateable
-
bitmasks
-
-
contents
-
-
Memory(Node)
-
-
Memory(Node, String)
-
-
defaultSimulationModelIsBehavioral()
-
-
getBits(String, int)
-
-
getMemoryElement(int)
-
-
getMemoryRange(int, int)
-
-
getMemoryWidth()
-
-
getSize()
-
-
hexString2bin(String)
-
-
init(String, int, int)
-
-
padBits(String, int, int)
-
-
read(int)
-
-
reset()
-
-
reverseBits(String)
-
-
splitBits(String, int, int)
-
-
updateState(int)
-
-
write(int, int)
-
bitmasks
public static final int bitmasks[]
contents
protected int contents
Memory
protected Memory(Node parent)
Memory
protected Memory(Node parent,
String username)
defaultSimulationModelIsBehavioral
protected boolean defaultSimulationModelIsBehavioral()
- Overrides:
- defaultSimulationModelIsBehavioral in class Structural
init
protected void init(String initial_state,
int width,
int length)
getMemoryRange
public BigInteger[] getMemoryRange(int sIndex,
int elements)
getMemoryElement
public BigInteger getMemoryElement(int addr)
getSize
public long getSize()
getMemoryWidth
public int getMemoryWidth()
read
protected int read(int addr)
write
protected void write(int addr,
int val)
padBits
public static String padBits(String s,
int width,
int depth)
splitBits
public static String[] splitBits(String s,
int width,
int depth)
getBits
public static byte[] getBits(String s,
int depth)
reverseBits
public static String reverseBits(String s)
hexString2bin
public static String hexString2bin(String h)
reset
public void reset()
- Overrides:
- reset in class Structural
updateState
public void updateState(int update_value)
All Packages Class Hierarchy This Package Previous Next Index