Package avrora.core

Examples of avrora.core.Program


     */
    public static Program loadProgram(String[] args) throws Exception {
        Status.begin("Loading "+args[0]);
        ProgramReader reader = Defaults.getProgramReader(INPUT.get());
        reader.options.process(mainOptions);
        Program program = reader.read(args);
        Status.success();
        return program;
    }
View Full Code Here


            progName = props.getProperty("Program");
      interruptSched = props.getProperty("Interrupt-schedule");
        }

        public void run() throws Exception {
            Program p = Main.loadProgram(new String[] { progName });
            Simulator s = Defaults.newSimulator(0, p);
      new InterruptScheduler(interruptSched, s);
            probeTest.run(s);
        }
View Full Code Here

            probeTest = p.ProbeTest();
            progName = props.getProperty("Program");
        }

        public void run() throws Exception {
            Program p = Main.loadProgram(new String[] { progName });
            Simulator s = Defaults.newSimulator(0, p);
            probeTest.run(s);
        }
View Full Code Here

    public ISEAAction() {
        super("This action invokes the inter-procedural side-effect analysis tool.");
    }

    public void run(String[] args) throws Exception {
        Program p = Main.loadProgram(args);
        ISEAnalyzer a = new ISEAnalyzer(p);
        if ( !"".equals(START.get())) {
            SourceMapping.Location location = p.getSourceMapping().getLocation(START.get());
            if ( location == null )
                Avrora.userError("Cannot find program location "+START.get());
            a.analyze(location.address);
        } else {
            a.analyze();
View Full Code Here

TOP

Related Classes of avrora.core.Program

Copyright © 2018 www.massapicom. 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.