internal HartEnvironment(Architecture architecture, IRegister register, IMemory memory, ICsrRegister csrRegister) { this.architecture = architecture; this.register = register; this.csrRegister = csrRegister; this.memory = memory; debugMode = DebugMode.Disabled; common = new Common(); currentState = State.Init; }
public void AssignCrs(ICsrRegister csrRegister) { this.csrRegister = csrRegister; }
public static IHartEnvironment Build(Architecture architecture, IRegister register, IMemory memory, ICsrRegister csrRegister) { return(new HartEnvironment(architecture, register, memory, csrRegister)); }
public OpCode64Id1C(IMemory memory, IRegister register, ICsrRegister csrRegister, ISystemNotifier environment) : base(memory, register) { this.csrRegister = csrRegister; this.environment = environment; }