|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.upb.hni.vmagic.VhdlElement
de.upb.hni.vmagic.LabeledElement
de.upb.hni.vmagic.statement.SequentialStatement
de.upb.hni.vmagic.statement.WaitStatement
public class WaitStatement
Wait statement.
Signal clk = new Signal("CLK", StdLogic1164.STD_LOGIC); WaitStatement statement = new WaitStatement(Expressions.risingEdge(clk));
wait for CLK'EVENT and CLK = '1';
Constructor Summary | |
---|---|
WaitStatement()
Creates a wait statement. |
|
WaitStatement(Expression timeout)
Creates a wait statement with timeout expression. |
|
WaitStatement(Expression condition,
Expression timeout)
Creates a wait statement with condition and timeout expression. |
|
WaitStatement(java.util.List<Signal> sensitivityList)
Create a wait statement with a sensitivity list. |
|
WaitStatement(Signal... sensitivityList)
Create a wait statement with a sensitivity list. |
Method Summary | |
---|---|
Expression |
getCondition()
Returns the condition. |
java.util.List<Signal> |
getSensitivityList()
Returns the sensitivity list. |
Expression |
getTimeout()
Returns the timeout expression. |
void |
setCondition(Expression condition)
Sets the condition. |
void |
setTimeout(Expression timeout)
Sets the timeout expression. |
Methods inherited from class de.upb.hni.vmagic.statement.SequentialStatement |
---|
getLabel, setLabel |
Methods inherited from class de.upb.hni.vmagic.VhdlElement |
---|
getParent, setParent |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WaitStatement()
public WaitStatement(Signal... sensitivityList)
sensitivityList
- the sensitivity listpublic WaitStatement(java.util.List<Signal> sensitivityList)
sensitivityList
- the sensitivity listpublic WaitStatement(Expression timeout)
timeout
- the timeout expressionpublic WaitStatement(Expression condition, Expression timeout)
condition
- the condtiontimeout
- the timeout expressionMethod Detail |
---|
public java.util.List<Signal> getSensitivityList()
public Expression getCondition()
null
if no condtion is setpublic void setCondition(Expression condition)
condition
- the condition or null
to remove conditionpublic Expression getTimeout()
null
if no timeout is setpublic void setTimeout(Expression timeout)
timeout
- the timeout expression or null
to remove timeout
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |