Class Gem5Wrapper

    • Field Detail

      • init

        public PortParameter init
        The value produced by the ramp on its first iteration. If this value is changed during execution, then the new value will be the output on the next iteration. The default value of this parameter is the integer 0.
      • pipePathPrefix

        public StringParameter pipePathPrefix
        The prefix of the file path for the pipe used for communicating with gem5 simulator.
      • step

        public PortParameter step
        The amount by which the ramp output is incremented on each iteration. The default value of this parameter is the integer 1.
    • Constructor Detail

      • Gem5Wrapper

        public Gem5Wrapper​(CompositeEntity container,
                           java.lang.String name)
                    throws NameDuplicationException,
                           IllegalActionException
        Construct an actor with the given container and name. In addition to invoking the base class constructors, construct the init and step parameter and the step port. Initialize init to IntToken with value 0, and step to IntToken with value 1.
        Parameters:
        container - The container.
        name - The name of this actor.
        Throws:
        IllegalActionException - If the actor cannot be contained by the proposed container.
        NameDuplicationException - If the container already has an actor with this name.