|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbyucc.jhdl.base.Nameable
byucc.jhdl.base.Node
byucc.jhdl.base.Cell
byucc.jhdl.base.Structural
byucc.jhdl.Logic.LogicGates
byucc.jhdl.Logic.LogicStatic
byucc.jhdl.Logic.Logic
byucc.jhdl.Fsm.Fsm
Field Summary | |
protected FsmData |
fd
|
Fields inherited from class byucc.jhdl.Logic.Logic |
ABOVE, ALIGN_BOTTOM, ALIGN_CENTER, ALIGN_LEFT, ALIGN_LSB, ALIGN_MSB, ALIGN_RIGHT, ALIGN_TOP, BELOW, DOWN, EAST_OF, LEFT_OF, MAX_PACK, NORTH_OF, ON, ONTOP, ONTOP_OF, RIGHT_OF, SOUTH_OF, TOLEFT, TORIGHT, UNCONSTRAINED, UP, WEST_OF |
Fields inherited from class byucc.jhdl.Logic.LogicGates |
tech_mapper |
Constructor Summary | |
Fsm(Node parent)
This creates a new Fsm. |
|
Fsm(Node parent,
java.lang.String name)
This creates a new Fsm. |
Method Summary | |
void |
buildFsm(FsmData fsm_data)
|
void |
buildFsm(java.io.InputStream fsmInputStream)
|
void |
buildFsm(java.lang.String fsmFileName)
This is the method that parses and builds the FSM. |
void |
buildFsm(java.lang.String fsmFileName,
java.lang.Class referenceLocation)
This version of the buildFsm method allows the file configuration to be found within a JAR. |
void |
buildFsm(java.lang.String name,
java.io.InputStream fsmInputStream)
|
void |
buildFsmFromString(java.lang.String fsmContents)
|
void |
die(java.lang.String s)
Print error message and die |
Wire |
getCSWire()
|
FsmData |
getFsmData()
|
java.lang.String |
getFsmFileName()
|
static boolean |
getVerbosity()
Returns current verbosity setting. |
void |
initUserDefinedNode(UserDefinedNode udn)
|
void |
paint(UserDefinedNode udn)
|
static boolean |
setVerbose(boolean verbose)
Set the verbosity of output by the Fsm geneerator. |
Methods inherited from class byucc.jhdl.base.Node |
addObservable, addSimulatorCallback, checkAll, delete, getBuildingFlag, getChildren, getChildrenEnumeration, getInstanceName, getParent, getParentCell, getRelatives, getSystem, getWires, optimize, orphanAllowed, printAllChildren, printTree, removeSimulatorCallback, setDefaultClock |
Methods inherited from class byucc.jhdl.base.Nameable |
caseSensitivity, caseSensitivity, disableNameClashChecking, getFullName, getFullNameNoTestBench, getHierNameNoTestBench, getInstanceNo, getInstanceNumber, getLeafName, getLeafName, getRelativeName, getUserName, getUserName, hasUserSpecifiedName, isDescendantOf, setInstanceNumber |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected FsmData fd
Constructor Detail |
public Fsm(Node parent)
parent
- the parent of this cell in the JHDL hierarchypublic Fsm(Node parent, java.lang.String name)
parent
- the parent of this cell in the JHDL hierarchyname
- the name of this cell to be used in the JHDL hierarchyMethod Detail |
public void buildFsm(java.lang.String fsmFileName)
fsmFileName
- the name of the file which contains the FSM personality matrixpublic void buildFsm(java.lang.String fsmFileName, java.lang.Class referenceLocation)
fsmFileName
- the name of the file relative to the location
of the given class referenceLocationreferenceLocation
- usually this will be the subclass of
Fsm, it acts as a reference location to find the fsmFileName.public void buildFsm(java.lang.String name, java.io.InputStream fsmInputStream)
public void buildFsm(java.io.InputStream fsmInputStream)
public void buildFsmFromString(java.lang.String fsmContents)
public void buildFsm(FsmData fsm_data)
public Wire getCSWire()
public void die(java.lang.String s)
public FsmData getFsmData()
public java.lang.String getFsmFileName()
public static boolean setVerbose(boolean verbose)
verbose
- If true, output will be more verbose
public static boolean getVerbosity()
public void paint(UserDefinedNode udn)
paint
in interface UserDefinedSchematic
public void initUserDefinedNode(UserDefinedNode udn)
initUserDefinedNode
in interface UserDefinedSchematic
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |