|
|||||||||||
| 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.CL
byucc.jhdl.base.ClockDriver
byucc.jhdl.base.DynamicClockDriver
Class used to create clock drivers. User's specify the schedule for the clock driver using a String of 1s and 0s.
| Field Summary |
| Constructor Summary | |
protected |
DynamicClockDriver(Node parent,
Wire clock_wire,
boolean rising,
java.lang.String name)
Main constructor for class. |
| Method Summary | |
java.lang.String |
getCellName()
The name of this cell |
protected int |
getScheduledValue(int schedule_index)
Returns the integer value for the ClockDriver for that time index of its schedule. |
Wire |
getWatchedWire()
Returns the watched wire of this dynamic driver |
boolean |
needsToBeAsynchronouslyScheduled()
Because this is currently a CL -- may change in the future (probably). |
protected boolean |
postorderCheck()
Used to check validity of this cell after recursing down. |
protected boolean |
preorderCheck()
These two functions exist to allow this cell not to be bothered by netlisting. |
void |
propagate()
Propagates the wire - this does nothing |
| Methods inherited from class byucc.jhdl.base.ClockDriver |
determineSchedule, getSchedule, portMayBeUndriven, toString |
| Methods inherited from class byucc.jhdl.base.CL |
behavioralModelIsAvailable, defaultSimulationModelIsBehavioral, hasBeenTraced, hasBeenTraced, hasBehaviorInClockMethod, hasBehaviorInPropagateMethod, isAsynchronouslyScheduled, isAsynchronouslyScheduled, isReadyToBeAsynchronouslyScheduled |
| Methods inherited from class byucc.jhdl.base.Node |
addObservable, addSimulatorCallback, checkAll, delete, getBuildingFlag, getChildren, getChildrenEnumeration, getDefaultClock, 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 |
| Constructor Detail |
protected DynamicClockDriver(Node parent,
Wire clock_wire,
boolean rising,
java.lang.String name)
parent - the parent of the clock driver.clock_wire - the wire to watchname - the name of the clock driver.| Method Detail |
public java.lang.String getCellName()
getCellName in class Cellprotected int getScheduledValue(int schedule_index)
getScheduledValue in class ClockDriverschedule_index - indicates what point of the schedule you are interested in.
protected boolean preorderCheck()
preorderCheck in class ClockDriverCell#checkAllNodes().protected boolean postorderCheck()
Cell
postorderCheck in class CellNode#checkAllNodes().public boolean needsToBeAsynchronouslyScheduled()
needsToBeAsynchronouslyScheduled in interface byucc.jhdl.base.PropagateableneedsToBeAsynchronouslyScheduled in class ClockDriverpublic Wire getWatchedWire()
public void propagate()
propagate in interface byucc.jhdl.base.Propagateablepropagate in class ClockDriver
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||