|
||||||||||
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.concurrent.ConcurrentStatement
de.upb.hni.vmagic.concurrent.AbstractPostponableConcurrentStatement
de.upb.hni.vmagic.concurrent.EntityStatement
de.upb.hni.vmagic.concurrent.AbstractProcessStatement
de.upb.hni.vmagic.highlevel.Register
public class Register
Register.
Nested Class Summary | |
---|---|
static class |
Register.ResetLevel
Register reset level. |
static class |
Register.ResetType
Register reset type. |
Constructor Summary | |
---|---|
Register(Signal input,
Signal output,
Signal clock)
Creates a register with input, output and clock. |
|
Register(Signal input,
Signal output,
Signal clock,
Signal reset)
Creates a register with input, output, clock and reset. |
|
Register(java.lang.String identifier,
Signal input,
Signal output,
Signal clock)
Creates a named register with input, output and clock. |
|
Register(java.lang.String identifier,
Signal input,
Signal output,
Signal clock,
Signal reset)
Creates a named register with input, output, clock and reset. |
Method Summary | |
---|---|
Signal |
getClock()
Returns the clock signal. |
java.util.List<ProcessDeclarativeItem> |
getDeclarations()
Returns the declarations. |
Signal |
getInput()
Returns the input signal. |
Signal |
getOutput()
Returns the output signal. |
Signal |
getReset()
Returns the reset signal. |
Expression |
getResetExpression()
Returns the reset expression. |
Register.ResetLevel |
getResetLevel()
Returns the reset level. |
Register.ResetType |
getResetType()
Returns the reset type. |
java.util.List<Signal> |
getSensitivityList()
Returns the sensitivity list. |
java.util.List<SequentialStatement> |
getStatements()
Returns the statements. |
Signal |
getWriteEnable()
Returns the write enable signal. |
void |
setClock(Signal clock)
Sets the clock signal. |
void |
setInput(Signal input)
Sets the input signal. |
void |
setOutput(Signal output)
Sets the output signal. |
void |
setReset(Signal reset)
Sets the reset signal. |
void |
setResetExpression(Expression resetExpression)
Sets the reset expression. |
void |
setResetLevel(Register.ResetLevel resetLevel)
Sets the reset level |
void |
setResetType(Register.ResetType resetType)
Sets the reset type. |
void |
setWriteEnable(Signal writeEnable)
Sets the write enable signal. |
Methods inherited from class de.upb.hni.vmagic.concurrent.AbstractProcessStatement |
---|
getScope |
Methods inherited from class de.upb.hni.vmagic.concurrent.AbstractPostponableConcurrentStatement |
---|
isPostponed, setPostponed |
Methods inherited from class de.upb.hni.vmagic.concurrent.ConcurrentStatement |
---|
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 Register(Signal input, Signal output, Signal clock)
input
- the input signaloutput
- the output signalclock
- the clock signalpublic Register(java.lang.String identifier, Signal input, Signal output, Signal clock)
identifier
- the identifierinput
- the input signaloutput
- the output signalclock
- the clock signalpublic Register(Signal input, Signal output, Signal clock, Signal reset)
input
- the input signaloutput
- the output signalclock
- the clock signalreset
- the reset signalpublic Register(java.lang.String identifier, Signal input, Signal output, Signal clock, Signal reset)
identifier
- the identifierinput
- the input signaloutput
- the output signalclock
- the clock signalreset
- the reset signalMethod Detail |
---|
public Signal getClock()
public void setClock(Signal clock)
clock
- the clock signalpublic Signal getInput()
public void setInput(Signal input)
input
- the input signalpublic Signal getOutput()
public void setOutput(Signal output)
output
- the output signalpublic Signal getWriteEnable()
public void setWriteEnable(Signal writeEnable)
writeEnable
- the write enable signalpublic Signal getReset()
public void setReset(Signal reset)
reset
- the reset signalpublic Expression getResetExpression()
public void setResetExpression(Expression resetExpression)
resetExpression
- the reset expressionpublic Register.ResetType getResetType()
public void setResetType(Register.ResetType resetType)
resetType
- the reset typepublic Register.ResetLevel getResetLevel()
public void setResetLevel(Register.ResetLevel resetLevel)
resetLevel
- the reset levelpublic java.util.List<Signal> getSensitivityList()
AbstractProcessStatement
getSensitivityList
in class AbstractProcessStatement
public java.util.List<ProcessDeclarativeItem> getDeclarations()
AbstractProcessStatement
getDeclarations
in class AbstractProcessStatement
public java.util.List<SequentialStatement> getStatements()
AbstractProcessStatement
getStatements
in class AbstractProcessStatement
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |