Package net.javajigi.adder.action

Examples of net.javajigi.adder.action.ProbeAction.action()


  }
 
  @Test
  public void run() throws Exception {
    Action sumProbe = new ProbeAction("sum", sum, simulation);
    sumProbe.action();
   
    Action carryProbe = new ProbeAction("carry", carry, simulation);
    carryProbe.action();
   
    simulation.halfAdder(input1, input2, sum, carry);
View Full Code Here


  public void run() throws Exception {
    Action sumProbe = new ProbeAction("sum", sum, simulation);
    sumProbe.action();
   
    Action carryProbe = new ProbeAction("carry", carry, simulation);
    carryProbe.action();
   
    simulation.halfAdder(input1, input2, sum, carry);
    input1.setSigVal(true);
    simulation.run();
   
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.