Search in sources :

Example 6 with HDLNet

use of de.neemann.digital.hdl.model2.HDLNet in project Digital by hneemann.

the class HDLNodeAssignment method replaceNet.

@Override
public void replaceNet(HDLNet oldNet, HDLNet newNet) {
    super.replaceNet(oldNet, newNet);
    expression.replace(oldNet, new ExprVar(newNet));
}
Also used : ExprVar(de.neemann.digital.hdl.model2.expression.ExprVar)

Aggregations

ExprVar (de.neemann.digital.hdl.model2.expression.ExprVar)2 ElementAttributes (de.neemann.digital.core.element.ElementAttributes)1 Splitter (de.neemann.digital.core.wiring.Splitter)1 HDLNet (de.neemann.digital.hdl.model2.HDLNet)1 HDLNode (de.neemann.digital.hdl.model2.HDLNode)1 HDLPort (de.neemann.digital.hdl.model2.HDLPort)1 ExprConstant (de.neemann.digital.hdl.model2.expression.ExprConstant)1 ExprNot (de.neemann.digital.hdl.model2.expression.ExprNot)1 ExprVarRange (de.neemann.digital.hdl.model2.expression.ExprVarRange)1 Expression (de.neemann.digital.hdl.model2.expression.Expression)1 ArrayList (java.util.ArrayList)1 HashSet (java.util.HashSet)1